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 Hanf6b6ab7a1b95
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 760bb336b11..dc1680a0afa 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -249,7 +249,7 @@ def grpo_trainer__generate_and_score_completions(function_name, function):found = re.findall(r"(\n([\s]{1,})if self\.max_prompt_length is not None:.*?"\r"\2if self\.use_vllm:)",- a,+ function,flags = re.DOTALL | re.MULTILINE,)if len(found) != 0: