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

CUDA可用,但是推理时还是用的CPU #341

Open
sxsp opened this issue Aug 9, 2024 · 0 comments
Open

CUDA可用,但是推理时还是用的CPU #341

sxsp opened this issue Aug 9, 2024 · 0 comments

Comments

@sxsp
Copy link

sxsp commented Aug 9, 2024

代码如下
7ae6bec1569e16699816e084e7d462d
Loading checkpoint shards时会报下面的warning
image
可用推理,但是似乎用的是cpu
但我的cuda显示gpu是可用的(如下
image
为什么呀

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