HazyResearch / butterfly

Butterfly matrix multiplication in PyTorch
Apache License 2.0
164 stars 31 forks source link

torch_butterfly has CUDA version 0.0... incompatibility #24

Closed nailon closed 3 years ago

nailon commented 3 years ago

Hi I ran python setup.py install

then: python import torch_butterfly Traceback (most recent call last): File "", line 1, in File "/home/nailon/miniconda3/envs/py38/lib/python3.8/site-packages/torch_butterfly-0.0.0-py3.8-linux-x86_64.egg/torch_butterfly/init.py", line 33, in check_cuda_version() File "/home/nailon/miniconda3/envs/py38/lib/python3.8/site-packages/torch_butterfly-0.0.0-py3.8-linux-x86_64.egg/torch_butterfly/init.py", line 26, in check_cuda_version raise RuntimeError( RuntimeError: Detected that PyTorch and torch_butterfly were compiled with different CUDA versions. PyTorch has CUDA version 10.2 and torch_butterfly has CUDA version 0.0. Please reinstall the torch_butterfly that matches your PyTorch install.

Anybody?

tridao commented 3 years ago

Issue has been resolved through email.

gunikavashisht13472 commented 2 years ago

Hi I ran python setup.py install

then: python import torch_butterfly And got: RuntimeError: Detected that PyTorch and torch_butterfly were compiled with different CUDA versions. PyTorch has CUDA version 11.3 and torch_butterfly has CUDA version 0.0. Please reinstall the torch_butterfly that matches your PyTorch install

gunikavashisht13472 commented 2 years ago

Could you let me know how can I resolve it?

ThomasBoot commented 2 years ago

Running into a similar issue (PyTorch has CUDA version 11.1 and torch_butterfly has CUDA version 11.2). Would like to hear how you resolved this for the previous issue?

abhishektyaagi commented 10 months ago

@tridao @ThomasBoot @gunikavashisht13472 @nailon Were you able to resolve this issue? If yes, can you please share how you went about it