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 Han725d84997b2f
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex c909eb6a5e5..48a8b00481e 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -511,7 +511,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):"We will change the batch size of ' + str(per_device_train_batch_size) + ' to the `num_generations` of ' + str(num_generations))\n"\" per_device_train_batch_size = num_generations\n"\"\n"- extra_args += check_dr_grpo+ extra_args += check_num_generationspass# Edit config with anything extra