Open zhouha24 opened 2 years ago
The cpp_extensions.py file is from PyTorch, right? Mind filing a bug against https://github.com/pytorch/pytorch if you think this is clearly a bug in PyTorch?
I made the same mistake as you, but according to your method, I still haven't solved this mistake
I made the same mistake as you, but according to your method, I still haven't solved this mistake
if you check ninja command 'ninja --help' you can see '-v' means '--verbose'. Change '-v' in line 1631 to '--verbose' it should work.
This doesn't work either
nothing works!
you can use '--version' instead of '-v'
Describe the bug ubuntu 20.04 When I was executing
I got ImportError with missing 'bias_act_plugin.so'. Following Troubleshooting I found two errors in 'cpp_extensions.py' that caused this bug: on line 1890 which causes in 'build.ninja', "nvcc = :/usr/local/cuda/bin/nvcc"
config.append(f"nvcc = {nvcc}")
and on line 1631 which causes missing '*.so'command = ['ninja', '-v']
How To Fix this Change line 1890 toconfig.append(f"nvcc = {nvcc[1:]}")
and line 1631 tocommand = ['ninja']