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 Handccd3999f38a
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 9f5fe99c9dc..3d601b0af11 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -402,7 +402,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
RLTrainer_source,
f"trl.trainer.{trainer_file}",
imports,
- overwrite = True,
+ overwrite = False,
)
# Patch Trainer