mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 04:59:20 +08:00
comment
This commit is contained in:
parent
22d4a20dc2
commit
7fed460146
@ -51,7 +51,7 @@ mx.eval(model.parameters())
|
||||
|
||||
# Synchronize processes before generation to avoid timeout if downloading
|
||||
# model for the first time.
|
||||
mx.eval(mx.distributed.all_sum(mx.array(1.0)))
|
||||
mx.eval(mx.distributed.all_sum(mx.array(1.0), stream=mx.cpu))
|
||||
|
||||
|
||||
def rprint(*args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user