mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-05 08:14:34 +08:00
fix stream
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user