mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-28 03:41:17 +08:00
updates
This commit is contained in:
parent
326935be49
commit
9a36452519
@ -241,6 +241,7 @@ def generate_grpo(
|
||||
if i >= max_tokens - 1:
|
||||
break
|
||||
|
||||
mx.metal.clear_cache()
|
||||
mx.eval(current_tokens)
|
||||
|
||||
if current_tokens:
|
||||
|
Loading…
Reference in New Issue
Block a user