ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

After update, xformers is missing

Open doogyhatts opened this issue 10 months ago • 3 comments

This is the second time that has happened since yesterday.

I found out that after updating ComfyUI, it now uses torch 2.3.0, which has no compatible version of xformers, so the log complained that I had no xformers installed. So I downgraded torch to 2.2.2, torchvision to 0.17.2, and re-installed xformers 0.0.25.post1.

I will refrain from updating ComfyUI until the next xformers release is ready.

doogyhatts avatar Apr 26 '24 03:04 doogyhatts

+1

mayo-Z avatar Apr 26 '24 23:04 mayo-Z

+1

Fexcron avatar Apr 29 '24 19:04 Fexcron

I've found that Pytorch attention is slightly faster than xformers now anyway. Especially since pytorch 2.3.0

askmyteapot avatar Apr 30 '24 11:04 askmyteapot

xformer is no longer shipped with standalone windows build. Is xformers is needed, please follow this issue: https://github.com/comfyanonymous/ComfyUI/issues/1065

robinjhuang avatar Jul 17 '24 19:07 robinjhuang

Yes, xformers is missing. To install xformers, simply run:

pip install xformers

Amit30swgoh avatar Jul 19 '24 06:07 Amit30swgoh