Repository navigation
Studio: use unsloth/Qwen-Image-2.1 mirror and pin it to the top of Images - #11687
Merged
Merged
Conversation
…ages
The Qwen-Image 2.1 bf16/FP8 row pointed at the vendor repo Qwen/Qwen-Image-2.1
because no unsloth mirror existed. orderRecommendedRows ranks first-party rows
ahead of vendor ids, so "Qwen-Image 2.1 (Fast FP8)" sank to the bottom of the
Images picker while its GGUF sibling stayed near the top.
- Catalog row now uses bf16Mirror("Qwen/Qwen-Image-2.1"), i.e. the newly
published unsloth/Qwen-Image-2.1. FP8/INT8 weights still come from
unsloth/Qwen-Image-2.1-FP8 via prequantRepo.
- Add the pair to the backend _UNGATED_MIRROR_PAIRS table and clear
_MIRRORS_NOT_YET_PUBLISHED now that the mirror is on the Hub.
- New CatalogGroup.pinToTop flag, honoured by orderRecommendedRows through
pinnedFamilies, so Qwen-Image 2.1 (FP8 then GGUF) leads Recommended under
both the Trending and Recent sorts.
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
shaojun
pushed a commit
to shaojun/unsloth
that referenced
this pull request
Sep 29, 2026
…ages (unslothai#11687) The Qwen-Image 2.1 bf16/FP8 row pointed at the vendor repo Qwen/Qwen-Image-2.1 because no unsloth mirror existed. orderRecommendedRows ranks first-party rows ahead of vendor ids, so "Qwen-Image 2.1 (Fast FP8)" sank to the bottom of the Images picker while its GGUF sibling stayed near the top. - Catalog row now uses bf16Mirror("Qwen/Qwen-Image-2.1"), i.e. the newly published unsloth/Qwen-Image-2.1. FP8/INT8 weights still come from unsloth/Qwen-Image-2.1-FP8 via prequantRepo. - Add the pair to the backend _UNGATED_MIRROR_PAIRS table and clear _MIRRORS_NOT_YET_PUBLISHED now that the mirror is on the Hub. - New CatalogGroup.pinToTop flag, honoured by orderRecommendedRows through pinnedFamilies, so Qwen-Image 2.1 (FP8 then GGUF) leads Recommended under both the Trending and Recent sorts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In the Studio Images picker, Qwen-Image 2.1 was split across the list:
Qwen-Image-2.1-GGUF (Slow)sat at the top, butQwen-Image 2.1 (Fast FP8)landed near the bottom next to HunyuanImage 2.1.The cause was the row id. Every other Fast FP8 row points at an
unsloth/*mirror of the vendor pipeline (for exampleunsloth/Qwen-Image-2512), but nounsloth/Qwen-Image-2.1existed, so the catalog used the vendor repoQwen/Qwen-Image-2.1.orderRecommendedRowsputs first-party rows ahead of vendor ids, so that row sank to the vendor tail.Changes
Qwen/Qwen-Image-2.1(28 files, 33.1 GB, sizes verified against the source).model-catalog.ts: the Qwen-Image 2.1 row now usesbf16Mirror("Qwen/Qwen-Image-2.1"). FP8 and INT8 weights still come fromunsloth/Qwen-Image-2.1-FP8throughprequantRepo, unchanged.diffusion_families.py: added("Qwen/Qwen-Image-2.1", "unsloth/Qwen-Image-2.1")to_UNGATED_MIRROR_PAIRS.canonical_basemaps the mirror back to the family'sbase_repo, so family detection, prequant lookup and the sd.cpp VAE path are unchanged.test_diffusion_backend.py: emptied_MIRRORS_NOT_YET_PUBLISHED, which only tracked this mirror, and bumped the table counts (25 total, 13 ungated).CatalogGroup.pinToTopflag.HubModelPickerpasses the pinned canonical ids toorderRecommendedRowsaspinnedFamilies. A pinned family leads the Recommended list as a group, in catalog order (FP8 row, then GGUF), under both the Trending and Recent sorts. Only Qwen-Image 2.1 sets it.Resulting order (top of the Images list)
Testing
recommended-catalog-seeds.test.tscovers the pinned ordering against the realIMAGE_CATALOG, with Qwen-Image 2.1 trending last. The vendor id to mirror test now includes Qwen-Image 2.1.recommended-catalog-seeds.test.tsanddense-quant-prequant-routing.test.ts: 37 passed.npm test: 8587 passed, 3 failed. Two of the failures (every near-opaque card spelling takes the panel muted text,training-dataset-source-transitions.test.ts) also fail onmain. The third,message-jsonl-import.test.ts, passes when run on its own.npm run catalog:checkpasses, andtsc -breports no errors. Biome diagnostics on the touched files are the same count as onmain.test_diffusion_backend.py,test_diffusion_more_families.py,test_diffusion_engine_router.py: 597 passed. One failure,test_mirrored_base_still_trips_the_flux2_shape_guard, is a missingggufmodule in my local env and fails identically onmain.