cp: fix: Fix bug in diffusion generation (1850) into r0.4.0#1900
Merged
cp: fix: Fix bug in diffusion generation (1850) into r0.4.0#1900
fix: Fix bug in diffusion generation (1850) into r0.4.0#1900Conversation
* feat: Fix bug in diffusion generation
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
* Update uv lock
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
* Fix linting
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
* refactor: unify load_pipeline to always use NeMoAutoDiffusionPipeline
Remove the two-branch loading logic (DiffusionPipeline for single-GPU
vs NeMoAutoDiffusionPipeline for distributed) and always go through
NeMoAutoDiffusionPipeline.from_pretrained(). When parallel_scheme is
None, parallelization is skipped automatically, making the single-GPU
path equivalent to the previous DiffusionPipeline.from_pretrained()
+ pipe.to("cuda") flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
---------
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Co-authored-by: NeMo Bot <nemo-bot@nvidia.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Contributor
Author
|
/ok to test b9c5a20 |
akoumpa
approved these changes
Apr 18, 2026
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.
beep boop [🤖]: Hi @pthombre 👋,