pytorch / extension-cpp

C++ extensions in PyTorch
1.02k stars 214 forks source link

error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1 #40

Open zhengge opened 5 years ago

zhengge commented 5 years ago
zhhezhhe commented 5 years ago
  • OS: ubuntu 16.04.10
  • PyTorch version: 1.0.1
  • How you installed PyTorch (conda, pip, source): conda
  • Python version: 3.6.4
  • CUDA version: 9.0.176
  • GCC version (if compiling from source): 5.4.0

This may help you! https://github.com/pytorch/extension-cpp/issues/35#issuecomment-497935880

jayzhan211 commented 4 years ago

I meet the same problem, but replace or add #include <torch/types.h> https://github.com/pytorch/extension-cpp/issues/35#issuecomment-497935880 still cant solve the problem

ClementPinard commented 4 years ago

what are your OS, python, pytorch, CUDA and GCC versions ? what is the full build log ?