Closed Ujs113 closed 1 year ago
Which version of gcc and PyTorch are you using?
As I have mentioned, it is pytorch 1.13.1.
For gcc it is 12. I am not currently at my system so I don't know the minor version numbers. I will update once I am on it.
Edit: It is 12.2.1
I am using pytorch 1.13 + cu11.7.
Your PyTorch is compiled against cuda 11.7.
Build cuda_12.1.r12.1/compiler.32415258_0
However, your nvcc
shows you are using cuda 12.1
Edit: It is 12.2.1
Is there only one GCC on your system?
Could you remove the build
directory and run the installation again? It will display the actual GCC that it is using in the log.
This is what it gives when running it again:
-- C++ Standard version: 14
-- Enabled languages: CXX;CUDA
-- The CXX compiler identification is GNU 12.2.1
-- The CUDA compiler identification is NVIDIA 12.1.66
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
However, your nvcc shows you are using cuda 12.1
Does this mean that I have to install cuda 11.7 to use this library?
It works when I do it within a container using CUDA 11.7. Thanks!
While installing fast_rnnt, I get the following error, both while installing via pip as well as for the manual installation:
I am using pytorch 1.13 + cu11.7. nvcc --version returns the following:
Any help is appreciated.