Unable to build CUDA libtorch

Hey,

Failed to compute shorthash for libnvrtc.so

this should not affect the compiling and it is that CMake does not recognize “Python::Interpreter”.

Regarding the “NVTX3”, you can find the solution at Libtorch, Cannot find NVTX3, find old NVTX instead - #2 by weitaoliu.

Also, according to your log, the CUDA version is 12.6 not 12.4.

Best, Weitao.