Repository navigation
[Diffusion] Add composable component weight path CLI - #36078
Merged
Merged
Conversation
mickqian
requested review from
AgainstEntropy,
BBuf,
HaiShaw,
ping1jing2 and
yichiche
as code owners
August 23, 2026 11:42
This was referenced Aug 23, 2026
mickqian
requested review from
JustinTong0323,
sogalin,
wisclmy0611 and
zijiexia
as code owners
August 23, 2026 14:03
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This branch was successfully deployed
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.
Motivation
A component configuration and its replacement weights are separate inputs. This matters for self-describing single-file quantized checkpoints: for example, a Qwen3-VL-4B config can be paired with a Comfy FP8 weight file. The existing
component_weights_pathsdictionary supports the runtime contract, but its CLI form is substantially less discoverable than dynamic component paths.Modifications
--component-weights-paths.<component> <source>--<component>-weights-path <source>alias-weights-pathsuffix before the existing generic-pathaliasExample:
Self-describing checkpoint quantization continues to be inferred automatically; this PR does not add or require a quantization selector.
Accuracy Tests
No model or numerical path changes. Focused parser coverage checks config merging, dotted options, aliases, equals syntax, and independent component values.
Speed Tests and Profiling
Not applicable; this is CLI routing only.
Checklist
CI States
Latest PR Test (Base): ✅ Run #32644391959
Latest PR Test (Extra): ❌ Run #32644391734
Latest PR Test (AMD ROCm 7.2): ⏳ Run #32644392041