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.py

Daniel Hanc2917b06c7fe
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 1b2f348541d..74688978586 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -429,6 +429,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
# Get all pre-modules
if trainer_file in RL_PRE_ITEMS:
RL_pre = "\n".join(RL_PRE_ITEMS[trainer_file])
+ print(RL_pre)
else:
RL_pre = ""
pass