-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that haven't received updatesIssues that haven't received updates
Description
Describe the bug
DPMSolverSinglestepScheduler not initialized with sigmas, but required for add_noise. only set after setting timesteps.
Reproduction
import torch
from diffusers import DPMSolverSinglestepScheduler
foo = DPMSolverSinglestepScheduler()
placeholder_latents = torch.randn(1, 64, 64)
placeholder_noise = torch.randn(1, 64, 64)
print(hasattr(foo, "sigmas")) # False
foo.add_noise(placeholder_latents, placeholder_noise, 10) # crash
Logs
No response
System Info
diffusersversion: 0.22.2- Platform: Linux-5.19.17-coreweave-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 2.1.0a0+fe05266 (True)
- Huggingface_hub version: 0.14.1
- Transformers version: 4.30.0.dev0
- Accelerate version: 0.19.0
- xFormers version: not installed
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: yes
Who can help?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that haven't received updatesIssues that haven't received updates