mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 02:53:41 +08:00
fix stream
This commit is contained in:
parent
0be87b3c53
commit
f5cd03c64d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user