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
Point the README contracts at the pages that now carry the detail, and count the drop-cue row (#11618)
Daniel Han1e3a9e7b72ec
diff --git a/tests/python/test_docker_hub_readme.py b/tests/python/test_docker_hub_readme.pyindex 5d15891c9f8..949d8174656 100644--- a/tests/python/test_docker_hub_readme.py+++ b/tests/python/test_docker_hub_readme.py@@ -72,9 +72,19 @@ def test_the_hub_readme_explains_the_studio_volume():# the helper is described as setting the flags of the quick start, which now# includes the volume: run.sh must mount it (test_docker_cpu_fallback.py checks)assert "including the `unsloth-studio` volume" in text- repo = REPO_README.read_text(encoding = "utf-8")- assert "-v unsloth-studio:/opt/unsloth-studio" in repo- assert ".unsloth-studio-legacy/" in repo+ # The repository README keeps the quick start and hands the details to the Hub page and the+ # Docker docs, which is where the migration story above lives. It must still mount the volume+ # and still point at both, or a reader of the short version has no way to the long one.+ # Read from the section that runs the image: the one-line Docker teaser higher up carries the+ # same two links, so a check over the whole file would pass with them gone from here.+ running = [+ s for s in _docker_sections(REPO_README.read_text(encoding = "utf-8")) if "docker run" in s+ ]+ assert len(running) == 1, "expected exactly one README Docker section with a docker run"+ quick_start = running[0]+ assert "-v unsloth-studio:/opt/unsloth-studio" in quick_start+ assert "https://hub.docker.com/r/unsloth/unsloth)" in quick_start+ assert "https://unsloth.ai/docs/get-started/install/docker" in quick_startdef _docker_sections(text: str) -> list[str]:diff --git a/tests/python/test_docker_rocm.py b/tests/python/test_docker_rocm.pyindex 7fb8cd81573..a03e2b14ff1 100644--- a/tests/python/test_docker_rocm.py+++ b/tests/python/test_docker_rocm.py@@ -450,11 +450,13 @@ class TestTheUserFacingDocsCoverWsl:assert needle in text, needledef test_the_readme_no_longer_says_native_linux_only(self):+ # The README keeps one line for AMD and sends the reader to the Hub page, whose WSL+ # flags the test above pins. What it must not do is bring back the claim that sent+ # Windows users away, or lose the link that replaces the detail.text = open(_README, encoding = "utf-8").read()assert "needs native Linux" not in text- assert "/dev/dxg" in text and "docker/run.sh --rocm" in text- assert "UNSLOTH_IMAGE=unsloth-rocm:latest" in text- assert "RDNA3 cards have no bridge path yet" in text+ assert "native Linux only" not in text+ assert "https://hub.docker.com/r/unsloth/unsloth-rocm" in text# ── entrypoint-rocm.sh ───────────────────────────────────────────────────────diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.pyindex ceb8bb62dda..c7794a75040 100644--- a/tests/studio/test_desktop_reliability_frontend_contract.py+++ b/tests/studio/test_desktop_reliability_frontend_contract.py@@ -2536,7 +2536,8 @@ _LENGTHS_THAT_MUST_KEEP_THE_SCALE = (# The sidebar row: its height, the gap it sets when pinned, and the indent a project row# takes. These are hand-set one-off lengths, which is exactly the spacing that used to# stay put while the labels grew, so the row clips its own text at a larger setting.- (APP_SIDEBAR, "", "h", "30px", 5),+ # Six rows: #11589 added the drop-cue row, scaled like the rest.+ (APP_SIDEBAR, "", "h", "30px", 6),(APP_SIDEBAR, "", "gap", "8.5px", 6),(APP_SIDEBAR, "", "pl", "39px", 2),# The 34px pill controls in the media headers, in all three spellings the pages use. The