LibtorchTutorials icon indicating copy to clipboard operation
LibtorchTutorials copied to clipboard

cuda 11.0 is not supported?

Open henbucuoshanghai opened this issue 2 years ago • 1 comments

I download libtorch,and unzip it .

libtorch/include/c10/cuda/CUDAStream.h:6:10: fatal error: cuda_runtime_api.h: No such file or directory #include <cuda_runtime_api.h> ^~~~~~~~~~~~~~~~~~~~ compilation terminated.

why,tks

henbucuoshanghai avatar Jun 22 '22 06:06 henbucuoshanghai

Please ensure your CUDA toolkit is installed and the environment variable is set.

AllentDan avatar Jun 22 '22 07:06 AllentDan