Repository navigation
Conversation
… text encoder and VAE
…gend so a thin VAE segment doesn't overlap its neighbour
…text encoder and VAE
…resumed download already had
…ow of a staged download
- The Hub download queue runs the checkpoint first and drops unticked
assets, so the bar's earlier/later parts are now worked out from that
final list. Before, a plan that listed the encoder repo first showed the
encoder as already done while the GGUF was still at 0.1 GB.
- A weights file at the repo root (a hosted prequant such as
Qwen-Image-2.1-FP8.safetensors) counts as the model, not the text
encoder.
- family-override.test.ts loads diffusion-pipeline-load-target.ts through
the bundler resolver now that it imports via `@/`, and its source check
matches the new `{ ...opts, checkpointBytes }` call.
- download-breakdown.test.ts passes `tsc -p tsconfig.test.json`.
… parts - A checkpoint entry the plan stages with no bytes (an older snapshot already holds the GGUF) no longer hides the cached model segment on the companion rows. - ae.safetensors, FLUX.1's VAE picked as a root-level override, counts as the VAE instead of the model.
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0da7dd9a8c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| checkpointBytes && checkpointBytes > 0 && !checkpointDownloads | ||
| ? entries.findIndex((e) => !e.checkpoint) | ||
| : -1; | ||
| const merged = (list: T[]) => Object.assign({}, ...list.map((e) => e.fileBytes ?? {})) as Record<string, number>; |
There was a problem hiding this comment.
Preserve files from distinct repos in plan breakdowns
When a staged plan has three or more repos and two of the earlier/later entries contain the same relative filename (for example custom component repos both exposing model.safetensors or config.json), Object.assign overwrites one entry's size instead of retaining both. The affected job's breakdown then omits bytes from one dependency, so its colored segments and legend understate the plan and can report an incorrect completed portion; retain repo-qualified keys or accumulate colliding filenames.
Useful? React with 👍 / 👎.
| const entries = diffusionStagingEntries(plan.entries, repoId, { | ||
| ...opts, | ||
| checkpointBytes: plan.checkpoint_bytes, | ||
| }); |
There was a problem hiding this comment.
Include cached pipeline weights in the breakdown
For a diffusers pipeline whose selected base is already cached but which still needs companion files, both planners leave checkpoint_bytes at zero unless a GGUF filename was supplied, even though the base entry is marked as the checkpoint. Passing that zero here prevents withPlanBreakdown from adding the cached model segment, so these partially cached pipeline selections show only the remaining encoder/VAE work (or fall back to a generic bar) rather than the selected model already on disk. Populate a pipeline checkpoint size, or provide equivalent cached-model bytes separately.
Useful? React with 👍 / 👎.
Staging-only CI validation for unslothai#13112.
This PR exists only to run fork GitHub Actions checks and should be closed after validation.