mindstudio-probe 1.2.2__tar.gz → 8.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/PKG-INFO +4 -3
  2. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/PKG-INFO +4 -3
  3. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/SOURCES.txt +76 -24
  4. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/requires.txt +3 -2
  5. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/README.md +57 -21
  6. mindstudio_probe-8.1.0/msprobe/core/__init__.py +17 -0
  7. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/const.py +224 -82
  8. mindstudio_probe-8.1.0/msprobe/core/common/decorator.py +50 -0
  9. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/exceptions.py +5 -3
  10. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/file_utils.py +274 -40
  11. mindstudio_probe-8.1.0/msprobe/core/common/framework_adapter.py +169 -0
  12. mindstudio_probe-8.1.0/msprobe/core/common/global_lock.py +86 -0
  13. mindstudio_probe-8.1.0/msprobe/core/common/runtime.py +25 -0
  14. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/utils.py +148 -72
  15. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common_config.py +7 -0
  16. mindstudio_probe-8.1.0/msprobe/core/compare/acc_compare.py +727 -0
  17. mindstudio_probe-8.1.0/msprobe/core/compare/check.py +108 -0
  18. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/compare_cli.py +4 -0
  19. mindstudio_probe-8.1.0/msprobe/core/compare/config.py +72 -0
  20. mindstudio_probe-8.1.0/msprobe/core/compare/highlight.py +417 -0
  21. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/layer_mapping/layer_mapping.py +4 -1
  22. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/merge_result/merge_result.py +12 -6
  23. mindstudio_probe-8.1.0/msprobe/core/compare/multiprocessing_compute.py +294 -0
  24. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/npy_compare.py +32 -16
  25. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/utils.py +218 -244
  26. mindstudio_probe-1.2.2/msprobe/mindspore/runtime.py → mindstudio_probe-8.1.0/msprobe/core/config_check/__init__.py +2 -4
  27. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/__init__.py +25 -0
  28. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/base_checker.py +60 -0
  29. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/dataset_checker.py +138 -0
  30. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/env_args_checker.py +96 -0
  31. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/hyperparameter_checker.py +170 -0
  32. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/pip_checker.py +90 -0
  33. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/random_checker.py +367 -0
  34. mindstudio_probe-8.1.0/msprobe/core/config_check/checkers/weights_checker.py +147 -0
  35. mindstudio_probe-8.1.0/msprobe/core/config_check/ckpt_compare/ckpt_comparator.py +74 -0
  36. mindstudio_probe-8.1.0/msprobe/core/config_check/ckpt_compare/megatron_loader.py +302 -0
  37. mindstudio_probe-8.1.0/msprobe/core/config_check/ckpt_compare/metrics.py +83 -0
  38. mindstudio_probe-8.1.0/msprobe/core/config_check/ckpt_compare/name_mapping.yaml +12 -0
  39. mindstudio_probe-8.1.0/msprobe/core/config_check/config_check_cli.py +51 -0
  40. mindstudio_probe-8.1.0/msprobe/core/config_check/config_checker.py +100 -0
  41. mindstudio_probe-1.2.2/msprobe/pytorch/parse.py → mindstudio_probe-8.1.0/msprobe/core/config_check/resource/dependency.yaml +7 -4
  42. mindstudio_probe-8.1.0/msprobe/core/config_check/resource/env.yaml +57 -0
  43. mindstudio_probe-8.1.0/msprobe/core/config_check/resource/hyperparameter.yaml +21 -0
  44. mindstudio_probe-8.1.0/msprobe/core/config_check/utils/hyperparameter_parser.py +115 -0
  45. mindstudio_probe-8.1.0/msprobe/core/config_check/utils/utils.py +107 -0
  46. mindstudio_probe-8.1.0/msprobe/core/data_dump/api_registry.py +239 -0
  47. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/data_collector.py +36 -9
  48. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/data_processor/base.py +74 -53
  49. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/data_processor/mindspore_processor.py +119 -78
  50. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/data_processor/pytorch_processor.py +134 -96
  51. mindstudio_probe-8.1.0/msprobe/core/data_dump/json_writer.py +252 -0
  52. mindstudio_probe-8.1.0/msprobe/core/debugger/precision_debugger.py +143 -0
  53. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/grad_probe/constant.py +2 -1
  54. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/grad_probe/grad_compare.py +2 -2
  55. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/grad_probe/utils.py +1 -1
  56. mindstudio_probe-8.1.0/msprobe/core/hook_manager.py +242 -0
  57. mindstudio_probe-8.1.0/msprobe/core/monitor/anomaly_processor.py +384 -0
  58. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/abnormal_scene.py +2 -0
  59. mindstudio_probe-8.1.0/msprobe/core/service.py +356 -0
  60. mindstudio_probe-8.1.0/msprobe/core/single_save/single_comparator.py +243 -0
  61. mindstudio_probe-8.1.0/msprobe/core/single_save/single_saver.py +157 -0
  62. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/01.installation.md +6 -5
  63. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/02.config_introduction.md +89 -30
  64. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/03.config_examples.md +1 -0
  65. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/04.kernel_dump_PyTorch.md +1 -1
  66. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/05.data_dump_PyTorch.md +184 -50
  67. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/06.data_dump_MindSpore.md +193 -28
  68. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/07.accuracy_checker_PyTorch.md +13 -3
  69. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/08.accuracy_checker_online_PyTorch.md +72 -10
  70. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/09.accuracy_checker_MindSpore.md +19 -7
  71. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/10.accuracy_compare_PyTorch.md +266 -102
  72. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/11.accuracy_compare_MindSpore.md +117 -43
  73. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/12.overflow_check_PyTorch.md +5 -3
  74. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/13.overflow_check_MindSpore.md +6 -4
  75. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/14.data_parse_PyTorch.md +4 -10
  76. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/17.grad_probe.md +2 -1
  77. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/18.online_dispatch.md +3 -3
  78. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/19.monitor.md +211 -103
  79. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/21.visualization_PyTorch.md +100 -28
  80. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/22.visualization_MindSpore.md +103 -31
  81. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/23.generate_operator_PyTorch.md +9 -9
  82. mindstudio_probe-8.1.0/msprobe/docs/25.tool_function_introduction.md +30 -0
  83. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/26.data_dump_PyTorch_baseline.md +14 -3
  84. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/27.dump_json_instruction.md +278 -8
  85. mindstudio_probe-8.1.0/msprobe/docs/28.debugger_save_instruction.md +185 -0
  86. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/28.kernel_dump_MindSpore.md +1 -1
  87. mindstudio_probe-8.1.0/msprobe/docs/29.data_dump_MSAdapter.md +229 -0
  88. mindstudio_probe-8.1.0/msprobe/docs/30.overflow_check_MSAdapter.md +31 -0
  89. mindstudio_probe-8.1.0/msprobe/docs/31.config_check.md +95 -0
  90. mindstudio_probe-8.1.0/msprobe/docs/32.ckpt_compare.md +69 -0
  91. mindstudio_probe-8.1.0/msprobe/docs/33.generate_operator_MindSpore.md +190 -0
  92. mindstudio_probe-8.1.0/msprobe/docs/34.RL_collect.md +92 -0
  93. mindstudio_probe-8.1.0/msprobe/docs/35.nan_analyze.md +72 -0
  94. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/FAQ.md +3 -11
  95. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/data_dump_MindSpore/data_dump_MindSpore_baseline.md +12 -1
  96. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/data_dump_MindSpore/dynamic_graph_quick_start_example.md +3 -1
  97. mindstudio_probe-8.1.0/msprobe/docs/img/compare_result.png +0 -0
  98. mindstudio_probe-8.1.0/msprobe/docs/img/merge_result.png +0 -0
  99. mindstudio_probe-8.1.0/msprobe/docs/img/save_compare_result_sample.png +0 -0
  100. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/proxy.png +0 -0
  101. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  102. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_match_info.png +0 -0
  103. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  104. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  105. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  106. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  107. mindstudio_probe-8.1.0/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  108. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/__init__.py +3 -3
  109. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py +151 -55
  110. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/api_runner.py +25 -11
  111. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/base_compare_algorithm.py +2 -1
  112. mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker/bench_functions/flash_attention_score.py +580 -0
  113. mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker/bench_functions/fusion_operator.py +41 -0
  114. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/cmd_parser.py +4 -0
  115. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/data_manager.py +4 -3
  116. mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker/generate_op_script/config_op.json +9 -0
  117. mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker/generate_op_script/op_generator.py +451 -0
  118. mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker/generate_op_script/operator_replication.template +2081 -0
  119. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/multi_api_accuracy_checker.py +11 -1
  120. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/torch_mindtorch_importer.py +2 -1
  121. mindstudio_probe-8.1.0/msprobe/mindspore/cell_processor.py +250 -0
  122. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/graph_parser.py +4 -21
  123. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/common/const.py +73 -2
  124. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/common/utils.py +157 -29
  125. mindstudio_probe-8.1.0/msprobe/mindspore/compare/common_dir_compare.py +382 -0
  126. mindstudio_probe-8.1.0/msprobe/mindspore/compare/distributed_compare.py +36 -0
  127. mindstudio_probe-8.1.0/msprobe/mindspore/compare/ms_compare.py +42 -0
  128. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/compare/ms_graph_compare.py +20 -10
  129. mindstudio_probe-8.1.0/msprobe/mindspore/compare/utils.py +37 -0
  130. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/debugger/debugger_config.py +59 -7
  131. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/debugger/precision_debugger.py +83 -90
  132. mindstudio_probe-8.1.0/msprobe/mindspore/dump/cell_dump_process.py +902 -0
  133. mindstudio_probe-8.1.0/msprobe/mindspore/dump/cell_dump_with_insert_gradient.py +889 -0
  134. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/dump_tool_factory.py +18 -8
  135. mindstudio_probe-8.1.0/msprobe/mindspore/dump/graph_mode_cell_dump.py +139 -0
  136. mindstudio_probe-8.1.0/msprobe/mindspore/dump/graph_tensor_dump.py +123 -0
  137. mindstudio_probe-8.1.0/msprobe/mindspore/dump/hook_cell/api_register.py +176 -0
  138. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/hook_cell/hook_cell.py +22 -12
  139. mindstudio_probe-8.1.0/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +88 -0
  140. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/hook_cell/primitive_hooks.py +8 -2
  141. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml +42 -26
  142. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/jit_dump.py +35 -27
  143. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/kernel_kbyk_dump.py +6 -3
  144. mindstudio_probe-8.1.0/msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp +110 -0
  145. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dym_loader/hook_dynamic_loader.h +15 -16
  146. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/api_pynative_self_check.py +22 -12
  147. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/common/utils.py +1 -1
  148. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/perturbation_factory.py +4 -2
  149. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/self_check_tool_factory.py +6 -3
  150. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/global_context.py +9 -2
  151. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/grad_analyzer.py +2 -1
  152. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/grad_stat_csv.py +3 -2
  153. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/hook.py +2 -4
  154. mindstudio_probe-8.1.0/msprobe/mindspore/mindspore_service.py +111 -0
  155. mindstudio_probe-8.1.0/msprobe/mindspore/monitor/common_func.py +52 -0
  156. mindstudio_probe-8.1.0/msprobe/mindspore/monitor/data_writers.py +237 -0
  157. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/monitor/distributed/wrap_distributed.py +1 -1
  158. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/monitor/features.py +13 -1
  159. mindstudio_probe-8.1.0/msprobe/mindspore/monitor/module_hook.py +945 -0
  160. mindstudio_probe-8.1.0/msprobe/mindspore/monitor/optimizer_collect.py +331 -0
  161. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/monitor/utils.py +71 -9
  162. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/ms_config.py +16 -15
  163. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/overflow_check/overflow_check_tool_factory.py +5 -3
  164. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/task_handler_factory.py +5 -2
  165. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/msprobe.py +19 -0
  166. mindstudio_probe-8.1.0/msprobe/nan_analyze/__init__.py +14 -0
  167. mindstudio_probe-8.1.0/msprobe/nan_analyze/analyzer.py +255 -0
  168. mindstudio_probe-8.1.0/msprobe/nan_analyze/graph.py +189 -0
  169. mindstudio_probe-8.1.0/msprobe/nan_analyze/utils.py +211 -0
  170. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/common/config.py +2 -2
  171. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_compare.py +3 -6
  172. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/compare.py +36 -34
  173. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/op_generator.py +15 -13
  174. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/operator_replication.template +206 -4
  175. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/multi_run_ut.py +9 -9
  176. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py +6 -5
  177. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py +31 -9
  178. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py +28 -20
  179. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py +3 -1
  180. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py +29 -13
  181. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py +12 -2
  182. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py +45 -31
  183. mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py +198 -0
  184. mindstudio_probe-8.1.0/msprobe/pytorch/attl_manager.py +65 -0
  185. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/moe_gating_top_k_softmax.py +6 -0
  186. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/npu_fusion_attention.py +27 -0
  187. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/common/utils.py +53 -19
  188. mindstudio_probe-8.1.0/msprobe/pytorch/compare/distributed_compare.py +21 -0
  189. mindstudio_probe-8.1.0/msprobe/pytorch/compare/pt_compare.py +33 -0
  190. mindstudio_probe-8.1.0/msprobe/pytorch/compare/utils.py +47 -0
  191. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/debugger/debugger_config.py +34 -17
  192. mindstudio_probe-8.1.0/msprobe/pytorch/debugger/precision_debugger.py +171 -0
  193. mindstudio_probe-8.1.0/msprobe/pytorch/dump/module_dump/hook_wrapper.py +93 -0
  194. mindstudio_probe-8.1.0/msprobe/pytorch/dump/module_dump/module_dump.py +40 -0
  195. mindstudio_probe-8.1.0/msprobe/pytorch/dump/module_dump/module_processer.py +240 -0
  196. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/common/utils.py +1 -1
  197. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/compare/single_benchmark.py +1 -1
  198. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/add_noise.py +3 -3
  199. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/bit_noise.py +3 -3
  200. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/change_value.py +1 -1
  201. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/improve_precision.py +1 -1
  202. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/result_handlers/check_handler.py +1 -1
  203. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/function_factory.py +1 -1
  204. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/grad_probe/grad_monitor.py +2 -2
  205. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/grad_probe/grad_stat_csv.py +3 -2
  206. mindstudio_probe-8.1.0/msprobe/pytorch/hook_module/api_register.py +155 -0
  207. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/hook_module/hook_module.py +18 -22
  208. mindstudio_probe-8.1.0/msprobe/pytorch/hook_module/jit_script_wrapper.py +33 -0
  209. mindstudio_probe-8.1.0/msprobe/pytorch/hook_module/pt_hook_manager.py +68 -0
  210. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/hook_module/register_optimizer_hook.py +2 -1
  211. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/hook_module/support_wrap_ops.yaml +193 -75
  212. mindstudio_probe-8.1.0/msprobe/pytorch/hook_module/utils.py +54 -0
  213. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/csv2tb.py +14 -4
  214. mindstudio_probe-8.1.0/msprobe/pytorch/monitor/data_writers.py +259 -0
  215. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/distributed/wrap_distributed.py +8 -2
  216. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/module_hook.py +336 -241
  217. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/module_metric.py +17 -0
  218. mindstudio_probe-8.1.0/msprobe/pytorch/monitor/optimizer_collect.py +335 -0
  219. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/utils.py +84 -4
  220. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/compare.py +0 -2
  221. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/dispatch.py +13 -2
  222. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/dump_compare.py +8 -2
  223. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/utils.py +3 -0
  224. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/interactive_cli.py +1 -6
  225. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/utils.py +5 -4
  226. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/pt_config.py +16 -11
  227. mindstudio_probe-8.1.0/msprobe/pytorch/pytorch_service.py +70 -0
  228. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/builder/graph_builder.py +69 -10
  229. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/builder/msprobe_adapter.py +24 -12
  230. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/compare/graph_comparator.py +63 -51
  231. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/compare/mode_adapter.py +22 -20
  232. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/base_node.py +11 -4
  233. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/distributed_analyzer.py +1 -10
  234. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/graph.py +2 -13
  235. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/node_op.py +1 -2
  236. mindstudio_probe-8.1.0/msprobe/visualization/graph_service.py +434 -0
  237. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/utils.py +26 -44
  238. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/setup.py +5 -4
  239. mindstudio_probe-1.2.2/msprobe/core/compare/acc_compare.py +0 -549
  240. mindstudio_probe-1.2.2/msprobe/core/compare/check.py +0 -179
  241. mindstudio_probe-1.2.2/msprobe/core/compare/highlight.py +0 -415
  242. mindstudio_probe-1.2.2/msprobe/core/compare/multiprocessing_compute.py +0 -174
  243. mindstudio_probe-1.2.2/msprobe/core/data_dump/json_writer.py +0 -163
  244. mindstudio_probe-1.2.2/msprobe/docs/25.tool_function_introduction.md +0 -29
  245. mindstudio_probe-1.2.2/msprobe/docs/28.debugger_save_instruction.md +0 -94
  246. mindstudio_probe-1.2.2/msprobe/docs/img/compare_result.png +0 -0
  247. mindstudio_probe-1.2.2/msprobe/docs/img/merge_result.png +0 -0
  248. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  249. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  250. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  251. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  252. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  253. mindstudio_probe-1.2.2/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  254. mindstudio_probe-1.2.2/msprobe/mindspore/cell_processor.py +0 -79
  255. mindstudio_probe-1.2.2/msprobe/mindspore/compare/distributed_compare.py +0 -60
  256. mindstudio_probe-1.2.2/msprobe/mindspore/compare/ms_compare.py +0 -422
  257. mindstudio_probe-1.2.2/msprobe/mindspore/dump/hook_cell/api_registry.py +0 -207
  258. mindstudio_probe-1.2.2/msprobe/mindspore/dump/hook_cell/wrap_api.py +0 -212
  259. mindstudio_probe-1.2.2/msprobe/mindspore/dym_loader/hook_dynamic_loader.cc +0 -140
  260. mindstudio_probe-1.2.2/msprobe/mindspore/monitor/anomaly_detect.py +0 -404
  261. mindstudio_probe-1.2.2/msprobe/mindspore/monitor/module_hook.py +0 -821
  262. mindstudio_probe-1.2.2/msprobe/mindspore/monitor/module_spec_verifier.py +0 -94
  263. mindstudio_probe-1.2.2/msprobe/mindspore/service.py +0 -543
  264. mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py +0 -44
  265. mindstudio_probe-1.2.2/msprobe/pytorch/compare/distributed_compare.py +0 -53
  266. mindstudio_probe-1.2.2/msprobe/pytorch/compare/pt_compare.py +0 -104
  267. mindstudio_probe-1.2.2/msprobe/pytorch/debugger/precision_debugger.py +0 -217
  268. mindstudio_probe-1.2.2/msprobe/pytorch/dump/kernel_dump/kernel_config.py +0 -33
  269. mindstudio_probe-1.2.2/msprobe/pytorch/dump/module_dump/module_dump.py +0 -86
  270. mindstudio_probe-1.2.2/msprobe/pytorch/dump/module_dump/module_processer.py +0 -204
  271. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/api_registry.py +0 -166
  272. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/utils.py +0 -28
  273. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_distributed.py +0 -79
  274. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_functional.py +0 -66
  275. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_npu_custom.py +0 -85
  276. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_tensor.py +0 -69
  277. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_torch.py +0 -84
  278. mindstudio_probe-1.2.2/msprobe/pytorch/hook_module/wrap_vf.py +0 -60
  279. mindstudio_probe-1.2.2/msprobe/pytorch/monitor/anomaly_analyse.py +0 -201
  280. mindstudio_probe-1.2.2/msprobe/pytorch/monitor/anomaly_detect.py +0 -410
  281. mindstudio_probe-1.2.2/msprobe/pytorch/monitor/module_spec_verifier.py +0 -95
  282. mindstudio_probe-1.2.2/msprobe/pytorch/monitor/optimizer_collect.py +0 -315
  283. mindstudio_probe-1.2.2/msprobe/pytorch/monitor/unittest/test_monitor.py +0 -160
  284. mindstudio_probe-1.2.2/msprobe/pytorch/service.py +0 -470
  285. mindstudio_probe-1.2.2/msprobe/visualization/graph_service.py +0 -287
  286. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/LICENSE +0 -0
  287. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/MANIFEST.in +0 -0
  288. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/dependency_links.txt +0 -0
  289. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/entry_points.txt +0 -0
  290. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/not-zip-safe +0 -0
  291. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/mindstudio_probe.egg-info/top_level.txt +0 -0
  292. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/CMakeLists.txt +0 -0
  293. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/__init__.py +0 -0
  294. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/config.json +0 -0
  295. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/advisor/advisor.py +0 -0
  296. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/advisor/advisor_const.py +0 -0
  297. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/advisor/advisor_result.py +0 -0
  298. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/inplace_op_checker.py +0 -0
  299. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/inplace_ops.yaml +0 -0
  300. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/common/log.py +0 -0
  301. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/layer_mapping/__init__.py +0 -0
  302. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/layer_mapping/data_scope_parser.py +0 -0
  303. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/layer_mapping/postprocess_pass.py +0 -0
  304. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/merge_result/merge_result_cli.py +0 -0
  305. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/compare/merge_result/utils.py +0 -0
  306. {mindstudio_probe-1.2.2/msprobe/mindspore → mindstudio_probe-8.1.0/msprobe/core}/compare/ms_to_pt_api.yaml +0 -0
  307. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/data_processor/factory.py +0 -0
  308. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/data_dump/scope.py +0 -0
  309. {mindstudio_probe-1.2.2/msprobe/core → mindstudio_probe-8.1.0/msprobe/core/grad_probe}/__init__.py +0 -0
  310. {mindstudio_probe-1.2.2/msprobe/mindspore/dump → mindstudio_probe-8.1.0/msprobe/core}/kernel_dump/kernel_config.py +0 -0
  311. {mindstudio_probe-1.2.2/msprobe/core/grad_probe → mindstudio_probe-8.1.0/msprobe/core/monitor}/__init__.py +0 -0
  312. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/api_info.py +0 -0
  313. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/checker.py +0 -0
  314. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/filter.py +0 -0
  315. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/ignore_rules.yaml +0 -0
  316. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/level.py +0 -0
  317. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/core/overflow_check/utils.py +0 -0
  318. {mindstudio_probe-1.2.2/msprobe/mindspore/api_accuracy_checker → mindstudio_probe-8.1.0/msprobe/core/single_save}/__init__.py +0 -0
  319. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/15.free_benchmarking_PyTorch.md +0 -0
  320. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/16.free_benchmarking_MindSpore.md +0 -0
  321. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/20.monitor_performance_baseline.md +0 -0
  322. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/24.code_mapping_Mindspore.md +0 -0
  323. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md +0 -0
  324. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md +0 -0
  325. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/BLOOM-7B_1.png +0 -0
  326. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/BLOOM-7B_2.png +0 -0
  327. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/BLOOM-7B_3.png +0 -0
  328. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/BLOOM-7B_4.png +0 -0
  329. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_1.png +0 -0
  330. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_2.png +0 -0
  331. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_3.png +0 -0
  332. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_4.png +0 -0
  333. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_5.png +0 -0
  334. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_6.png +0 -0
  335. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_7.png +0 -0
  336. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/GPT-3_8.png +0 -0
  337. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/YOLOV5S_1.png +0 -0
  338. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/YOLOV5S_2.png +0 -0
  339. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/accuracy_checking_details.png +0 -0
  340. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/accuracy_checking_result.png +0 -0
  341. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/api_precision_compare_details.png +0 -0
  342. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/api_precision_compare_result.png +0 -0
  343. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/auto_analyze_log.png +0 -0
  344. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/compare_result_pkl.png +0 -0
  345. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/compare_result_pkl_md5.png.png +0 -0
  346. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/cpu_info.png +0 -0
  347. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/free_benchmark.png +0 -0
  348. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/free_benchmark_framework.png +0 -0
  349. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/grad_probe_image-1.png +0 -0
  350. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/grad_probe_image-2.png +0 -0
  351. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/grad_probe_image-3.png +0 -0
  352. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/grad_probe_image-4.png +0 -0
  353. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/grad_probe_image.png +0 -0
  354. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/module_compare.png +0 -0
  355. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/monitor/cpu_info.png +0 -0
  356. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/monitor/step_count_per_record.png +0 -0
  357. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/ms_dump.png +0 -0
  358. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/ms_layer.png +0 -0
  359. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/pt_dump.png +0 -0
  360. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/visualization/fuzzy_match_ms.png +0 -0
  361. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/visualization/fuzzy_match_pt.png +0 -0
  362. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/visualization/tensorboard_1.png +0 -0
  363. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/visualization/tensorboard_2.png +0 -0
  364. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/img/visualization/vis_browser_2.png +0 -0
  365. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/GPTModel.png +0 -0
  366. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/ParallelMLP.png +0 -0
  367. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/layer_mapping_example.md +0 -0
  368. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/mapping.png +0 -0
  369. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/mapping1.png +0 -0
  370. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/module_name.png +0 -0
  371. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/module_name1.png +0 -0
  372. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/no_mapping.png +0 -0
  373. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/no_mapping1.png +0 -0
  374. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/no_mapping_analyze.png +0 -0
  375. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/docs/visualization/top_layer.png +0 -0
  376. {mindstudio_probe-1.2.2/msprobe/mindspore/code_mapping → mindstudio_probe-8.1.0/msprobe/mindspore/api_accuracy_checker}/__init__.py +0 -0
  377. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/api_info.py +0 -0
  378. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/checker_support_api.yaml +0 -0
  379. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/compute_element.py +0 -0
  380. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/main.py +0 -0
  381. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/multi_data_manager.py +0 -0
  382. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/type_mapping.py +0 -0
  383. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/api_accuracy_checker/utils.py +0 -0
  384. {mindstudio_probe-1.2.2/msprobe/mindspore/debugger → mindstudio_probe-8.1.0/msprobe/mindspore/code_mapping}/__init__.py +0 -0
  385. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/bind.py +0 -0
  386. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/cmd_parser.py +0 -0
  387. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/graph.py +0 -0
  388. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/main.py +0 -0
  389. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/code_mapping/processor.py +0 -0
  390. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/common/log.py +0 -0
  391. {mindstudio_probe-1.2.2/msprobe/mindspore/dump → mindstudio_probe-8.1.0/msprobe/mindspore/debugger}/__init__.py +0 -0
  392. {mindstudio_probe-1.2.2/msprobe/mindspore/free_benchmark → mindstudio_probe-8.1.0/msprobe/mindspore/dump}/__init__.py +0 -0
  393. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/dump/kernel_graph_dump.py +0 -0
  394. {mindstudio_probe-1.2.2/msprobe/mindspore/free_benchmark/common → mindstudio_probe-8.1.0/msprobe/mindspore/free_benchmark}/__init__.py +0 -0
  395. {mindstudio_probe-1.2.2/msprobe/mindspore/free_benchmark/handler → mindstudio_probe-8.1.0/msprobe/mindspore/free_benchmark/common}/__init__.py +0 -0
  396. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/common/config.py +0 -0
  397. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/common/handler_params.py +0 -0
  398. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/data/support_wrap_ops.yaml +0 -0
  399. {mindstudio_probe-1.2.2/msprobe/mindspore/grad_probe → mindstudio_probe-8.1.0/msprobe/mindspore/free_benchmark/handler}/__init__.py +0 -0
  400. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/handler/base_handler.py +0 -0
  401. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/handler/check_handler.py +0 -0
  402. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/handler/fix_handler.py +0 -0
  403. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/handler/handler_factory.py +0 -0
  404. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/add_noise.py +0 -0
  405. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/base_perturbation.py +0 -0
  406. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/bit_noise.py +0 -0
  407. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/exchange_value.py +0 -0
  408. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/improve_precision.py +0 -0
  409. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/free_benchmark/perturbation/no_change.py +0 -0
  410. {mindstudio_probe-1.2.2/msprobe/mindspore/monitor/distributed → mindstudio_probe-8.1.0/msprobe/mindspore/grad_probe}/__init__.py +0 -0
  411. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/grad_monitor.py +0 -0
  412. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/grad_probe/utils.py +0 -0
  413. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/mindtorch/__init__.py +0 -0
  414. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/mindtorch/mindtorch_adaptor.py +0 -0
  415. {mindstudio_probe-1.2.2/msprobe/mindspore/overflow_check → mindstudio_probe-8.1.0/msprobe/mindspore/monitor/distributed}/__init__.py +0 -0
  416. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/monitor/distributed/distributed_ops.yaml +0 -0
  417. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/monitor/distributed/stack_blacklist.yaml +0 -0
  418. {mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker → mindstudio_probe-8.1.0/msprobe/mindspore/overflow_check}/__init__.py +0 -0
  419. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/mindspore/overflow_check/kernel_graph_overflow_check.py +0 -0
  420. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/__init__.py +0 -0
  421. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/.keep +0 -0
  422. {mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker/common → mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker}/__init__.py +0 -0
  423. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/common/.keep +0 -0
  424. {mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker/compare → mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker/common}/__init__.py +0 -0
  425. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/common/utils.py +0 -0
  426. {mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker/run_ut → mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker/compare}/__init__.py +0 -0
  427. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/algorithm.py +0 -0
  428. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_standard.yaml +0 -0
  429. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_threshold.yaml +0 -0
  430. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_column.py +0 -0
  431. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_input.py +0 -0
  432. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_utils.py +0 -0
  433. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/config.yaml +0 -0
  434. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json +0 -0
  435. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/absolute_threshold.py +0 -0
  436. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/accumulative_error_compare.py +0 -0
  437. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/base_standard.py +0 -0
  438. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/benchmark_compare.py +0 -0
  439. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/binary_consistency.py +0 -0
  440. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_config.py +0 -0
  441. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_register.py +0 -0
  442. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/thousandth_standard.py +0 -0
  443. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/ulp_compare.py +0 -0
  444. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/.keep +0 -0
  445. {mindstudio_probe-1.2.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer → mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker/run_ut}/__init__.py +0 -0
  446. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/data_generate.py +0 -0
  447. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json +0 -0
  448. {mindstudio_probe-1.2.2/msprobe/pytorch/debugger → mindstudio_probe-8.1.0/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer}/__init__.py +0 -0
  449. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py +0 -0
  450. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml +0 -0
  451. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/__init__.py +0 -0
  452. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/apply_adam.py +0 -0
  453. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/apply_adam_w.py +0 -0
  454. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/confusion_transpose.py +0 -0
  455. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/fast_gelu.py +0 -0
  456. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/group_norm_silu.py +0 -0
  457. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/layer_norm_eval.py +0 -0
  458. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/linear.py +0 -0
  459. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/matmul_backward.py +0 -0
  460. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/mish.py +0 -0
  461. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/rms_norm.py +0 -0
  462. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/rotary_mul.py +0 -0
  463. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/scaled_mask_softmax.py +0 -0
  464. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/sort_v2.py +0 -0
  465. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/bench_functions/swiglu.py +0 -0
  466. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/common/__init__.py +0 -0
  467. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/common/compare_script.template +0 -0
  468. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/common/log.py +0 -0
  469. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/common/parse_json.py +0 -0
  470. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/compare/mapping.yaml +0 -0
  471. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/compare/match.py +0 -0
  472. {mindstudio_probe-1.2.2/msprobe/pytorch/dump/module_dump → mindstudio_probe-8.1.0/msprobe/pytorch/debugger}/__init__.py +0 -0
  473. {mindstudio_probe-1.2.2/msprobe/pytorch/free_benchmark/common → mindstudio_probe-8.1.0/msprobe/pytorch/dump/module_dump}/__init__.py +0 -0
  474. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/__init__.py +0 -0
  475. {mindstudio_probe-1.2.2/msprobe/pytorch/free_benchmark/perturbed_layers → mindstudio_probe-8.1.0/msprobe/pytorch/free_benchmark/common}/__init__.py +0 -0
  476. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/common/constant.py +0 -0
  477. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/common/counter.py +0 -0
  478. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/common/enums.py +0 -0
  479. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/common/params.py +0 -0
  480. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/compare/grad_saver.py +0 -0
  481. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/main.py +0 -0
  482. {mindstudio_probe-1.2.2/msprobe/pytorch/free_benchmark/perturbed_layers/npu → mindstudio_probe-8.1.0/msprobe/pytorch/free_benchmark/perturbed_layers}/__init__.py +0 -0
  483. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/base_layer.py +0 -0
  484. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/layer_factory.py +0 -0
  485. {mindstudio_probe-1.2.2/msprobe/pytorch/free_benchmark/result_handlers → mindstudio_probe-8.1.0/msprobe/pytorch/free_benchmark/perturbed_layers/npu}/__init__.py +0 -0
  486. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/no_change.py +0 -0
  487. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/npu_base_layser.py +0 -0
  488. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/perturbed_layers/run_cpu.py +0 -0
  489. {mindstudio_probe-1.2.2/msprobe/pytorch/grad_probe → mindstudio_probe-8.1.0/msprobe/pytorch/free_benchmark/result_handlers}/__init__.py +0 -0
  490. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/result_handlers/base_handler.py +0 -0
  491. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/result_handlers/fix_handler.py +0 -0
  492. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/result_handlers/handler_factory.py +0 -0
  493. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/free_benchmark/result_handlers/preheat_handler.py +0 -0
  494. {mindstudio_probe-1.2.2/msprobe/pytorch/monitor → mindstudio_probe-8.1.0/msprobe/pytorch/grad_probe}/__init__.py +0 -0
  495. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/hook_module/__init__.py +0 -0
  496. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/hook_module/wrap_aten.py +0 -0
  497. {mindstudio_probe-1.2.2/msprobe/pytorch/monitor/distributed → mindstudio_probe-8.1.0/msprobe/pytorch/monitor}/__init__.py +0 -0
  498. {mindstudio_probe-1.2.2/msprobe/pytorch/monitor/unittest → mindstudio_probe-8.1.0/msprobe/pytorch/monitor/distributed}/__init__.py +0 -0
  499. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/distributed/distributed_ops.yaml +0 -0
  500. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/distributed/stack_blacklist.yaml +0 -0
  501. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/features.py +0 -0
  502. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/monitor/visualizer.py +0 -0
  503. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/__init__.py +0 -0
  504. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/single_compare.py +0 -0
  505. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/online_dispatch/torch_ops_config.yaml +0 -0
  506. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/__init__.py +0 -0
  507. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/cli.py +0 -0
  508. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/__init__.py +0 -0
  509. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/compare.py +0 -0
  510. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/config.py +0 -0
  511. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/file_desc.py +0 -0
  512. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/parse_exception.py +0 -0
  513. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/parse_tool.py +0 -0
  514. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/pytorch/parse_tool/lib/visualization.py +0 -0
  515. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/__init__.py +0 -0
  516. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/builder/__init__.py +0 -0
  517. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/compare/__init__.py +0 -0
  518. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/__init__.py +0 -0
  519. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/msprobe/visualization/graph/node_colors.py +0 -0
  520. {mindstudio_probe-1.2.2 → mindstudio_probe-8.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 1.2.2
3
+ Version: 8.1.0
4
4
  Summary: Ascend Probe Utils
5
5
  Home-page: https://gitee.com/ascend/mstt/tree/master/debug/accuracy_tools/msprobe
6
6
  Author: Ascend Team
@@ -22,16 +22,17 @@ Requires-Python: >=3.6.2
22
22
  License-File: LICENSE
23
23
  Requires-Dist: wheel
24
24
  Requires-Dist: einops
25
- Requires-Dist: numpy<2.0
25
+ Requires-Dist: numpy<2.0,>=1.23.0
26
26
  Requires-Dist: pandas<2.1,>=1.3.5
27
27
  Requires-Dist: pyyaml
28
28
  Requires-Dist: rich
29
29
  Requires-Dist: tqdm
30
- Requires-Dist: openpyxl
30
+ Requires-Dist: openpyxl>=3.0.6
31
31
  Requires-Dist: pyopenssl
32
32
  Requires-Dist: twisted
33
33
  Requires-Dist: matplotlib
34
34
  Requires-Dist: tensorboard
35
35
  Requires-Dist: tabulate
36
+ Requires-Dist: pwinput
36
37
 
37
38
  MindStudio-Probe is a set of tools for diagnosing and improving model accuracy on Ascend NPU, including API acc checker, ptdbg, grad tool etc.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 1.2.2
3
+ Version: 8.1.0
4
4
  Summary: Ascend Probe Utils
5
5
  Home-page: https://gitee.com/ascend/mstt/tree/master/debug/accuracy_tools/msprobe
6
6
  Author: Ascend Team
@@ -22,16 +22,17 @@ Requires-Python: >=3.6.2
22
22
  License-File: LICENSE
23
23
  Requires-Dist: wheel
24
24
  Requires-Dist: einops
25
- Requires-Dist: numpy<2.0
25
+ Requires-Dist: numpy<2.0,>=1.23.0
26
26
  Requires-Dist: pandas<2.1,>=1.3.5
27
27
  Requires-Dist: pyyaml
28
28
  Requires-Dist: rich
29
29
  Requires-Dist: tqdm
30
- Requires-Dist: openpyxl
30
+ Requires-Dist: openpyxl>=3.0.6
31
31
  Requires-Dist: pyopenssl
32
32
  Requires-Dist: twisted
33
33
  Requires-Dist: matplotlib
34
34
  Requires-Dist: tensorboard
35
35
  Requires-Dist: tabulate
36
+ Requires-Dist: pwinput
36
37
 
37
38
  MindStudio-Probe is a set of tools for diagnosing and improving model accuracy on Ascend NPU, including API acc checker, ptdbg, grad tool etc.
@@ -15,20 +15,28 @@ msprobe/config.json
15
15
  msprobe/msprobe.py
16
16
  msprobe/core/__init__.py
17
17
  msprobe/core/common_config.py
18
+ msprobe/core/hook_manager.py
19
+ msprobe/core/service.py
18
20
  msprobe/core/advisor/advisor.py
19
21
  msprobe/core/advisor/advisor_const.py
20
22
  msprobe/core/advisor/advisor_result.py
21
23
  msprobe/core/common/const.py
24
+ msprobe/core/common/decorator.py
22
25
  msprobe/core/common/exceptions.py
23
26
  msprobe/core/common/file_utils.py
27
+ msprobe/core/common/framework_adapter.py
28
+ msprobe/core/common/global_lock.py
24
29
  msprobe/core/common/inplace_op_checker.py
25
30
  msprobe/core/common/inplace_ops.yaml
26
31
  msprobe/core/common/log.py
32
+ msprobe/core/common/runtime.py
27
33
  msprobe/core/common/utils.py
28
34
  msprobe/core/compare/acc_compare.py
29
35
  msprobe/core/compare/check.py
30
36
  msprobe/core/compare/compare_cli.py
37
+ msprobe/core/compare/config.py
31
38
  msprobe/core/compare/highlight.py
39
+ msprobe/core/compare/ms_to_pt_api.yaml
32
40
  msprobe/core/compare/multiprocessing_compute.py
33
41
  msprobe/core/compare/npy_compare.py
34
42
  msprobe/core/compare/utils.py
@@ -39,6 +47,27 @@ msprobe/core/compare/layer_mapping/postprocess_pass.py
39
47
  msprobe/core/compare/merge_result/merge_result.py
40
48
  msprobe/core/compare/merge_result/merge_result_cli.py
41
49
  msprobe/core/compare/merge_result/utils.py
50
+ msprobe/core/config_check/__init__.py
51
+ msprobe/core/config_check/config_check_cli.py
52
+ msprobe/core/config_check/config_checker.py
53
+ msprobe/core/config_check/checkers/__init__.py
54
+ msprobe/core/config_check/checkers/base_checker.py
55
+ msprobe/core/config_check/checkers/dataset_checker.py
56
+ msprobe/core/config_check/checkers/env_args_checker.py
57
+ msprobe/core/config_check/checkers/hyperparameter_checker.py
58
+ msprobe/core/config_check/checkers/pip_checker.py
59
+ msprobe/core/config_check/checkers/random_checker.py
60
+ msprobe/core/config_check/checkers/weights_checker.py
61
+ msprobe/core/config_check/ckpt_compare/ckpt_comparator.py
62
+ msprobe/core/config_check/ckpt_compare/megatron_loader.py
63
+ msprobe/core/config_check/ckpt_compare/metrics.py
64
+ msprobe/core/config_check/ckpt_compare/name_mapping.yaml
65
+ msprobe/core/config_check/resource/dependency.yaml
66
+ msprobe/core/config_check/resource/env.yaml
67
+ msprobe/core/config_check/resource/hyperparameter.yaml
68
+ msprobe/core/config_check/utils/hyperparameter_parser.py
69
+ msprobe/core/config_check/utils/utils.py
70
+ msprobe/core/data_dump/api_registry.py
42
71
  msprobe/core/data_dump/data_collector.py
43
72
  msprobe/core/data_dump/json_writer.py
44
73
  msprobe/core/data_dump/scope.py
@@ -46,10 +75,14 @@ msprobe/core/data_dump/data_processor/base.py
46
75
  msprobe/core/data_dump/data_processor/factory.py
47
76
  msprobe/core/data_dump/data_processor/mindspore_processor.py
48
77
  msprobe/core/data_dump/data_processor/pytorch_processor.py
78
+ msprobe/core/debugger/precision_debugger.py
49
79
  msprobe/core/grad_probe/__init__.py
50
80
  msprobe/core/grad_probe/constant.py
51
81
  msprobe/core/grad_probe/grad_compare.py
52
82
  msprobe/core/grad_probe/utils.py
83
+ msprobe/core/kernel_dump/kernel_config.py
84
+ msprobe/core/monitor/__init__.py
85
+ msprobe/core/monitor/anomaly_processor.py
53
86
  msprobe/core/overflow_check/abnormal_scene.py
54
87
  msprobe/core/overflow_check/api_info.py
55
88
  msprobe/core/overflow_check/checker.py
@@ -57,6 +90,9 @@ msprobe/core/overflow_check/filter.py
57
90
  msprobe/core/overflow_check/ignore_rules.yaml
58
91
  msprobe/core/overflow_check/level.py
59
92
  msprobe/core/overflow_check/utils.py
93
+ msprobe/core/single_save/__init__.py
94
+ msprobe/core/single_save/single_comparator.py
95
+ msprobe/core/single_save/single_saver.py
60
96
  msprobe/docs/01.installation.md
61
97
  msprobe/docs/02.config_introduction.md
62
98
  msprobe/docs/03.config_examples.md
@@ -86,6 +122,13 @@ msprobe/docs/26.data_dump_PyTorch_baseline.md
86
122
  msprobe/docs/27.dump_json_instruction.md
87
123
  msprobe/docs/28.debugger_save_instruction.md
88
124
  msprobe/docs/28.kernel_dump_MindSpore.md
125
+ msprobe/docs/29.data_dump_MSAdapter.md
126
+ msprobe/docs/30.overflow_check_MSAdapter.md
127
+ msprobe/docs/31.config_check.md
128
+ msprobe/docs/32.ckpt_compare.md
129
+ msprobe/docs/33.generate_operator_MindSpore.md
130
+ msprobe/docs/34.RL_collect.md
131
+ msprobe/docs/35.nan_analyze.md
89
132
  msprobe/docs/FAQ.md
90
133
  msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md
91
134
  msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md
@@ -126,14 +169,17 @@ msprobe/docs/img/module_compare.png
126
169
  msprobe/docs/img/ms_dump.png
127
170
  msprobe/docs/img/ms_layer.png
128
171
  msprobe/docs/img/pt_dump.png
172
+ msprobe/docs/img/save_compare_result_sample.png
129
173
  msprobe/docs/img/monitor/cpu_info.png
130
174
  msprobe/docs/img/monitor/step_count_per_record.png
131
175
  msprobe/docs/img/visualization/fuzzy_match_ms.png
132
176
  msprobe/docs/img/visualization/fuzzy_match_pt.png
177
+ msprobe/docs/img/visualization/proxy.png
133
178
  msprobe/docs/img/visualization/tensorboard_1.png
134
179
  msprobe/docs/img/visualization/tensorboard_2.png
135
180
  msprobe/docs/img/visualization/vis_browser_1.png
136
181
  msprobe/docs/img/visualization/vis_browser_2.png
182
+ msprobe/docs/img/visualization/vis_match_info.png
137
183
  msprobe/docs/img/visualization/vis_precision_info.png
138
184
  msprobe/docs/img/visualization/vis_search_info.png
139
185
  msprobe/docs/img/visualization/vis_show_info.png
@@ -152,9 +198,8 @@ msprobe/docs/visualization/no_mapping_analyze.png
152
198
  msprobe/docs/visualization/top_layer.png
153
199
  msprobe/mindspore/__init__.py
154
200
  msprobe/mindspore/cell_processor.py
201
+ msprobe/mindspore/mindspore_service.py
155
202
  msprobe/mindspore/ms_config.py
156
- msprobe/mindspore/runtime.py
157
- msprobe/mindspore/service.py
158
203
  msprobe/mindspore/task_handler_factory.py
159
204
  msprobe/mindspore/api_accuracy_checker/__init__.py
160
205
  msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py
@@ -171,6 +216,11 @@ msprobe/mindspore/api_accuracy_checker/multi_data_manager.py
171
216
  msprobe/mindspore/api_accuracy_checker/torch_mindtorch_importer.py
172
217
  msprobe/mindspore/api_accuracy_checker/type_mapping.py
173
218
  msprobe/mindspore/api_accuracy_checker/utils.py
219
+ msprobe/mindspore/api_accuracy_checker/bench_functions/flash_attention_score.py
220
+ msprobe/mindspore/api_accuracy_checker/bench_functions/fusion_operator.py
221
+ msprobe/mindspore/api_accuracy_checker/generate_op_script/config_op.json
222
+ msprobe/mindspore/api_accuracy_checker/generate_op_script/op_generator.py
223
+ msprobe/mindspore/api_accuracy_checker/generate_op_script/operator_replication.template
174
224
  msprobe/mindspore/code_mapping/__init__.py
175
225
  msprobe/mindspore/code_mapping/bind.py
176
226
  msprobe/mindspore/code_mapping/cmd_parser.py
@@ -181,25 +231,29 @@ msprobe/mindspore/code_mapping/processor.py
181
231
  msprobe/mindspore/common/const.py
182
232
  msprobe/mindspore/common/log.py
183
233
  msprobe/mindspore/common/utils.py
234
+ msprobe/mindspore/compare/common_dir_compare.py
184
235
  msprobe/mindspore/compare/distributed_compare.py
185
236
  msprobe/mindspore/compare/ms_compare.py
186
237
  msprobe/mindspore/compare/ms_graph_compare.py
187
- msprobe/mindspore/compare/ms_to_pt_api.yaml
238
+ msprobe/mindspore/compare/utils.py
188
239
  msprobe/mindspore/debugger/__init__.py
189
240
  msprobe/mindspore/debugger/debugger_config.py
190
241
  msprobe/mindspore/debugger/precision_debugger.py
191
242
  msprobe/mindspore/dump/__init__.py
243
+ msprobe/mindspore/dump/cell_dump_process.py
244
+ msprobe/mindspore/dump/cell_dump_with_insert_gradient.py
192
245
  msprobe/mindspore/dump/dump_tool_factory.py
246
+ msprobe/mindspore/dump/graph_mode_cell_dump.py
247
+ msprobe/mindspore/dump/graph_tensor_dump.py
193
248
  msprobe/mindspore/dump/jit_dump.py
194
249
  msprobe/mindspore/dump/kernel_graph_dump.py
195
250
  msprobe/mindspore/dump/kernel_kbyk_dump.py
196
- msprobe/mindspore/dump/hook_cell/api_registry.py
251
+ msprobe/mindspore/dump/hook_cell/api_register.py
197
252
  msprobe/mindspore/dump/hook_cell/hook_cell.py
253
+ msprobe/mindspore/dump/hook_cell/ms_hook_manager.py
198
254
  msprobe/mindspore/dump/hook_cell/primitive_hooks.py
199
255
  msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml
200
- msprobe/mindspore/dump/hook_cell/wrap_api.py
201
- msprobe/mindspore/dump/kernel_dump/kernel_config.py
202
- msprobe/mindspore/dym_loader/hook_dynamic_loader.cc
256
+ msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp
203
257
  msprobe/mindspore/dym_loader/hook_dynamic_loader.h
204
258
  msprobe/mindspore/free_benchmark/__init__.py
205
259
  msprobe/mindspore/free_benchmark/api_pynative_self_check.py
@@ -230,10 +284,11 @@ msprobe/mindspore/grad_probe/hook.py
230
284
  msprobe/mindspore/grad_probe/utils.py
231
285
  msprobe/mindspore/mindtorch/__init__.py
232
286
  msprobe/mindspore/mindtorch/mindtorch_adaptor.py
233
- msprobe/mindspore/monitor/anomaly_detect.py
287
+ msprobe/mindspore/monitor/common_func.py
288
+ msprobe/mindspore/monitor/data_writers.py
234
289
  msprobe/mindspore/monitor/features.py
235
290
  msprobe/mindspore/monitor/module_hook.py
236
- msprobe/mindspore/monitor/module_spec_verifier.py
291
+ msprobe/mindspore/monitor/optimizer_collect.py
237
292
  msprobe/mindspore/monitor/utils.py
238
293
  msprobe/mindspore/monitor/distributed/__init__.py
239
294
  msprobe/mindspore/monitor/distributed/distributed_ops.yaml
@@ -242,11 +297,15 @@ msprobe/mindspore/monitor/distributed/wrap_distributed.py
242
297
  msprobe/mindspore/overflow_check/__init__.py
243
298
  msprobe/mindspore/overflow_check/kernel_graph_overflow_check.py
244
299
  msprobe/mindspore/overflow_check/overflow_check_tool_factory.py
300
+ msprobe/nan_analyze/__init__.py
301
+ msprobe/nan_analyze/analyzer.py
302
+ msprobe/nan_analyze/graph.py
303
+ msprobe/nan_analyze/utils.py
245
304
  msprobe/pytorch/__init__.py
305
+ msprobe/pytorch/attl_manager.py
246
306
  msprobe/pytorch/function_factory.py
247
- msprobe/pytorch/parse.py
248
307
  msprobe/pytorch/pt_config.py
249
- msprobe/pytorch/service.py
308
+ msprobe/pytorch/pytorch_service.py
250
309
  msprobe/pytorch/api_accuracy_checker/.keep
251
310
  msprobe/pytorch/api_accuracy_checker/__init__.py
252
311
  msprobe/pytorch/api_accuracy_checker/config.yaml
@@ -317,11 +376,12 @@ msprobe/pytorch/compare/distributed_compare.py
317
376
  msprobe/pytorch/compare/mapping.yaml
318
377
  msprobe/pytorch/compare/match.py
319
378
  msprobe/pytorch/compare/pt_compare.py
379
+ msprobe/pytorch/compare/utils.py
320
380
  msprobe/pytorch/debugger/__init__.py
321
381
  msprobe/pytorch/debugger/debugger_config.py
322
382
  msprobe/pytorch/debugger/precision_debugger.py
323
- msprobe/pytorch/dump/kernel_dump/kernel_config.py
324
383
  msprobe/pytorch/dump/module_dump/__init__.py
384
+ msprobe/pytorch/dump/module_dump/hook_wrapper.py
325
385
  msprobe/pytorch/dump/module_dump/module_dump.py
326
386
  msprobe/pytorch/dump/module_dump/module_processer.py
327
387
  msprobe/pytorch/free_benchmark/__init__.py
@@ -355,26 +415,20 @@ msprobe/pytorch/grad_probe/__init__.py
355
415
  msprobe/pytorch/grad_probe/grad_monitor.py
356
416
  msprobe/pytorch/grad_probe/grad_stat_csv.py
357
417
  msprobe/pytorch/hook_module/__init__.py
358
- msprobe/pytorch/hook_module/api_registry.py
418
+ msprobe/pytorch/hook_module/api_register.py
359
419
  msprobe/pytorch/hook_module/hook_module.py
420
+ msprobe/pytorch/hook_module/jit_script_wrapper.py
421
+ msprobe/pytorch/hook_module/pt_hook_manager.py
360
422
  msprobe/pytorch/hook_module/register_optimizer_hook.py
361
423
  msprobe/pytorch/hook_module/support_wrap_ops.yaml
362
424
  msprobe/pytorch/hook_module/utils.py
363
425
  msprobe/pytorch/hook_module/wrap_aten.py
364
- msprobe/pytorch/hook_module/wrap_distributed.py
365
- msprobe/pytorch/hook_module/wrap_functional.py
366
- msprobe/pytorch/hook_module/wrap_npu_custom.py
367
- msprobe/pytorch/hook_module/wrap_tensor.py
368
- msprobe/pytorch/hook_module/wrap_torch.py
369
- msprobe/pytorch/hook_module/wrap_vf.py
370
426
  msprobe/pytorch/monitor/__init__.py
371
- msprobe/pytorch/monitor/anomaly_analyse.py
372
- msprobe/pytorch/monitor/anomaly_detect.py
373
427
  msprobe/pytorch/monitor/csv2tb.py
428
+ msprobe/pytorch/monitor/data_writers.py
374
429
  msprobe/pytorch/monitor/features.py
375
430
  msprobe/pytorch/monitor/module_hook.py
376
431
  msprobe/pytorch/monitor/module_metric.py
377
- msprobe/pytorch/monitor/module_spec_verifier.py
378
432
  msprobe/pytorch/monitor/optimizer_collect.py
379
433
  msprobe/pytorch/monitor/utils.py
380
434
  msprobe/pytorch/monitor/visualizer.py
@@ -382,8 +436,6 @@ msprobe/pytorch/monitor/distributed/__init__.py
382
436
  msprobe/pytorch/monitor/distributed/distributed_ops.yaml
383
437
  msprobe/pytorch/monitor/distributed/stack_blacklist.yaml
384
438
  msprobe/pytorch/monitor/distributed/wrap_distributed.py
385
- msprobe/pytorch/monitor/unittest/__init__.py
386
- msprobe/pytorch/monitor/unittest/test_monitor.py
387
439
  msprobe/pytorch/online_dispatch/__init__.py
388
440
  msprobe/pytorch/online_dispatch/compare.py
389
441
  msprobe/pytorch/online_dispatch/dispatch.py
@@ -1,13 +1,14 @@
1
1
  wheel
2
2
  einops
3
- numpy<2.0
3
+ numpy<2.0,>=1.23.0
4
4
  pandas<2.1,>=1.3.5
5
5
  pyyaml
6
6
  rich
7
7
  tqdm
8
- openpyxl
8
+ openpyxl>=3.0.6
9
9
  pyopenssl
10
10
  twisted
11
11
  matplotlib
12
12
  tensorboard
13
13
  tabulate
14
+ pwinput
@@ -44,6 +44,7 @@ export MSPROBE_LOG_LEVEL={x}
44
44
 
45
45
  - msprobe支持AscendPyTorch 1.11.0或更高版本,支持的PyTorch和CANN以及PyTorch和python软件版本配套关系请参见《[Ascend Extension for PyTorch插件](https://gitee.com/ascend/pytorch)》。
46
46
  - msprobe支持MindSpore 2.4.0或更高版本,支持的MindSpore和CANN以及MindSpore和python软件版本配套关系请参见《[MindSpore版本发布列表](https://www.mindspore.cn/versions)》。
47
+ - msprobe支持MSAdapter 2.1.0。
47
48
  - msprobe支持的固件驱动版本与配套CANN软件支持的固件驱动版本相同,开发者可通过“[昇腾社区-固件与驱动](https://gitee.com/link?target=https%3A%2F%2Fwww.hiascend.com%2Fhardware%2Ffirmware-drivers%2Fcommunity%3Fproduct%3D2%26model%3D28%26cann%3D8.0.RC3.alpha003%26driver%3D1.0.25.alpha)”页面根据产品型号与CANN软件版本获取配套的固件与驱动。
48
49
 
49
50
 
@@ -53,7 +54,9 @@ export MSPROBE_LOG_LEVEL={x}
53
54
 
54
55
  **2. 工具读写的所有路径,如config_path、dump_path等,只允许包含大小写字母、数字、下划线、斜杠、点和短横线。**
55
56
 
56
- ## ⚙️ [安装](./docs/01.installation.md)
57
+ ## ⚙️ 安装
58
+
59
+ 请参见[安装指导说明](./docs/01.installation.md)。
57
60
 
58
61
  ## 🌟 新版本特性
59
62
 
@@ -69,35 +72,37 @@ export MSPROBE_LOG_LEVEL={x}
69
72
 
70
73
  ### 1 数据采集
71
74
 
72
- msprobe 通过在训练脚本中添加 PrecisionDebugger 接口的方式对 API 执行精度数据 dump 操作,对应 config.json 中的 task 为 statistics 或 tensor。
75
+ msprobe 通过在训练脚本中添加 PrecisionDebugger 接口的方式对 API 执行精度数据 dump 操作。对应 config.json 中的 "statistics""tensor" task
73
76
 
74
77
  [PyTorch 场景的数据采集](./docs/05.data_dump_PyTorch.md)
75
78
 
76
79
  [MindSpore 场景的数据采集](./docs/06.data_dump_MindSpore.md)
77
80
 
81
+ [MSAdapter 场景的数据采集](./docs/29.data_dump_MSAdapter.md)
82
+
78
83
  ### 2 精度预检
79
84
 
80
- 精度预检旨在昇腾 NPU 上扫描训练模型中的所有 API 进行 API 复现,给出精度情况的诊断和分析。对应 config.json 中的 task 为 run_ut
85
+ 精度预检旨在昇腾 NPU 上扫描训练模型中的所有 API 进行 API 复现,给出精度情况的诊断和分析。对应 config.json 中的 "run_ut" task。
81
86
 
82
87
  PyTorch 场景的[离线预检](./docs/07.accuracy_checker_PyTorch.md)和[在线预检](./docs/08.accuracy_checker_online_PyTorch.md)
83
88
 
84
89
  MindSpore 动态图场景的[离线预检](./docs/09.accuracy_checker_MindSpore.md)
85
90
 
86
- ### 3 精度比对
91
+ ### 3 分级可视化构图比对
87
92
 
88
- 该功能进行 PyTorch 整网 API 粒度的数据 dump、精度比对,进而定位训练场景下的精度问题。
93
+ 该功能将msprobe工具dump的精度数据进行解析,还原模型图结构,实现模型各个层级的精度数据比对,方便用户理解模型结构、分析精度问题。
89
94
 
90
- [PyTorch 场景的精度比对](./docs/10.accuracy_compare_PyTorch.md)
95
+ [PyTorch 场景的分级可视化构图比对](./docs/21.visualization_PyTorch.md)
91
96
 
92
- [MindSpore 场景的精度比对](./docs/11.accuracy_compare_MindSpore.md)
97
+ [MindSpore 场景的分级可视化构图比对](./docs/22.visualization_MindSpore.md)
93
98
 
94
- ### 4 溢出检测与解析
99
+ ### 4 精度比对
95
100
 
96
- 溢出检测与解析是在执行精度数据 dump 时,判断是否存在输入正常但输出存在溢出的 API,从而判断是否为正常溢出。对应 config.json 中的 overflow_check。
101
+ 该功能进行 PyTorch 整网 API 粒度的数据 dump、精度比对,进而定位训练场景下的精度问题。
97
102
 
98
- [PyTorch 场景的溢出检测与解析](./docs/12.overflow_check_PyTorch.md)
103
+ [PyTorch 场景的精度比对](./docs/10.accuracy_compare_PyTorch.md)
99
104
 
100
- [MindSpore 场景的溢出检测与解析](./docs/13.overflow_check_MindSpore.md)
105
+ [MindSpore 场景的精度比对](./docs/11.accuracy_compare_MindSpore.md)
101
106
 
102
107
  ### 5 数据解析
103
108
 
@@ -129,26 +134,57 @@ MindSpore 动态图场景的[离线预检](./docs/09.accuracy_checker_MindSpore.
129
134
 
130
135
  [兼容 PyTorch 和 MindSpore 框架的训练状态监控](./docs/19.monitor.md)
131
136
 
132
- ### 10 分级可视化构图比对
137
+ ### 10 单算子API自动生成脚本
133
138
 
134
- 该功能将msprobe工具dump的精度数据进行解析,还原模型图结构,实现模型各个层级的精度数据比对,方便用户理解模型结构、分析精度问题。
139
+ 该功能将msprobe工具dump的精度数据进行解析,自动生成单API脚本,用于复现整网中出现的算子问题,降低用户复现问题的成本,供开发分析算子问题。
135
140
 
136
- [PyTorch 场景的分级可视化构图比对](./docs/21.visualization_PyTorch.md)
141
+ [PyTorch 单算子API自动生成脚本](./docs/23.generate_operator_PyTorch.md)
137
142
 
138
- [MindSpore 场景的分级可视化构图比对](./docs/22.visualization_MindSpore.md)
143
+ [MindSpore 单算子API自动生成脚本](./docs/33.generate_operator_MindSpore.md)
139
144
 
145
+ ### 11 数码关联
140
146
 
141
- ### 11 单算子API自动生成脚本
147
+ 该功能只支持 MindSpore 静态图场景,用于将IR图与dump数据进行关联,获取dump数据和代码调用栈的关联关系。
142
148
 
143
- 该功能将msprobe工具dump的精度数据进行解析,自动生成单API脚本,用于复现整网中出现的算子问题,降低用户复现问题的成本,供开发分析算子问题。
149
+ [MindSpore 场景的数码关联](./docs/24.code_mapping_Mindspore.md)
144
150
 
145
- [PyTorch 单算子API自动生成脚本](./docs/23.generate_operator_PyTorch.md)
151
+ ### 12 溢出检测与解析
146
152
 
147
- ### 12 数码关联
153
+ 溢出检测用于采集溢出 API 或 模块的精度数据,而溢出解析则是通过对溢出数据的分析,进一步判断是否为正常溢出。对应 config.json 中的 "overflow_check" task。
154
+ 推荐直接使用[数据采集](#1-数据采集)功能采集统计量信息,检测溢出问题。
148
155
 
149
- 该功能只支持 MindSpore 静态图场景,用于将IR图与dump数据进行关联,获取dump数据和代码调用栈的关联关系。
156
+ [PyTorch 场景的溢出检测与解析](./docs/12.overflow_check_PyTorch.md)
157
+
158
+ [MindSpore 场景的溢出检测](./docs/13.overflow_check_MindSpore.md)
159
+
160
+ [MSAdapter 场景的溢出检测](./docs/30.overflow_check_MSAdapter.md)
161
+
162
+ ### 13 训练检查
163
+
164
+ 该工具主要包括:
165
+
166
+ 训练前或精度比对前,对比两个环境下可能影响训练精度的配置差异。
167
+
168
+ [PyTorch 训练前配置检查](./docs/31.config_check.md)
169
+
170
+ 训练过程中或结束后,比较两个不同的checkpoint,评估模型相似度。
171
+
172
+ [checkpoint比对](./docs/32.ckpt_compare.md)
173
+
174
+ ### 14 强化学习数据采集
175
+
176
+ 主要能力:
177
+
178
+ 灵活采集强化学习中重要关键过程数据,并支持比对。
179
+
180
+ [强化学习数据采集](./docs/34.RL_collect.md)
181
+
182
+ ### 15 整网首个溢出节点分析
183
+
184
+ 多rank场景下通过dump数据找到首个出现Nan或Inf的节点。
185
+
186
+ [PyTorch 场景整网首个溢出节点分析](./docs/35.nan_analyze.md)
150
187
 
151
- [MindSpore 场景的数码关联](./docs/24.code_mapping_Mindspore.md)
152
188
 
153
189
  ## 📑 补充材料
154
190
 
@@ -0,0 +1,17 @@
1
+ # Copyright (c) 2025-2025, Huawei Technologies Co., Ltd.
2
+ # All rights reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ from msprobe.core.single_save.single_saver import SingleSave
17
+ from msprobe.core.single_save.single_comparator import SingleComparator