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
Read rl.py with an explicit utf-8 encoding in the config compat test (#8333)
Daniel Han259c32c07063
diff --git a/tests/test_rl_config_compat.py b/tests/test_rl_config_compat.pyindex 4fe38fafd86..f2cc65fe40f 100644--- a/tests/test_rl_config_compat.py+++ b/tests/test_rl_config_compat.py@@ -208,7 +208,7 @@ def test_a_default_factory_field_is_compared_not_crashed_on():# every test above green. rl.py is read as text because importing it pulls in# torch, trl and unsloth_zoo.-RL_SOURCE = (REPO_ROOT / "unsloth" / "models" / "rl.py").read_text()+RL_SOURCE = (REPO_ROOT / "unsloth" / "models" / "rl.py").read_text(encoding = "utf-8")def test_the_generated_config_routes_super_through_the_filter():