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

映射文档 No. 352/353 #6014

Merged
merged 1 commit into from
Jul 18, 2023
Merged

映射文档 No. 352/353 #6014

merged 1 commit into from
Jul 18, 2023

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 13, 2023

PaddlePaddle/PaConvert#112

352 torch.cuda.memory_usage
353 torch.cuda.mem_get_info

paddle无匹配api
paddle 有paddle.device.cuda.memory_allocated, paddle.device.cuda. memory_reserved 获取已分配和 Allocator 管理的显存大小
和torch获取信息不同,torch获取总内存,和空闲内存

@paddle-bot
Copy link

paddle-bot bot commented Jul 13, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6014.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@zhwesky2010 zhwesky2010 merged commit a51144c into PaddlePaddle:develop Jul 18, 2023
@co63oc co63oc deleted the doc0713 branch July 25, 2023 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants