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

Mish-cuda installation failed. #4

Open
yedmed opened this issue Oct 22, 2020 · 4 comments
Open

Mish-cuda installation failed. #4

yedmed opened this issue Oct 22, 2020 · 4 comments

Comments

@yedmed
Copy link

yedmed commented Oct 22, 2020

Hi, i am trying to install mish-cuda using "pip install git+https://github.com/thomasbrandon/mish-cuda/
However i am getting ERROR: Failed building wheel for mish-cuda.
I am using cuda 10.1 with pytorch 1.5. Any suggestion? Thanks

@thomasbrandon
Copy link
Owner

Without a specific error message it's hard to know. Make sure the CUDA SDK is installed and accessible through the CUDA_HOME environment variable.
Otherwise you'd need to get a better error. You could try running pip verbosely (pip -v ...) and see if that gives full messages. Otherwise clone the repo and try directly running python setup.py -v install (or maybe you might need to specifically run python setup.py -v build or python setup.py -v build_ext).-

@CzKerwin
Copy link

CzKerwin commented Nov 30, 2020

I get same problem using cuda 11.0 with pytorch 1.7. I try running python setup.py -v build.

FAILED: /app/share/mish-cuda/build/temp.linux-x86_64-3.8/csrc/mish_kernel.o /usr/local/cuda/bin/nvcc -Iexternal -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /app/share/mish-cuda/csrc/mish_kernel.cu -o /app/share/mish-cuda/build/temp.linux-x86_64-3.8/csrc/mish_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-extended-lambda -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unsupported gpu architecture 'compute_86'

@thomasbrandon
Copy link
Owner

CUDA 11.0 doesn't support RTX30 series cards. They were introduced in CUDA 11.1.

@CzKerwin
Copy link

CzKerwin commented Dec 1, 2020

CUDA 11.0 doesn't support RTX30 series cards. They were introduced in CUDA 11.1.

Thank you very much for clearing my doubt.

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

3 participants