-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
ninja: build stopped: subcommand failed. #18993
Comments
Please provide the full logs, this does not contain the actual compile error. |
I ran into the same problem and the following is my full log. Building wheel torch-1.1.0a0+df05c7f |
@yiling-chen please open a new issue using this template: https://github.com/pytorch/pytorch/issues/new?template=bug-report.md |
@soumith when I build libtorch meet the same issue: caffe2/CMakeFiles/caffe2.dir//aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.DEFAULT.cpp.DEFAULT.cpp.o:(.data.rel.local+0x0): first defined here |
I met the same issue as well |
@deisler134 @yiling-chen Have you solved it? I have exactly the same error log as yours. @soumith is there any steps we can take to solve it? |
I have same problem. ninja: build stopped: subcommand failed. |
Did you solve the problem.I have same problem. |
**
** |
The same problem |
Any solution for this? |
I noticed similar error on WSL2 when the compilation hit memory limits. I was able to solve by increasing the RAM |
me too, now, when python setup.py install |
🐛 Bug
[446/3104] Building CXX object third_party/fbgemm/CMakeFiles/fbgemm_avx2.dir/src/FbgemmI8DepthwiseAvx2.cc.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "setup.py", line 719, in
build_deps()
File "setup.py", line 285, in build_deps
build_dir='build')
File "/home/prjs/tmp/pytorch/tools/build_pytorch_libs.py", line 278, in build_caffe2
check_call(ninja_cmd, cwd=build_dir, env=my_env)
File "/root/miniconda3/envs/py35/lib/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', 'install']' returned non-zero exit status 1
The text was updated successfully, but these errors were encountered: