xFormers can't load C++/CUDA extensions. xFormers was built for:
RefrainHan opened this issue · comments
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
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)