build error:error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
See original GitHub issueRepost (seems like the project is reset)
I faced this error with pytorch 1.2.0
, cuda 10.0
and gcc 5.4.0
.
If you face the same error, try to modify #include <torch/extension.h>
to #include <torch/types.h>
in the following files (*.h
and *.cu
files only):
kaolin/cuda/util.h
kaolin/cuda/cuda_util.h
kaolin/cuda/mesh_intersection_cuda.cu
kaolin/cuda/sided_distance_cuda.cu
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top Results From Across the Web
build error:error: command '/usr/local/cuda/bin/nvcc' failed with ...
It was not the same as 'error: command /usr/local/cuda/bin/nvcc' failed with exit status 1 that lacked with local/cuda . And I finally worked ......
Read more >error: command '/usr/local/cuda/bin/nvcc' failed with exit status ...
These error occur because DCNv2 require torch version 1.4.0 so simply I had degraded torch version after that try to build again.
Read more >error: failed building wheel for torch-sparse - QBExpress
Fix build issues on Windows by eltonzheng Pull Request #2428 error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1, ...
Read more >command ':/usr/local/cuda/bin/nvcc' failed with exit status 1
仔细观察发现, 报错的路径里面多了一个冒号!! unable to execute ':/usr/local/cuda/bin/nvcc': No such file or directory.
Read more >Build error in PyTorch Vision
Hence, I want to build PyTorch Vision in the local system. ... error: command '/opt/cuda/bin/nvcc' failed with exit status 1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @MtlsBart,
I have tried two cases:
and in both cases it worked after the following two fixes:
int MeshIntersectionKernelLauncher(
tovoid MeshIntersectionKernelLauncher(
Note
: the following files should not be modified.Hi,how do you solve this problem?