when i building your code with 'python setup.py build_ext --inplace', the CalledProcessError is happened, as
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/sl/anaconda3/envs/py3.7/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1672, in _run_ninja_build
env=env)
File "/home/sl/anaconda3/envs/py3.7/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
Google's suggestion is that this problem is related to the pytorch version. You need to reduce the pytorch version to below 1.5.0. But your code need PyTorch 1.9 or higher.
How can I solve this problem?
Could you please give me the suggestions?
Looking forward to your reply.
my Environment
Linux (tested on Ubuntu 18.04)
Python 3.7
PyTorch 1.9 .1
CUDA 10.2
when i building your code with 'python setup.py build_ext --inplace', the CalledProcessError is happened, as
Google's suggestion is that this problem is related to the pytorch version. You need to reduce the pytorch version to below 1.5.0. But your code need PyTorch 1.9 or higher.
How can I solve this problem? Could you please give me the suggestions? Looking forward to your reply.