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 Hancf4ccb543d4a
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 81e929aacab..3682c71d7c4 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -449,7 +449,7 @@ def patch_trl_rl_trainers():pass-def PatchFastRL(algorithm = "GRPO", FastLanguageModel = None):+def PatchFastRL(algorithm = None, FastLanguageModel = None):if FastLanguageModel is not None: PatchRL(FastLanguageModel)patch_trl_rl_trainers()if algorithm is not None: PatchRLStatistics(algorithm)