Repository navigation
Unsloth Studio / Desktop: show a cached image GGUF as Partial until Run has its text encoder and VAE - #12557
Conversation
…on disk A Qwen-Image-2.1 GGUF read as On device once the GGUF landed, then Run fetched ~19 GB more under a bare "Required assets" label (unslothai#11637). - Hub rows and the selected quant show Partial, with the companion size in the tooltip, while Run would still download companions. - The download manager names companion jobs (Text encoder, Encoder & decoder) through the existing assetLabel, falling back to "Required assets".
|
Four reds on head This PR (both from the download panel's "Required assets" wording this PR changes):
If the new wording is intended, both checks need updating to it in this PR; if not, the panel lost a label it is expected to show. Main (this run was queued before the fixes merged): |
… clears after they download
…rtial dot-only on phones
|
Review record for #12557, carried over from the mirror it was reviewed on: danielhanchen/unsloth-staging-review#535. Findings are quoted as posted and attributed to the account that posted them. The reactions shown are the triage recorded on the mirror; none were re-applied here. Commits are named as the mirror's, with this PR's equivalent where one was found. Round 1: reviewed mirror
|
|
Following up on the four reds from
Also on the branch: 3779025 re-plans companions when the inventory changes, so the Partial tag clears once the companions finish downloading from the same card instead of staying stale until a remount. |
…labels, add only the remaining-bytes size and the one-time note
Fixes #11637.
#12370 made the Hub show the full download size for image GGUFs, but once the GGUF itself is cached the quant still reads On device. Run then fetches ~19 GB more for Qwen-Image-2.1, labelled only "Required assets" in the download manager.
Fix
assetLabel("Encoder & decoder", "Text encoder"), falling back to "Required assets".Tests
hub-media-download-footprint.test.ts: Partial while companions are pending, On device once they're cached or when there's no plan.required-assets.test.ts: label for a diffusers layout, an unknown file set, and an old job with no file list.Screenshots
Hub model inspector for
unsloth/FLUX.2-klein-4B-GGUFwith onlyflux-2-klein-4b-Q2_K.ggufcached and theblack-forest-labs/FLUX.2-klein-4Btext encoder and VAE not on disk. Before = merge base6a25e67, after =53c27f8, two separate Studio installs on one cache.Selected quant: "On device" becomes "Partial", with the companion size Run still has to download in the tooltip.
Quant menu row: same change on the cached Q2_K row; the uncached BF16 row is untouched.
Downloading the quant with "Include required files" from the same card, then reading the tag without leaving the page. Before = the PR as first submitted (
42fea5d), which kept the companion size it planned before the download; after = head (2f2a097), which re-plans when the downloads finish.Paired Studio UI regression on staging (merge base
6a25e67vs head2f2a097), auth, settings, model picker and route crawl journeys plus the Desktop app: no functional regression on ubuntu-latest (46 steps identical), macos-15 (39 identical) or windows-latest (40 identical). The remaining pixel diffs are page-load timing in the Desktop leg and a recipe left by an earlier journey on one macOS side, none on a surface this PR changes.