xformers
xformers copied to clipboard
AttributeError: 'str' object has no attribute 'impl'
❓ Questions and Help
Hello, I am requesting assistance. I encountered the following error while using from xformers.ops import SwiGLU. My environment is cuda 11.8, torch 2.1.2+cu118, torchaudio 2.1.2+cu118, torchvision 0.16.2+cu118, and I compiled and installed it using:
pip install ninja
pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
Please provide some suggestions, thank you very much.
Have you solved this problem? I have a similar problem.
try to use
pip install xformers==0.0.23.post1
Hi, You should try to update PyTorch to 2.2.0 - we will add this requirement soon anyway.