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 Han4fdbe839ea1b
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex c8602d31b2b..f754fa953cf 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -450,7 +450,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):pass# Check if SamplingParams is in there- if "SamplingParams" in RLTrainer_source:+ if "SamplingParams" in old_RLTrainer_source:RL_pre = RL_pre + "\n" + inspect.getsource(vLLMSamplingParams)pass