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

gpushare获取到的GPU总内存 #73

Closed
Mryangwenming opened this issue Nov 7, 2019 · 2 comments
Closed

gpushare获取到的GPU总内存 #73

Mryangwenming opened this issue Nov 7, 2019 · 2 comments

Comments

@Mryangwenming
Copy link

我的显卡内存是6g,但是gpushare获取到的内存总资源是5g,请问这个是有1g内存的预留吗? 还是预留的内存是按照总内存的比例来进行预留的? 期待您的回复.

@illusion202
Copy link

MiB到GiB的计算方法是除以1024后向下取整(/pkg/gpu/nvidia/nvidia.go setGPUMemory),可以用nvidia-smi命令看一下显卡有多少MiB

@Mryangwenming
Copy link
Author

哦哦,明白了,谢谢您.

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