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_replacements.py
Daniel Han7a6e0042888b
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 23b31172fd5..dd4d5a0e8f4 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -165,6 +165,7 @@ RL_FUNCTIONS["grpo_trainer"].append(grpo_trainer__prepare_inputs)def grpo_trainer__move_model_to_vllm(function_name, function):if function_name != "_move_model_to_vllm": return function+ print(function)# .*? matches first match. .+? matches final match.replacement = "def _move_model_to_vllm(self, *args, **kwargs): return None\n"return " "*function.find("def") + replacement