Closed wytcsuch closed 2 years ago
Hello and thank you for your interest.
This is strange, it is failing to compile but I don't see exactly what part of the extension is causing that. I believe we have tried both Python 3.7 and 3.8 with torch 1.11 and in both cases NATTEN compiles. You did state that you're on CUDAv10.1, and as fas as I'm aware the latest torch version with the same version CUDA toolkit was 1.8.1, so this might be the root cause. Can you confirm the version of your torch and the cuda toolkit with it? That would help us try to reproduce the issue on our end so we can debug it. As far as I'm seeing torch 1.11 appears to have been built for three toolkits only: v10.2, 11.3, and 11.5. Just want to confirm which one you're on.
To get those, you can simply run:
python3 -c "import torch; print(torch.__version__); print(torch._C._cuda_getCompiledVersion())"
and this to get the actual CUDA driver version:
nvcc --version
I can confirm that I tried a docker image with CUDA v10.1, installed pytorch, and all the other requirements directly using the requirements.txt file, and it built successfully.
python3 -c "import torch; print(torch.version); print(torch._C._cuda_getCompiledVersion())"
Thank you very much for your reply!
And I have changed the torch version to 1.8.0, and this error also happened.This is indeed a very strange erro
I would recommend staying on torch 1.11, since we've found it to yield the best performance. As far as this issue goes, I believe it's been a know issue that PyTorch users have had when using ninja on CUDA v 10.1.105, which is what you happen to be on. Can you try some of the fixes reported in PyTorch issue # 1893, specifically this suggestion?
I would recommend staying on torch 1.11, since we've found it to yield the best performance. As far as this issue goes, I believe it's been a know issue that PyTorch users have had when using ninja on CUDA v 10.1.105, which is what you happen to be on. Can you try some of the fixes reported in PyTorch issue # 1893, specifically this suggestion?
Hi, I change CUDA to version 10.2, which seems to solve the problem
Thank you for your good job, however there is an erro when I build CUDA extension. torch = 1.11.0 python = 3.7 cuda = 10.1