You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I calling the add_noise function of dpm++ karras when t = 0, it fails
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/xxx/miniconda3/envs/controlnet/lib/python3.8/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 889, in add_noise
step_indices = [(schedule_timesteps == t).nonzero().item() for t in timesteps]
File "/home/xxx/miniconda3/envs/controlnet/lib/python3.8/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 889, in <listcomp>
step_indices = [(schedule_timesteps == t).nonzero().item() for t in timesteps]
RuntimeError: a Tensor with 2 elements cannot be converted to Scalar
Describe the bug
When I calling the add_noise function of dpm++ karras when t = 0, it fails
Reproduction
Logs
No response
System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
diffusers
version: 0.23.1Who can help?
@yiyixuxu @DN6 @sayakpaul @patrickvonplaten
The text was updated successfully, but these errors were encountered: