Skip to content
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 #13

Open
seventeen17yuan opened this issue Oct 5, 2024 · 0 comments
Open

ninja: build stopped #13

seventeen17yuan opened this issue Oct 5, 2024 · 0 comments

Comments

@seventeen17yuan
Copy link

Hello, when I run this code, I have a problem like this:
D:\Anaconda\python.exe D:\PycharmProject\ssn-pytorch-master\inference.py
compile cuda source of 'pair_wise_distance' function...
NOTE: if you avoid this process, you make .cu file and compile it following https://pytorch.org/tutorials/advanced/cpp_extension.html
Traceback (most recent call last):
File "D:\Anaconda\Lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build
subprocess.run(
File "D:\Anaconda\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:
....
.....
.....
ninja: build stopped: subcommand failed.

I also found some solutions on the Internet for this problem, but they have not been able to solve it, have you encountered a similar problem, can you see how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant