Closed yz103 closed 1 year ago
Would you know the correct path to nvcc installed into your environment?
At glance that duplicate "bin" looks not good though.
Yeah, the path to nvcc is /usr/local/cuda/bin/nvcc
I know something is messed up for the nvcc path but haven't figured it out yet.
On Mon, May 8, 2023 at 11:36 AM Masaki Kozuki @.***> wrote:
Would you know the correct path to nvcc installed into your environment?
At glance that duplicate "bin" looks not good though.
— Reply to this email directly, view it on GitHub https://github.com/NVIDIA/apex/issues/1657#issuecomment-1537691901, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIYSXRSE6PKZODNMVBDNHDXFBS5JANCNFSM6AAAAAAXZKSDWU . You are receiving this because you authored the thread.Message ID: @.***>
-- Yiwei Zhu Yantai, China Tel: +86 18939820651 Website: https://yz103.github.io/yiwwwy/
so the installed path itself looks quite common.
Could you check some environment variables that could have something to do with, for example, CUDA_HOME
and PATH
are correctly set?
Thank you very much for your comments.
echo $CUDA_HOME /usr/local/cuda/bin echo $PATH /home/dell/.vscode-server/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/remote-cli:/home/dell/anaconda3/envs/retmol/bin:/home/dell/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/lib64:/usr/local/cuda/extras/CPUTI/lib64:/usr/local/cuda/bin:/usr/local/cuda/lib64:/usr/local/cuda/extras/CPUTI/lib64:/usr/local/cuda/bin
On Mon, May 8, 2023 at 2:24 PM Masaki Kozuki @.***> wrote:
so the installed path itself looks quite common.
Could you check some environment variables that could have something to do with, for example, CUDA_HOME and PATH are correctly set?
— Reply to this email directly, view it on GitHub https://github.com/NVIDIA/apex/issues/1657#issuecomment-1537821290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIYSXTDJOEV5FPOJEU3YITXFCGQLANCNFSM6AAAAAAXZKSDWU . You are receiving this because you authored the thread.Message ID: @.***>
-- Yiwei Zhu Yantai, China Tel: +86 18939820651 Website: https://yz103.github.io/yiwwwy/
could you try CUDA_HOME=/usr/local/cuda
?
Yeah it can find cuda now. Thank you very much for your help.
Best wishes, Yiwei
On Mon, May 8, 2023 at 11:41 PM Masaki Kozuki @.***> wrote:
could you try CUDA_HOME=/usr/local/cuda?
— Reply to this email directly, view it on GitHub https://github.com/NVIDIA/apex/issues/1657#issuecomment-1538605830, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIYSXRBIW3P4LE3K667I7LXFEHZ3ANCNFSM6AAAAAAXZKSDWU . You are receiving this because you authored the thread.Message ID: @.***>
-- Yiwei Zhu Yantai, China Tel: +86 18939820651 Website: https://yz103.github.io/yiwwwy/
which nvcc show that the path for nvcc is /usr/local/cuda/bin/nvcc
when running "python setup.py install --cuda_ext --cpp_ext "
how could I solve this problem? Thank you very much for your help.