已关闭
代码优化,修改注释、变量名和补充日志 #1523
zhaoyu65创建于 1月26日关闭于 2月3日
1月29日 关联了pull request:record query event error and add device_capability cache
1月30日 关联了pull request:record query event error and add device_capability cache
1月30日 关联了pull request:record query event error and add device_capability cache
1月30日 关联了pull request:record query event error and add device_capability cache
1月30日 关联了pull request:record query event error and add device_capability cache
1月31日 修改了issue 的描述
1月31日 关联了pull request:add torch_npu.npu.memory._dump_snapshot usage
zhaoyu65
2月3日 评论:
2月3日 评论:
已修改


2月3日 issue状态由 TODO 改变为 DONE
2月3日 关闭了 issue
2月3日 添加了label:resolved
1、torch_npu/csrc/distributed/ProcessGroupHCCL.cpp中currentLoopErrors变量名表达不准确,建议修改成checkErrors之类的;
2、torch_npu.npu.get_device_capability的告警信息拼写错误,cann->cann。
3、torch_npu.npu.get_device_capability可以把匹配成功的信息保存下来,提高性能。
4、torch_npu/csrc/core/npu/CachingHostAllocator.cpp,增加注释说明通过try、catch捕获event query失败的原因;
5、torch_npu/csrc/core/npu/CachingHostAllocator.cpp,catch的run_time错误信息补充到plog日志里;
6、资料内存快照一节中,添加torch_npu.npu._dump_snapshot的使用样例