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 Han49321fb88e16
diff --git a/unsloth/models/rl_replacements.py b/unsloth/models/rl_replacements.pyindex 95db2528955..b2501c94fc7 100644--- a/unsloth/models/rl_replacements.py+++ b/unsloth/models/rl_replacements.py@@ -270,6 +270,7 @@ def grpo_trainer_metrics(RLTrainer_source, RLConfig_source):log_metrics = \"if not isinstance(reward_funcs, list): _reward_funcs = [reward_funcs]\n"\+ "else: _reward_funcs = reward_funcs\n"\"for reward_func in _reward_funcs:\n"\" try:\n"\" reward_func_name = reward_func.__name__\n"\