Skip to content

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.

Tests: follow TRL's renamed tiny Phi-3 and Qwen3.5 repos (#15355)

Daniel Hane3a276a554aa
diff --git a/scripts/clef_train_bench.py b/scripts/clef_train_bench.py
index 514b79e0b86..311716db699 100644
--- a/scripts/clef_train_bench.py
+++ b/scripts/clef_train_bench.py
@@ -40,7 +40,7 @@ from unsloth.models import clef, decision # noqa: E402
if args.log_recompiles:
torch._logging.set_logs(recompiles = True, graph_breaks = True)
-TINY = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration"
+TINY = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink"
TINY_HEAD = dict(hidden_size = 8, width = 32, routing_layers = 2, layers = 2, heads = 4, feedforward = 64)
diff --git a/tests/test_decision_from_lm.py b/tests/test_decision_from_lm.py
index b4770abc71b..b221e13f9a1 100644
--- a/tests/test_decision_from_lm.py
+++ b/tests/test_decision_from_lm.py
@@ -16,7 +16,7 @@ from unsloth.models import decision
from unsloth.models.decision_from_lm import default_head_config
TINY_QWEN3 = "trl-internal-testing/tiny-Qwen3ForCausalLM"
-TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration"
+TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink"
HEAD = {
"hidden_size": None,
"width": 32,
diff --git a/tests/test_decision_gguf_real.py b/tests/test_decision_gguf_real.py
index 787132fcbac..b3ef2525f4a 100644
--- a/tests/test_decision_gguf_real.py
+++ b/tests/test_decision_gguf_real.py
@@ -24,7 +24,7 @@ pytestmark = pytest.mark.skipif(
reason = "needs CUDA and UNSLOTH_TEST_LLAMA_SERVER",
)
REPORT = os.environ.get("UNSLOTH_TEST_GGUF_REPORT")
-TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration"
+TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink"
TINY_MODERNBERT = "hf-internal-testing/tiny-random-ModernBertModel"
QUESTIONS = {
"outage": {"type": "noul", "instructions": "Is a service down?"},
diff --git a/tests/test_decision_model.py b/tests/test_decision_model.py
index 7eb0f17cf27..199504b6349 100644
--- a/tests/test_decision_model.py
+++ b/tests/test_decision_model.py
@@ -890,7 +890,7 @@ def test_rope_parameters_build_the_trained_rope_on_every_transformers(tmp_path):
assert not torch.allclose(outputs[0], outputs[2], atol = 1e-2)
-TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration"
+TINY_QWEN3_5 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink"
CLEF_HEAD = {
"hidden_size": 16,
"width": 32,
diff --git a/tests/test_fsdp2_native_units.py b/tests/test_fsdp2_native_units.py
index b1cbf0a4932..65f5e9d2d5d 100644
--- a/tests/test_fsdp2_native_units.py
+++ b/tests/test_fsdp2_native_units.py
@@ -54,7 +54,7 @@ ARCHS = [
),
(
"Qwen3_5",
- "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration",
+ "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink",
"AutoModelForImageTextToText",
),
]
diff --git a/tests/test_layernorm_precision_env_scope.py b/tests/test_layernorm_precision_env_scope.py
index a7408a35f74..0831e57e793 100644
--- a/tests/test_layernorm_precision_env_scope.py
+++ b/tests/test_layernorm_precision_env_scope.py
@@ -123,7 +123,7 @@ _SEQUENCE = textwrap.dedent(
"""
)
-Q35 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration"
+Q35 = "trl-internal-testing/tiny-Qwen3_5ForConditionalGeneration-NoThink"
Q3 = "trl-internal-testing/tiny-Qwen3ForCausalLM"
G3 = "hf-internal-testing/tiny-random-Gemma3ForCausalLM"
LLAMA = "hf-internal-testing/tiny-random-LlamaForCausalLM"
diff --git a/tests/test_tp_native_oracle.py b/tests/test_tp_native_oracle.py
index 823f81b6135..6a69ebcfb85 100644
--- a/tests/test_tp_native_oracle.py
+++ b/tests/test_tp_native_oracle.py
@@ -56,7 +56,7 @@ QWEN3 = "trl-internal-testing/tiny-Qwen3ForCausalLM"
GEMMA2 = "trl-internal-testing/tiny-Gemma2ForCausalLM"
GEMMA3 = "hf-internal-testing/tiny-random-Gemma3ForCausalLM"
MISTRAL = "hf-internal-testing/tiny-random-MistralForCausalLM"
-PHI3 = "trl-internal-testing/tiny-Phi3ForCausalLM"
+PHI3 = "trl-internal-testing/tiny-Phi3ForCausalLM-3"
QWEN2 = "trl-internal-testing/tiny-Qwen2ForCausalLM-2.5-Coder"
STABLELM = "hf-internal-testing/tiny-random-StableLmForCausalLM" # no transformers TP plan
OLMO2 = "hf-internal-testing/tiny-random-Olmo2ForCausalLM"