已合并
HOST内存统计API对齐社区 #29054
luanchaowei创建于 1月5日
HOST内存统计API对齐社区 #29054
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 luanchaowei 的贡献)1月5日 创建了 pull request,commit e5e19bfc
ascend-robot
1月5日 评论:
1月5日 评论:
AtlasAccount
1月5日 评论:
1月5日 评论:
ascend-robot
1月5日 评论:
1月5日 评论:
以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| repo-Ascend/pytorch | ShaoFeifan, zqwenn, huangyunlong2022, dilililiwhy, SCh_zx | yangkaixin, guoqi1024, li_jing_hw, chenhao_1209, yanpengquan |


1月5日 添加了label:stat/needs-squash
此处折叠了67条消息 查看更多
1月8日 添加了label:lgtm
1月8日 添加了label:approved
ascend-robot
1月8日 评论:
1月8日 评论:
Review Guide
This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: wangchao430, wasd1111222.
Reviewers who wrote a comment of /lgtm are: wangchao430, wasd1111222.


1月8日 合入了pull request
What type of PR is this?
What does this PR do / why do we need it:
1.torch_npu.npu. empty_pin_memory_cache()更名为torch_npu.npu.host_empty_cache()
2.torch_npu.npu.pin_memory_stats()更名为torch_npu.npu.host_memory_stats()
3.删除torch_npu.npu.pin_memory_allocated()和torch_npu.npu.pin_memory_reserved()
4.补齐torch_npu.npu.host_memory_stats()其他指标
5.新增:torch_npu.npu.host_memory_stats_as_nested_dict()
torch_npu.npu.reset_accumulated_host_memory_stats()
torch_npu.npu. reset_peak_host_memory_stats()
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewers: