Open binh-vu opened 6 years ago
Hi, can you list the commands for building with CUDA? I followed the installation guide but failed. Here is the error message I got. I don't have caffe2 installed on my machine by the way.
CMake Error at /home/pharrell/codebase/github/ATen/cmake/public/utils.cmake:5 (set): set given invalid arguments for CACHE mode. Call Stack (most recent call first): /home/pharrell/codebase/github/ATen/cmake/Dependencies.cmake:410 (caffe2_update_option) CMakeLists.txt:78 (include)
CMake Error at /home/pharrell/codebase/github/ATen/cmake/public/utils.cmake:5 (set): set given invalid arguments for CACHE mode. Call Stack (most recent call first): /home/pharrell/codebase/github/ATen/cmake/Dependencies.cmake:427 (caffe2_update_option) CMakeLists.txt:78 (include)
CMake Error: File /home/pharrell/codebase/github/ATen/cmake/../caffe2/core/macros.h.in does not exist. CMake Error at /home/pharrell/codebase/github/ATen/cmake/Codegen.cmake:9 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): src/ATen/CMakeLists.txt:6 (include)
My machine has cuda install at: /usr/local/cuda; it's fine when I build with cuda. However, if I don't want to build it with cuda
cmake .. -DNO_CUDA=1
I get following errors:
Because of this
in src/ATen/test/CMakeLists.txt