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