fix stream

This commit is contained in:
Awni Hannun 2024-11-05 17:04:46 -08:00
parent 0be87b3c53
commit f5cd03c64d

View File

@ -35,8 +35,7 @@ MODEL_REMAPPING = {
MAX_FILE_SIZE_GB = 5
# A stream on the default device just for generation
# generation_stream = mx.new_stream(mx.default_device())
generation_stream = mx.default_stream(mx.default_device())
generation_stream = mx.new_stream(mx.default_device())
class ModelNotFoundError(Exception):