Skip to content

[DDIMScheduler] fix noise device in ddim step#1189

Merged
patil-suraj merged 6 commits into
mainfrom
fix-noise-ddim
Nov 8, 2022
Merged

[DDIMScheduler] fix noise device in ddim step#1189
patil-suraj merged 6 commits into
mainfrom
fix-noise-ddim

Conversation

@patil-suraj

Copy link
Copy Markdown
Contributor

handle device when creating variance_noise.

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Nov 8, 2022

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@anton-l anton-l left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

Comment thread src/diffusers/schedulers/scheduling_ddim.py Outdated
Comment thread src/diffusers/schedulers/scheduling_ddim.py Outdated
Comment thread src/diffusers/schedulers/scheduling_ddim.py Outdated

@pcuenca pcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome, thanks a lot!

@patil-suraj
patil-suraj merged commit 5a8b356 into main Nov 8, 2022
@patil-suraj
patil-suraj deleted the fix-noise-ddim branch November 8, 2022 12:11
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* fix noise device in ddim sched

* fix typo

* self.device -> device

* remove duplicated if

* use str device

* don't use str for device
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.

4 participants