xformers icon indicating copy to clipboard operation
xformers copied to clipboard

AttributeError: 'str' object has no attribute 'impl'

Open le-wei opened this issue 2 months ago • 3 comments

❓ 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. image

le-wei avatar Apr 26 '24 01:04 le-wei