[None][refactor] split VisualGen pipeline and model configs - #14956
Conversation
|
/bot run --disable-fail-fast |
|
/bot kill |
|
/bot run --disable-fail-fast |
|
PR_Github #52066 [ run ] triggered by Bot. Commit: |
📝 WalkthroughWalkthroughThis PR refactors the VisualGen configuration system from a single-component ChangesVisualGen Multi-Component Configuration and Model Inheritance
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/unittest/_torch/visual_gen/test_visual_gen_args.py`:
- Line 214: The test unpacks four values from
DiffusionPipelineConfig.load_diffusion_quant_config into qc, _, dwq, daq but
never uses daq; remove the unused unpacked variable by changing the unpacking to
only capture the needed three values (qc, _, dwq) from
load_diffusion_quant_config so daq is not created, or replace daq with a
throwaway underscore if you prefer (qc, _, dwq, _ -> qc, _, dwq), updating the
line that calls DiffusionPipelineConfig.load_diffusion_quant_config accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: e70baaf8-b004-4a89-9044-f9993181245c
📒 Files selected for processing (25)
tensorrt_llm/_torch/visual_gen/__init__.pytensorrt_llm/_torch/visual_gen/config.pytensorrt_llm/_torch/visual_gen/models/cosmos3/pipeline_cosmos3.pytensorrt_llm/_torch/visual_gen/models/cosmos3/transformer_cosmos3.pytensorrt_llm/_torch/visual_gen/models/flux/pipeline_flux.pytensorrt_llm/_torch/visual_gen/models/flux/pipeline_flux2.pytensorrt_llm/_torch/visual_gen/models/flux/transformer_flux.pytensorrt_llm/_torch/visual_gen/models/flux/transformer_flux2.pytensorrt_llm/_torch/visual_gen/models/ltx2/pipeline_ltx2.pytensorrt_llm/_torch/visual_gen/models/ltx2/transformer_ltx2.pytensorrt_llm/_torch/visual_gen/models/modeling.pytensorrt_llm/_torch/visual_gen/models/qwen_image/pipeline_qwen_image.pytensorrt_llm/_torch/visual_gen/models/qwen_image/transformer_qwen_image.pytensorrt_llm/_torch/visual_gen/models/wan/pipeline_wan.pytensorrt_llm/_torch/visual_gen/models/wan/pipeline_wan_i2v.pytensorrt_llm/_torch/visual_gen/models/wan/transformer_wan.pytensorrt_llm/_torch/visual_gen/pipeline.pytensorrt_llm/_torch/visual_gen/pipeline_loader.pytensorrt_llm/_torch/visual_gen/pipeline_registry.pytensorrt_llm/visual_gen/args.pytests/unittest/_torch/visual_gen/test_ltx2_pipeline.pytests/unittest/_torch/visual_gen/test_model_loader.pytests/unittest/_torch/visual_gen/test_qwen_image_pipeline_config.pytests/unittest/_torch/visual_gen/test_visual_gen_args.pytests/unittest/_torch/visual_gen/test_wan_transformer.py
|
PR_Github #52067 [ kill ] triggered by Bot. Commit: |
|
/bot kill |
|
PR_Github #52068 [ run ] triggered by Bot. Commit: |
|
PR_Github #52067 [ kill ] completed with state |
|
PR_Github #52066 [ run ] completed with state |
|
/bot run --disable-fail-fast |
|
PR_Github #52071 [ kill ] triggered by Bot. Commit: |
|
PR_Github #52068 [ run ] completed with state |
|
PR_Github #52071 [ kill ] completed with state |
|
PR_Github #52073 [ run ] triggered by Bot. Commit: |
|
PR_Github #52073 [ run ] completed with state
|
|
/bot run --disable-fail-fast --reuse-test |
|
PR_Github #52288 [ run ] triggered by Bot. Commit: |
|
PR_Github #52288 [ run ] completed with state
|
|
/bot run --disable-fail-fast --reuse-test |
|
PR_Github #52346 [ run ] triggered by Bot. Commit: |
|
PR_Github #52346 [ run ] completed with state
|
|
/bot run --disable-fail-fast --reuse-test |
|
PR_Github #52477 [ run ] triggered by Bot. Commit: |
zhenhuaw-me
left a comment
There was a problem hiding this comment.
Thank you so much for helping refactoring this settings :)
|
PR_Github #52477 [ run ] completed with state
|
|
/bot run --reuse-test |
|
PR_Github #52524 [ run ] triggered by Bot. Commit: |
|
PR_Github #52524 [ run ] completed with state
|
|
/bot run --reuse-test |
|
PR_Github #52558 [ run ] triggered by Bot. Commit: |
|
PR_Github #52558 [ run ] completed with state
|
|
/bot run --reuse-test |
|
PR_Github #52598 [ run ] triggered by Bot. Commit: |
|
PR_Github #52598 [ run ] completed with state
|
Signed-off-by: Bo Li <22713281+bobboli@users.noreply.github.com>
Signed-off-by: Bo Li <22713281+bobboli@users.noreply.github.com>
Signed-off-by: Bo Li <22713281+bobboli@users.noreply.github.com>
25ef374 to
fde2e27
Compare
|
/bot run --stage-list "GB200-4_GPUs-PyTorch-1, GB200-4_GPUs-PyTorch-2, GB200-4_GPUs-PyTorch-3, GB200-4_GPUs-PyTorch-4" |
|
If these stages pass, let's use "/bot reuse-pipeline" |
|
PR_Github #52833 [ run ] triggered by Bot. Commit: |
|
PR_Github #52833 [ run ] completed with state |
|
/bot reuse-pipeline |
|
PR_Github #52908 [ reuse-pipeline ] triggered by Bot. Commit: |
|
PR_Github #52908 [ reuse-pipeline ] completed with state |
…4956) Signed-off-by: Bo Li <22713281+bobboli@users.noreply.github.com>
Summary
Testing
Summary by CodeRabbit
Release Notes