Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xFormers can't load C++/CUDA extensions. xFormers was built for: #21

Open
RefrainHan opened this issue Dec 21, 2023 · 1 comment
Open

Comments

@RefrainHan
Copy link

Hello 我在Mac M1上面运行项目一直报错这个错误 提示无法加载CUDA的内容 麻烦看下如何解决

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.1 with CUDA 1106 (you have 2.0.1)
Python 3.9.16 (you have 3.9.16)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
loading model

@maxin-cn
Copy link

Hello 我在Mac M1上面运行项目一直报错这个错误 提示无法加载CUDA的内容 麻烦看下如何解决

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.0.1 with CUDA 1106 (you have 2.0.1) Python 3.9.16 (you have 3.9.16) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details loading model

Please refer this issue Vchitect/LaVie#50 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants