-
Notifications
You must be signed in to change notification settings - Fork 25.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
[Bug]: Apple silicon can't use dpm++ 2m sampling model #4558
Comments
Same bug here. anyways, here is a fix: t_fn = lambda sigma: sigma.to('cpu').log().neg().to('mps') Update: this bug only appears when list indices are used and is fixed in the latest pytorch nightly (but there are some known problems currently in the nightly builds, so I do not recommend upgrading) |
@remixer-dec thank you, problem solved |
@moon-haha |
@remixer-dec |
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
Could you please explain where to paste it to, for noncoders? |
@lsooxlla8 repositories/k-diffusion/sampling.py replace this line and this line and make sure the indentation is the same |
As documented here: AUTOMATIC1111/stable-diffusion-webui#4558 (comment) - make image logs more consistent - note which step the progress images belong to in the filename
Commented out that line and inserted the one you suggested, restarted ComfyUI and everything. it's still the same. This applies to SD, XL and Turbo for all DMP++ cli command for starting ComfyUI:
|
Is there an existing issue for this?
What happened?
when I use SD,
I can't use dpm++ 2m, dpm++ 2m karras sampler
All results is black screen.
Steps to reproduce the problem
when I use dpm++2m, dpm++2m karras
results is black picture
I'm using SD, Apple silicon M1
I editted K-diffusion/k-diffusion/sampling.py
//
def to_d(x, sigma, denoised):
"""Converts a denoiser output to a Karras ODE derivative."""
sigma = sigma.to('cpu').to('mps')
return (x - denoised) / utils.append_dims(sigma, x.ndim)
//
Is anyone using dpm++ 2m Apple silicon?
What should have happened?
get the picture
Commit where the problem happens
ac08562
What platforms do you use to access UI ?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
No response
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: