ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Unable to generate images

Open vararth opened this issue 2 years ago • 3 comments

Getting this in powershell -

ValueError: The device_map provided does not give any device for the following parameters: betas, alphas_cumprod, alphas_cumprod_prev, sqrt_alphas_cumprod, sqrt_one_minus_alphas_cumprod, log_one_minus_alphas_cumprod, sqrt_recip_alphas_cumprod, sqrt_recipm1_alphas_cumprod, posterior_variance, posterior_log_variance_clipped, posterior_mean_coef1, posterior_mean_coef2

vararth avatar Mar 05 '23 05:03 vararth

Can you give me more information about your system like which GPU you have and how you are running comfyUI?

comfyanonymous avatar Mar 05 '23 06:03 comfyanonymous

I have a Nvidia 3050, 4GB running on a Lenovo Ideapad. I have automatic1111 already installed so I went to the comfyui folder, started up powershell, ran the Activate.ps1 script and in the models folder, I have waifu diffusion ckpt loaded. Once the url showed up, the UI loaded up and I did not make any changes just to do a dry run of the tool, but nothing was generated after I pressed the button.

vararth avatar Mar 05 '23 07:03 vararth

It looks like the a1111 ui venv has an outdated version of accelerate. I use that package for the lowvram mode in my UI which gets automatically enabled on your GPU.

Try: pip install accelerate --upgrade

comfyanonymous avatar Mar 05 '23 07:03 comfyanonymous