You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_CUDNN_LIBRARY
Currently, the mirage installation has not been fully tested on WSL.
Could you try installing mirage from source, and show your full cmake logs?
In my Ubuntu Linux docker, cmake will find CUDA and output following logs:
-- CMake Version: 3.30.2
-- CUDART: /usr/local/cuda/lib64/libcudart.so
-- CUDA Driver: /usr/local/cuda/lib64/stubs/libcuda.so
-- NVRTC: /usr/local/cuda/lib64/libnvrtc.so
-- CUDA_INCLUDE_DIRS=/usr/local/cuda/include
-- Found CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda
-- Found CUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so
-- Found CUDA_CUDART_LIBRARY=/usr/local/cuda/lib64/libcudart.so
-- Found CUDA_NVRTC_LIBRARY=
-- Found CUDA_CUDNN_LIBRARY=/usr/lib/x86_64-linux-gnu/libcudnn.so
-- Found CUDA_CUBLAS_LIBRARY=/usr/local/cuda/lib64/libcublas.so
-- CUDA_INCLUDE_DIR=/usr/local/cuda/include
-- Z3_FOUND: 1
-- Found Z3 4.13.1.0
-- Z3_DIR: /path/to/mirage/deps/z3/build
-- Using the multi-header code from /path/to/mirage/deps/json/include/
-- Configuring done (0.2s)
-- Generating done (0.2s)
-- Build files have been written to: /path/to/mirage/build
CUDA_CUDNN_LIBRARY can be set when finding CUDA Toolkit. You can also modify this cmake file to check whether CUDA_TOOLKIT_ROOT_DIR is properly set. Thanks for your feedback!
在micromamba环境下使用
pip install mirage
一直报的错误,实际上
echo $CUDA_CUDNN_LIBRARY
结果为'/envs/torch/lib/libcudnn.so'。wsl2系统为Debian GNU/Linux 12
nvcc -V
命令结果为The text was updated successfully, but these errors were encountered: