facebookresearch / xformers

Hackable and optimized Transformers building blocks, supporting a composable construction.
https://facebookresearch.github.io/xformers/
Other
8.66k stars 614 forks source link

Server breakdown when installing xformers both manually and from source via ninja #1062

Open YacratesWyh opened 5 months ago

YacratesWyh commented 5 months ago

❓ Questions and Help

Both the following would cause server breakdown at the building wheel step. Server got stuck and ssh lag out, have to restart server. image

pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers

image pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu121

I somehow installed 0.20. a long time ago but now it's not working for a new env.

Before I was using 2.0.1 and python 3.10, now I'm working with 2.3.0 and python 3.12. But no idea what's happening. Hope others would describe clearly.