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 Hand655c7434a5f
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 0d795aa2824..e1b40e64ede 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -369,6 +369,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):)returntry:+ RLConfig = eval(f"trl.trainer.{trainer_file}.{RLConfig_name}")except Exception as e:print(f"Unsloth: Could not load {RLConfig_name} from trl.trainer.{trainer_file}: {e}"