Build process is not working (error: command '/usr/bin/nvcc' failed with exit status 1: During Build Process)
$ ./make.sh
running build
running build_ext
building '_ext' extension
(...)
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
error: command '/usr/bin/nvcc' failed with exit status 1
error: command '/usr/bin/nvcc' failed with exit status 1
Anyone please let me know how to solve this error? I used export TORCH_CUDA_ARCH_LIST="7.0" to solvenvcc fatal unsupported gpu architecture 'compute_75' error.
I'm using CUDA 9.2, Python 3.7.5, and PyTorch 1.0.1. My GPU is RTX 2080 Ti.
I also have this error nvcc.exe' failed with exit status 2 I'm using cuda=9.0, python=3.6 and pytorch=1.0.1. My GPUs is RTX2070 and os is windows.
I also have this error nvcc.exe' failed with exit status 2 I'm using cuda=9.0, python=3.6 and pytorch=1.0.1. My GPUs is RTX2070 and os is windows.
I have the same problem, have you solve it ?
Hi, I got the same problem,
nvcc fatal : Unsupported gpu architecture 'compute_61'
cuda=10.1, python=3.7.7 and pytorch=1.3.1 with Titan X gpu. OS is ubuntu 16.04.
Has anyone managed to solve this?
me too
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<
Okay, I reinstalled cuda and it seems to work now with cuda 10.2
I'm having the same problem. CentOS 7, Cuda 11.0.228, python 4.6, PyTorch 1.6.0. Tried gcc 5.4.0 and 7.3.1
需要安装与cuda版本一致的pytorch