Distracting cmake warnings if `PYTHON_EXECUTABLE` is not set when building `torchlib`
haruhi55 opened this issue · comments
I encounter some harmless but distracting cmake warnings as shown below if PYTHON_EXECUTABLE
is not set when building torchlib
CMake Warning at ~/.local/lib/python3.11/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:184 (message):
Failed to compute shorthash for libnvrtc.so
Call Stack (most recent call first):
~/.local/lib/python3.11/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:87 (include)
~/.local/lib/python3.11/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:28 (find_package)