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

代码调用GPU的效率是不是很拉跨啊 #25

Open
Hasebe17 opened this issue Apr 28, 2021 · 4 comments
Open

代码调用GPU的效率是不是很拉跨啊 #25

Hasebe17 opened this issue Apr 28, 2021 · 4 comments

Comments

@Hasebe17
Copy link

模型跑的时候GPU只用了253M,CPU倒是能占用1400%。。。
把batch_size调大CPU直接OOM了,GPU却一点事都没有
模型就是把GPU拉来看个热闹?

@Hasebe17 Hasebe17 changed the title 代码调用GPU的效率是不是太低了 代码调用GPU的效率是不是很拉跨啊 Apr 28, 2021
@drzqb
Copy link

drzqb commented May 6, 2021

怀疑你的gpu是否真的启动了,我的16g显存几乎占满了

@Hasebe17
Copy link
Author

Hasebe17 commented May 6, 2021

怀疑你的gpu是否真的启动了,我的16g显存几乎占满了

hxd有做什么设置吗?我别的代码都没动,就关了horovod的分布式学习

@caijie12138
Copy link

怀疑你的gpu是否真的启动了,我的16g显存几乎占满了

hxd有做什么设置吗?我别的代码都没动,就关了horovod的分布式学习

同样关了horovod的分布式学习,GPU的利用率直接变成0了。

@YsylviaUC
Copy link

欸,我也是关了horovod之后没有调用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

4 participants