-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EulerDiscreteScheduler.set_timesteps() torch.from_numpy misuse error. #6054
Comments
@Teriks |
Hi @yiyixuxu, |
Raised a pull request. |
Shouldn't a simple check below suffice ?
I just did the changes and it is working. I also do not see a PR for this, if so , can I send one? |
This is pretty much what I had edited it to locally to see if it would work, but I ran out of free time :) |
same issue |
Hi @sayakpaul .It's my first issues on diffuser Library guide me |
Cc: @yiyixuxu |
I recommended @SahilCarterr to study Diffusion Models comprehensively. After studying, it would be more appropriate to examine previously merged good first issue PRs and try to solve unsolved ones, IMHO. |
I believe this issue is resolved |
Describe the bug
In version 0.24.0, on line 283 of
schedulers\scheduling_euler_discrete.py
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py
Line 283 in 76c645d
An exception occurs when
sigmas
is a Tensor object and not a numpy array, whenself.config.interpolation_type == "log_linear"
from this setup code directly above
Reproduction
Logs
System Info
diffusers 0.24.0
torch 2.0.1
Windows
Who can help?
No response
The text was updated successfully, but these errors were encountered: