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

RuntimeError: Error building extension 'bias_act_plugin': [1/2] #219

Open
asoulbone opened this issue Feb 25, 2023 · 1 comment
Open

RuntimeError: Error building extension 'bias_act_plugin': [1/2] #219

asoulbone opened this issue Feb 25, 2023 · 1 comment

Comments

@asoulbone
Copy link

asoulbone commented Feb 25, 2023

Describe the bug
first, if you dont care the speed ,could use #142 ,modify the file "custom_os.py" device=torch.device(cpu),it could work for me.

and then i study why gpu get this error. i found that i couldnt build "bias_act_plugin",and i inspect the bias_act.cpp, it amazes me that gcc coundnt find includes(invovle"torch/extension.h,ATen/cuda/……")

i guess the error should because this .and originally, i think may that because i install torch by download wheel?

any idea please! i'm much appreciate.

Desktop (please complete the following information):

  • OS: Windows 11
  • PyTorch version 1.12.0
  • CUDA toolkit version 11.6
  • MVS 2022
  • NVIDIA driver version
  • GPU 1660ti

Additional context
Add any other context about the problem here.

@Han-duoduo
Copy link

i meet the same issue

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

2 participants