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
Follow the third load site in the pinned-row contract test (#7748)
Daniel Hana0a7fc110da6
diff --git a/tests/studio/test_model_picker_contracts.py b/tests/studio/test_model_picker_contracts.pyindex eba0a3de078..ca6d85b30eb 100644--- a/tests/studio/test_model_picker_contracts.py+++ b/tests/studio/test_model_picker_contracts.py@@ -395,8 +395,15 @@ def test_a_pinned_cached_row_loads_from_the_id_the_backend_pinned():picker = _read("features/model-picker/components/model-selector/pickers.tsx")assert "loadId={c.load_id}" in picker, "the quant list cannot pass on a pin it never gets"- # Both rows and the gear beside each: Run reloads through the same meta.- assert picker.count("loadId: c.load_id") == 2, "the safetensors row and its gear need the pin"+ # Every row that can start a load, and every gear beside one, reloads through+ # the same meta and so has to carry the pin. Counted rather than matched+ # loosely, so a new row that forgets it is a failure here rather than a load+ # that silently follows the default ref. #7736 added the third: the collapsed+ # single-quant GGUF row, which is a load site like the other two.+ assert picker.count("loadId: c.load_id") == 3, (+ "a row or gear that can start a load is missing the pin, or a new one was "+ "added and this count needs to follow it"+ )block = re.search(r"onConfigure\(repoId, \{.*?\n\s*\}", picker, re.S)assert block and "loadId," in block.group(0), "the GGUF gear drops the pin"# The variant click withholds it: a quant outside the pinned snapshot lands in a different one.