city96 / ComfyUI_ExtraModels

Support for miscellaneous image models. Currently supports: DiT, PixArt, HunYuanDiT, MiaoBi, and a few VAEs.
Apache License 2.0
396 stars 35 forks source link

requires Accelerate #28

Closed YoannRb closed 7 months ago

YoannRb commented 7 months ago
accelerate

Hello, I'm trying to run the Abominable Spaghetti Workflow and I'm getting this error. I installed every pips I saw on comfy ui's pages, and on this one, also installed the pip accelerate but I still have the error I tried with both portable and classic comfy ui versions. I tried with every dtype 8GB RTX 2080 with Ryzen 7 3800X and 64GB RAM

Hope you have the solution, thanks

city96 commented 7 months ago

I could've sworn accelerate came as a default requirement for either transformers or comfyui, apparently not.

I've added it to the requirements file, so you can run the install command again and it should grab it.

.\python_embeded\python.exe -s -m pip install -r .\ComfyUI\custom_nodes\ComfyUI_ExtraModels\requirements.txt
YoannRb commented 7 months ago

And now it works like a charm ! thank you boss !