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: Not compiled with GPU support #48

Open
1N2602000 opened this issue Jul 13, 2023 · 5 comments
Open

RuntimeError: Not compiled with GPU support #48

1N2602000 opened this issue Jul 13, 2023 · 5 comments

Comments

@1N2602000
Copy link

1N2602000 commented Jul 13, 2023

Hi~ I have a problem when i trying to run the demo model.Did anyone run into this problem before?
I have no clue how to solve it. QQ
image

I check my pytorch it can use cuda as well
image

@wymanCV
Copy link
Contributor

wymanCV commented Jul 13, 2023

@1N2602000
Hi, thanks for your interest. It seems that your project has not been compiled with CUDA, indicating the failure in this step. It is necessary to make sure the CUDA environment is correct during compiling. You can check with nvcc -v.
Moreover, it seems that you use the Windows system. It may need some other operations, as shown here.

@1N2602000
Copy link
Author

Thanks for your advice! It work just just fine when I check my cuda run properly.

@1N2602000
Copy link
Author

but something wrong with ninja , so I uninstall it and build can run just fine. I'm not sure about what ninja work in this project. Did it is necessary to install ninja? When I use ninja build will fail, but when I uninstall it build run successfully. That confused me.

@wymanCV
Copy link
Contributor

wymanCV commented Jul 20, 2023

but something wrong with ninja , so I uninstall it and build can run just fine. I'm not sure about what ninja work in this project. Did it is necessary to install ninja? When I use ninja build will fail, but when I uninstall it build run successfully. That confused me.

Hi, I think the ninja lib does not matter if you can successfully run the code. Thanks!

@xzb666
Copy link

xzb666 commented Oct 21, 2023

Hi~ I have a problem when i trying to run the demo model.Did anyone run into this problem before? I have no clue how to solve it. QQ image

I check my pytorch it can use cuda as well image

您好,我想咨询一下您使用的是哪个版本的GPU,太高版本的GPU编译环境总是出现很多问题

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