mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
updates
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user