Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update rl_replacements.py

Daniel Hanc8e5a880010d
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.py
index 8efaf3fd1f3..f5909589488 100644
--- a/unsloth/models/rl_replacements.py
+++ b/unsloth/models/rl_replacements.py
@@ -340,6 +340,7 @@ def grpo_trainer_compute_loss(function_name, function):
print("$$$$$$$$$$$ input_ids", input_ids.shape)
input_ids = input_ids[:, -logits_to_keep:]
+ print("$$$$$$$$$$$ input_ids", input_ids.shape)
if per_token_logps is not None:
if ref_per_token_logps is not None: