Skip to content

cp: fix: Fix bug in diffusion generation (1850) into r0.4.0#1900

Merged
akoumpa merged 1 commit intor0.4.0from
cherry-pick-1850-r0.4.0
Apr 18, 2026
Merged

cp: fix: Fix bug in diffusion generation (1850) into r0.4.0#1900
akoumpa merged 1 commit intor0.4.0from
cherry-pick-1850-r0.4.0

Conversation

@svcnvidia-nemo-ci
Copy link
Copy Markdown
Contributor

beep boop [🤖]: Hi @pthombre 👋,

we've cherry picked #1850 into  for you! 🚀

Please review and approve this cherry pick by your convenience!

* 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>
@svcnvidia-nemo-ci
Copy link
Copy Markdown
Contributor Author

/ok to test b9c5a20

@svcnvidia-nemo-ci svcnvidia-nemo-ci added cherry-pick Run CICD Trigger Testing CICD labels Apr 17, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 17, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@akoumpa akoumpa merged commit ab87c7f into r0.4.0 Apr 18, 2026
55 checks passed
@akoumpa akoumpa deleted the cherry-pick-1850-r0.4.0 branch April 18, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Run CICD Trigger Testing CICD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants