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 Hanc7c6f2c88d6b
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 7407bba71fa..2de324ea765 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -476,6 +476,8 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):"top_k" : None,"vllm_mode" : "colocate","generation_kwargs" : {},+ "bf16" : False,+ "fp16" : False,}for k, v in replacements.items():x = f"{k}( = [^,\n]{{1,}})?,\n"