Skip to content

PR #13112 staging CI - #235

Closed
Etherll wants to merge 10 commits into
mainfrom
pr-13112-ci
Closed

Etherll wants to merge 10 commits into
mainfrom
pr-13112-ci

Conversation

@Etherll

@Etherll Etherll commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Staging-only CI validation for unslothai#13112.

This PR exists only to run fork GitHub Actions checks and should be closed after validation.

LeoBorcherding and others added 10 commits October 7, 2026 14:05
…gend so a thin VAE segment doesn't overlap its neighbour
- 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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T05:06:28.997112Z 0da7dd9 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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>;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Comment on lines +3348 to +3351
const entries = diffusionStagingEntries(plan.entries, repoId, {
...opts,
checkpointBytes: plan.checkpoint_bytes,
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@danielhanchen
danielhanchen deleted the pr-13112-ci branch October 12, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants