Skip to content

Commit

Permalink
Temporarily remove async_eval
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloskath committed Nov 1, 2024
1 parent 4d51442 commit e648f9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llms/mlx_lm/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ def main():
kv_group_size=args.kv_group_size,
quantized_kv_start=args.quantized_kv_start,
)
if not args.verbose:

if not args.verbose and mx.distributed.init().rank() == 0:
print(response)
mx.synchronize()


if __name__ == "__main__":
Expand Down

0 comments on commit e648f9a

Please sign in to comment.