Open gymoon10 opened 1 year ago
This means that cuda_dir
is not found. It is likely that you enables global option --cuda_ext
but lack development environment of cuda. You may probably have installed cudatoolkit
from conda/mamba/pip, which only provides CUDA runtime.
You can refer to the official guide to install nvcc
which provides the cuda dev environment. Or simply use
conda install cudatoolkit-dev=<VERSION>
where <VERSION>
ought to be same as the version of your cudatoolkit
if you installed it. You may check if you have successfully installed nvcc
by nvcc --version
.
You can also omit the option --cuda_ext
with the loss of some performance so that you do not need extra lib.
cuda 11.7 python3.7.6 torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1
unzip apex.zip cd apex
1、install no cuda python setup.py install
2、 install with cuda python setup.py install --cuda_ext The compilation process is very long, at least ten minutes, and the CPU and memory footprint is 8c 8G
Thank you for your quick and kind reply.
I tried to install apex with window and torch.version = 1.13.1+cu117. I followed the commands but it did not works.
The total error message shows as below. I'm sorry to bother you, but I'd appreciate your help. Thank you for your hard works.