| 【bugfix】修复nan check开关执行不稳定的问题 Co-authored-by: Tjh-UKN<2559659915@qq.com> # message auto-generated for no-merge-commit merge: !845 merge fix/nan-check-remove-overflow-switch-master into master 【bugfix】修复nan check开关执行不稳定的问题 Created-by: Tjh-UKN Commit-by: Tjh-UKN Merged-by: ascend-robot Description: # Pull Request ## Description Remove overflow switch toggling from ccsrc/nan_check/nan_check.cpp. ## Change type - [x] Bug fix - [ ] New feature - [ ] Code style update - [ ] Refactor - [ ] Build or tool change - [ ] Documentation update ## Related issue Closes #413 ## How to test - build nan_check module - verify npu_over_flow only reads overflow status - verify npu_clear_over_flow only clears overflow status ## Checklist - [x] Code follows project style - [x] Self-check completed - [ ] Documentation update not needed See merge request: Ascend/msprobe!845 | 3 天前 |
| [master]adump模块日落 Co-authored-by: jiangchaoj<chaojiang_j@163.com> # message auto-generated for no-merge-commit merge: !832 merge master-del_adump into master [master]adump模块日落 Created-by: jianchaoj Commit-by: jiangchaoj Merged-by: ascend-robot Description: # PR 合入模板 **注:经过自检不涉及的可标注“不涉及”或直接打勾,特殊情况请文字备注。不符合规范的 PR 不允许合入,请(后备)commit 注意。** ## 1. 修改描述 - **修改原因:** MindSpore不再支持ge_backend模式,msProbe同步移除依赖该模式得adump模块 - **修改内容:** - 删除adump源码、编译代码。修改工具安装指南 - 移除MindSpore ge_backend模式下的Dump功能,保留ms_backend模式下的Dump功能。删除配置文件中的"file_format"参数,修改对应资料 - 移除MindSpore ge_backend模式下的溢出检测功能,保留ms_backend模式下的异常Dump功能。删除配置文件中的"overflow_check" task,修改对应资料 - 移除MindSpore动态图模式下,API Kernel Dump功能。修改对应资料 ## 2. 功能验证 - 编译  - PyTorch Dump  - PyTorch overflow_check  - MindSpore 动态图Dump  - MindSpore 静态图L0 Dump  - MindSpore 静态图L2 Dump  - MindSpore overflow_check  - MindSpore 动态图L2 Dump  ## 3. 分支合并要求 同步合入master、26.1.0分支 ## 3. 代码检视 - **要求:** - 合入代码超过 200 行,需三人以上会议检视。 - 检视密度≥1个/100行。 - 检视缺陷密度未达要求需提供说明。 - 大于 1000 行代码原则上不允许合入,需进行备案。 - [x] **是否经过代码检视** - [x] **是否具备 UT 测试用例看护** (如不符合,请说明原因:____________________) ## 4. 变更知会 - [x] **资料修改** - [x] **变更通知(消息知会 + 邮件知会)** See merge request: Ascend/msprobe!832 | 3 天前 |
| 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Co-authored-by: mnhdxnh<947098055@qq.com> # message auto-generated for no-merge-commit merge: !859 merge master into master 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Created-by: gcw_De30XO7A Commit-by: mnhdxnh Merged-by: ascend-robot Description: 【重构】融合算子预检改为配置化注册,支持用户通过 YAML 添加自定义融合算子  运行代码得到 dump.json import os os.environ['ASCEND_RT_VISIBLE_DEVICES'] = '7' import json, torch, torch_npu from msprobe.pytorch import PrecisionDebugger dump_dir = '/tmp/msprobe_test/dump_gelu_mul' os.makedirs(dump_dir, exist_ok=True) config = {"task": "statistics", "level": "L1", "dump_path": dump_dir, "list": ["npu_gelu_mul"]} with open('/tmp/msprobe_test/cfg_gelu_mul.json', 'w') as f: json.dump(config, f) debugger = PrecisionDebugger(config_path='/tmp/msprobe_test/cfg_gelu_mul.json') debugger.start() x = torch.randn(2, 4, 16).npu() out = torch_npu.npu_gelu_mul(x) print('NPU output:', out[0, :4]) debugger.stop() print('dump ok') 预检msprobe acc_check -api_info ./dump2.json -o ./ -d 7   配置之前:  会直接跳过 See merge request: Ascend/msprobe!859 | 6 小时前 |
| 目录初始化 Co-authored-by: lichangwei<lichangwei4@huawei.com> | 8 个月前 |
| 目录初始化 Co-authored-by: lichangwei<lichangwei4@huawei.com> | 8 个月前 |
| docs:资料优化 Co-authored-by: cai-weiwei1989<734267852@qq.com> # message auto-generated for no-merge-commit merge: !856 merge master into master docs:资料优化 Created-by: cai-weiwei1989 Commit-by: cai-weiwei1989 Merged-by: ascend-robot Description: docs:资料优化 1、目录结构根据新要求修改,对应更新全部文档链接 2、拼写错误、用词不当等低错修改以及描述优化等 3、资料中涉及torch_npu的**非代码相关**字段统一改为**TorchNPU**;Ascend Extension for PyTorch统一改为Ascend for PyTorch 4、docs/zh/quick_start/pytorch_quick_start.md补充使用conda安装环境说明 See merge request: Ascend/msprobe!856 | 1 天前 |
| 【feature】msprobe适配寄存器读清溢出检测模式 Co-authored-by: l30036321<lvkaimeng@huawei.com> # message auto-generated for no-merge-commit merge: !629 merge master into master 【feature】msprobe适配寄存器读清溢出检测模式 Created-by: lv-kaimeng Commit-by: l30036321;lv-kaimeng Merged-by: ascend-robot Description: nan check See merge request: Ascend/msprobe!629 | 1 个月前 |
| 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Co-authored-by: mnhdxnh<947098055@qq.com> # message auto-generated for no-merge-commit merge: !859 merge master into master 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Created-by: gcw_De30XO7A Commit-by: mnhdxnh Merged-by: ascend-robot Description: 【重构】融合算子预检改为配置化注册,支持用户通过 YAML 添加自定义融合算子  运行代码得到 dump.json import os os.environ['ASCEND_RT_VISIBLE_DEVICES'] = '7' import json, torch, torch_npu from msprobe.pytorch import PrecisionDebugger dump_dir = '/tmp/msprobe_test/dump_gelu_mul' os.makedirs(dump_dir, exist_ok=True) config = {"task": "statistics", "level": "L1", "dump_path": dump_dir, "list": ["npu_gelu_mul"]} with open('/tmp/msprobe_test/cfg_gelu_mul.json', 'w') as f: json.dump(config, f) debugger = PrecisionDebugger(config_path='/tmp/msprobe_test/cfg_gelu_mul.json') debugger.start() x = torch.randn(2, 4, 16).npu() out = torch_npu.npu_gelu_mul(x) print('NPU output:', out[0, :4]) debugger.stop() print('dump ok') 预检msprobe acc_check -api_info ./dump2.json -o ./ -d 7   配置之前:  会直接跳过 See merge request: Ascend/msprobe!859 | 6 小时前 |
| 【bugfix】修复cmp包安装问题 Co-authored-by: l30036321<lvkaimeng@gmail.com> # message auto-generated for no-merge-commit merge: !818 merge master into master 【bugfix】修复cmp包安装问题 Created-by: lv-kaimeng Commit-by: l30036321 Merged-by: ascend-robot Description: 1. 拷贝前进行写权限提权,拷贝后恢复 2. 修改默认安装路径以环境变量为准 See merge request: Ascend/msprobe!818 | 7 天前 |
| 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Co-authored-by: mnhdxnh<947098055@qq.com> # message auto-generated for no-merge-commit merge: !859 merge master into master 【重构】融合算子注册改为配置化,支持用户通过 YAML 添加自定义融合算子 Created-by: gcw_De30XO7A Commit-by: mnhdxnh Merged-by: ascend-robot Description: 【重构】融合算子预检改为配置化注册,支持用户通过 YAML 添加自定义融合算子  运行代码得到 dump.json import os os.environ['ASCEND_RT_VISIBLE_DEVICES'] = '7' import json, torch, torch_npu from msprobe.pytorch import PrecisionDebugger dump_dir = '/tmp/msprobe_test/dump_gelu_mul' os.makedirs(dump_dir, exist_ok=True) config = {"task": "statistics", "level": "L1", "dump_path": dump_dir, "list": ["npu_gelu_mul"]} with open('/tmp/msprobe_test/cfg_gelu_mul.json', 'w') as f: json.dump(config, f) debugger = PrecisionDebugger(config_path='/tmp/msprobe_test/cfg_gelu_mul.json') debugger.start() x = torch.randn(2, 4, 16).npu() out = torch_npu.npu_gelu_mul(x) print('NPU output:', out[0, :4]) debugger.stop() print('dump ok') 预检msprobe acc_check -api_info ./dump2.json -o ./ -d 7   配置之前:  会直接跳过 See merge request: Ascend/msprobe!859 | 6 小时前 |
| 【feat】msprobe编译脚本重构优化 Co-authored-by: curry808<485078529@qq.com> # message auto-generated for no-merge-commit merge: !798 merge master into master 【feat】msprobe编译脚本重构优化 Created-by: curry808 Commit-by: curry808 Merged-by: ascend-robot Description: 【feat】msprobe编译脚本重构优化 See merge request: Ascend/msprobe!798 | 8 天前 |
| 【feature】添加torch_npu融合算子 Co-authored-by: mnhdxnh<947098055@qq.com> # message auto-generated for no-merge-commit merge: !662 merge master into master 【feature】添加torch_npu融合算子 Created-by: mnhdxnh Commit-by: mnhdxnh Merged-by: ascend-robot Description: update See merge request: Ascend/msprobe!662 | 1 个月前 |
| 【资料】适配readdocs Co-authored-by: wugengjun<wugengjun1@huawei.com> # message auto-generated for no-merge-commit merge: !460 merge master_docs into master 【资料】适配readdocs Created-by: wugengjun Commit-by: wugengjun Merged-by: ascend-robot Description: 适配readdocs 效果如下  See merge request: Ascend/msprobe!460 | 3 个月前 |
| 【feature】msProbe支持ATB数据dump-4 Co-authored-by: jiangchaoj<chaojiang_j@163.com> | 5 个月前 |
| 【feature】msprobe add compare Co-authored-by: ylw1234<lwying007@126.com> | 8 个月前 |
| docs:资料优化 Co-authored-by: cai-weiwei1989<734267852@qq.com> # message auto-generated for no-merge-commit merge: !856 merge master into master docs:资料优化 Created-by: cai-weiwei1989 Commit-by: cai-weiwei1989 Merged-by: ascend-robot Description: docs:资料优化 1、目录结构根据新要求修改,对应更新全部文档链接 2、拼写错误、用词不当等低错修改以及描述优化等 3、资料中涉及torch_npu的**非代码相关**字段统一改为**TorchNPU**;Ascend Extension for PyTorch统一改为Ascend for PyTorch 4、docs/zh/quick_start/pytorch_quick_start.md补充使用conda安装环境说明 See merge request: Ascend/msprobe!856 | 1 天前 |
| 【feature】msprobe资料易用性整改 Co-authored-by: wugengjun<wugengjun1@huawei.com> # message auto-generated for no-merge-commit merge: !787 merge master0610 into master 【feature】msprobe资料易用性整改 Created-by: wugengjun Commit-by: wugengjun Merged-by: ascend-robot Description: msprobe资料易用性整改 关键文档易用性评分:  全量文档易用性评分:  See merge request: Ascend/msprobe!787 | 22 天前 |
| 【bugfix】修复nan_test在新编译场景下的使用问题 Co-authored-by: Tjh-UKN<2559659915@qq.com> # message auto-generated for no-merge-commit merge: !852 merge fix/nan-check-vendors-413 into master 【bugfix】修复nan_test在新编译场景下的使用问题 Created-by: Tjh-UKN Commit-by: Tjh-UKN Merged-by: ascend-robot Description: # Pull Request ## Description Preserve python/msprobe/vendors when the current build includes nan_check, so the packaged runtime still contains libcust_opapi.so required by npu_nan_test. ## Change type - [x] Bug fix - [ ] New feature - [ ] Code style update - [ ] Refactor - [x] Build or tool change - [ ] Documentation update ## Related issue Closes #413 ## How to test - trigger python build.py local -e include-mod=nan_check - verify python/msprobe/vendors/customize/op_api/lib/libcust_opapi.so is preserved for nan_check builds - verify non-nan_check builds still clean stale vendors ## Checklist - [x] Code follows project style - [x] Self-check completed - [x] Documentation update not needed See merge request: Ascend/msprobe!852 | 2 天前 |
| [master]adump模块日落 Co-authored-by: jiangchaoj<chaojiang_j@163.com> # message auto-generated for no-merge-commit merge: !832 merge master-del_adump into master [master]adump模块日落 Created-by: jianchaoj Commit-by: jiangchaoj Merged-by: ascend-robot Description: # PR 合入模板 **注:经过自检不涉及的可标注“不涉及”或直接打勾,特殊情况请文字备注。不符合规范的 PR 不允许合入,请(后备)commit 注意。** ## 1. 修改描述 - **修改原因:** MindSpore不再支持ge_backend模式,msProbe同步移除依赖该模式得adump模块 - **修改内容:** - 删除adump源码、编译代码。修改工具安装指南 - 移除MindSpore ge_backend模式下的Dump功能,保留ms_backend模式下的Dump功能。删除配置文件中的"file_format"参数,修改对应资料 - 移除MindSpore ge_backend模式下的溢出检测功能,保留ms_backend模式下的异常Dump功能。删除配置文件中的"overflow_check" task,修改对应资料 - 移除MindSpore动态图模式下,API Kernel Dump功能。修改对应资料 ## 2. 功能验证 - 编译  - PyTorch Dump  - PyTorch overflow_check  - MindSpore 动态图Dump  - MindSpore 静态图L0 Dump  - MindSpore 静态图L2 Dump  - MindSpore overflow_check  - MindSpore 动态图L2 Dump  ## 3. 分支合并要求 同步合入master、26.1.0分支 ## 3. 代码检视 - **要求:** - 合入代码超过 200 行,需三人以上会议检视。 - 检视密度≥1个/100行。 - 检视缺陷密度未达要求需提供说明。 - 大于 1000 行代码原则上不允许合入,需进行备案。 - [x] **是否经过代码检视** - [x] **是否具备 UT 测试用例看护** (如不符合,请说明原因:____________________) ## 4. 变更知会 - [x] **资料修改** - [x] **变更通知(消息知会 + 邮件知会)** See merge request: Ascend/msprobe!832 | 3 天前 |
| 【feat】msprobe编译脚本重构优化 Co-authored-by: curry808<485078529@qq.com> # message auto-generated for no-merge-commit merge: !798 merge master into master 【feat】msprobe编译脚本重构优化 Created-by: curry808 Commit-by: curry808 Merged-by: ascend-robot Description: 【feat】msprobe编译脚本重构优化 See merge request: Ascend/msprobe!798 | 8 天前 |
| 【feat】msprobe编译脚本重构优化 Co-authored-by: curry808<485078529@qq.com> # message auto-generated for no-merge-commit merge: !798 merge master into master 【feat】msprobe编译脚本重构优化 Created-by: curry808 Commit-by: curry808 Merged-by: ascend-robot Description: 【feat】msprobe编译脚本重构优化 See merge request: Ascend/msprobe!798 | 8 天前 |
| 【bugfix】下线setup.py和修复重复编译报错的问题 Co-authored-by: curry808<485078529@qq.com> # message auto-generated for no-merge-commit merge: !834 merge master into master 【bugfix】下线setup.py和修复重复编译报错的问题 Created-by: curry808 Commit-by: curry808 Merged-by: ascend-robot Description: 【bugfix】下线setup.py和修复重复编译报错的问题 See merge request: Ascend/msprobe!834 | 6 天前 |