kijai / ComfyUI-DiffusersStableCascade

Simple inference with StableCascade using diffusers in ComfyUI
305 stars 54 forks source link

Mac M1 Error : low_cpu_mem_usage=True #6

Open fantomac opened 9 months ago

fantomac commented 9 months ago

Hi, After installing get the error :

Error occurred when executing DiffusersStableCascade: Using low_cpu_mem_usage=True or a device_map requires Accelerate: pip install accelerate

Thanks in advance.

lhovav commented 9 months ago

I've got it too...3090 24GB VRAM 32GB MEM...any idea why?

fantomac commented 9 months ago

I can install accelerate with pip install git+https://github.com/huggingface/accelerate Now when running a prompt I got :

Error occurred when executing DiffusersStableCascade:
BFloat16 is not supported on MPS
lhovav commented 9 months ago

Hi! I don't really want to change my libraries yet, I would like to know if it is mandatory to install accelerate or maybe changing the low_cpu_mem_usage=True` to False will resolve it...Just don't know where to change it...