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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update rl.py
Daniel Hane86e739087d9
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 2facd3ccb05..df1f2f110d1 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -622,9 +622,9 @@ def patch_functions(RLTrainer, trainer_file, RLTrainer_name, all_imports, importpass# Remove non editted functions- for remove in remover:- RLTrainer_source = RLTrainer_source.replace(remove, "")- pass+ # for remove in remover:+ # RLTrainer_source = RLTrainer_source.replace(remove, "")+ # passRLTrainer_source = RLTrainer_source.replace(f"class {RLTrainer_name}", f"class _Unsloth{RLTrainer_name}", 1