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

Error: ninja: build stopped: subcommand failed. #26

Open
Ibraheem951 opened this issue Dec 1, 2022 · 2 comments
Open

Error: ninja: build stopped: subcommand failed. #26

Ibraheem951 opened this issue Dec 1, 2022 · 2 comments

Comments

@Ibraheem951
Copy link

Hi, I'm getting error when i run inference.py file. The error occurs when the following line runs inside fusec_act.py
fused = load(
'fused',
sources=[
os.path.join(module_path, 'fused_bias_act.cpp'),
os.path.join(module_path, 'fused_bias_act_kernel.cu'),
],
)

I suspect that this is an issue with gcc. Can you please share the build that was used by you guys when you ran this?

@shoang22
Copy link

shoang22 commented Dec 15, 2022

I received the same error. Echoing @Ibraheem951 's request for the build configuration.

@buaajky
Copy link

buaajky commented Mar 2, 2023

RuntimeError: Error building extension 'fused': ninja: error: '/StyleHEAT/models/stylegan2/op/fused_bias_act.cpp', needed by 'fused_bias_act.o', missing and no known rule to make it

I get this error.

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

3 participants