-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error! #34
Comments
Hey, it seems that you are building on Windows. This is currently not supported (only linux). However, you can try if this helps: #4 Other have reported to run it under WSL. |
Solved for you? |
I will test on wsl and comment here the result |
I spent a few hours trying to install cuda toolkit 11.8 or higher, it is installed now but still there is error
|
The error says that it only finds cuda 11.5. So you either have to update the LD_LIBRARY_PATH properly (assuming that your installation is correct) or you can try to edit the CMakeLists.txt and set the requirement to 11.5 (untested). For the first option please follow the cuda Installation guide that NVIDIA provides. It is straight forward but you may not leave any steps out! |
I have completely removed all cuda, and installed using this link https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#installing-cuda-using-conda
|
UPDATE:
|
Here you go. It clearly states what is going on . Something seems wrong with your CUDA installation. It is akward that it is located within a anaconda path. |
well I start a fresh wsl, and start installing from scratch, after installing bunch of missing dependencies, I got this error cmake --build build -- -j |
Looks good to me. Its killed. You should maybe build with fewer cpus |
there is 2 error at the end and this file is not being generated |
What hardware (gpu) do you use? Compute capability 86 -> 3080, 3090? |
Processor AMD Ryzen 7 5800X |
In theory it should work and there are people who have made it work. However, as I don't support windows for now and I do not have a win installation on my computer, there is little I can do about it. That might change in the future. I'll close this issue since I won't investigate it further. If you figured it out, you are invited to post a installation guide. |
@kenculate Did you ever get this working? |
I can't remember, but probably stopped trying! |
cmake -B build -DCMAKE_BUILD_TYPE=Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The CUDA compiler identification is NVIDIA 12.1.66
-- The CXX compiler identification is MSVC 19.30.30706.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/bin/nvcc.exe - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building with 14 out of 16 available cores
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1 (found version "12.1")
-- Caffe2: CUDA detected: 12.1
-- Caffe2: CUDA nvcc is: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/bin/nvcc.exe
-- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1
-- Caffe2: Header version is: 12.1
-- C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64/nvrtc.lib shorthash is bac8224f
-- USE_CUDNN is set to 0. Compiling without cuDNN support
-- Autodetected CUDA architecture(s): 8.6
-- Added CUDA NVCC flags for: -gencode;arch=compute_86,code=sm_86
CMake Warning at external/libtorch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library c10_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
external/libtorch/share/cmake/Torch/TorchConfig.cmake:70 (append_torchlib_if_found)
CMakeLists.txt:100 (find_package)
CMake Warning at external/libtorch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
external/libtorch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found)
CMakeLists.txt:100 (find_package)
CMake Error at external/libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Torch (missing: TORCH_LIBRARY)
Call Stack (most recent call first):
external/libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
external/libtorch/share/cmake/Torch/TorchConfig.cmake:190 (find_package_handle_standard_args)
CMakeLists.txt:100 (find_package)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: