-
Notifications
You must be signed in to change notification settings - Fork 425
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
fatal error: c10/cuda/impl/cuda_cmake_macros.h: No such file or directory #202
Comments
(base) wg@wg-MS-7B98:~$ nvcc -V |
I have encountered the similar errors. Did you solve your problem? |
Yes, I found my problem. When I installed pytorch, I changed the mirror source, and the source version installed the pytorch-CPU version by default. I switched to the GPU version and it worked successfully
to detect if pytorch can be called Otherwise, the error may also be |
although I have installed the pytorch (torch 1.10.1 ;torchfile 0.1.0 ;torchvision 0.11.2 ), but when I used I got the below: python3
also I have several errors like below when I am running " bash build_and_install.sh" : /usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’ Maybe the path I haven't set ? |
|
I tried to run pointRCNN, but encountered some problems in the process, I would like to ask
Environment: ubuntu16.04LTS desktop
cuda10.0
cudnn7.1.3
pytorch1.1
anaconda
python3.6
I ran this pointRCNN in a virtual environment created by anaconda. The cuda environment is set up. The final result of entering nvcc -V or compiling NVIDIA_CADA-9.0_Sampless is also PASS, but it appears in sh built_and_install.sh fatal error: c10/cuda/impl/cuda_cmake_macros.h. Can not compile successfully, I don't know if you have any ideas.
I am now wondering if anaconda itself comes with a gcc (7.5.0) compiler version that is too high, but my gcc compiler of ubuntu itself is 5.4.0, and I am running in the virtual environment created by anaconda Is its built-in compiler
This is the environment I configured for cuda on etc/profile
The text was updated successfully, but these errors were encountered: