Closed Nayef211 closed 2 years ago
@Nayef211 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@wenleix any suggestions on fixing the CI error? From the error message, the build thinks we're using CUDA even though I'm explicitly installing the cpu version of torch
.
CMake Error at /home/runner/.local/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:90 (message):
Your installed Caffe2 version uses CUDA but I cannot find the CUDA
libraries. Please set the proper CUDA prefixes and / or install CUDA.
Call Stack (most recent call first):
/home/runner/.local/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
csrc/velox/CMakeLists.txt:73 (find_package)
cc @mthrok
@wenleix any suggestions on fixing the CI error? From the error message, the build thinks we're using CUDA even though I'm explicitly installing the cpu version of
torch
.CMake Error at /home/runner/.local/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:90 (message): Your installed Caffe2 version uses CUDA but I cannot find the CUDA libraries. Please set the proper CUDA prefixes and / or install CUDA. Call Stack (most recent call first): /home/runner/.local/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package) csrc/velox/CMakeLists.txt:73 (find_package)
cc @mthrok
The change list looks okay, and the CI log indeed says it is installing CPU version. And I expect this kind of issue from CUDA-enabled torch installation. So I am not sure why.
This pull request was exported from Phabricator. Differential Revision: D36481571
This pull request was exported from Phabricator. Differential Revision: D36481571
This pull request was exported from Phabricator. Differential Revision: D36481571