mindstudio-probe 8.1.2__tar.gz → 8.2.1__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 (522) hide show
  1. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/PKG-INFO +2 -2
  2. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/PKG-INFO +2 -2
  3. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/SOURCES.txt +36 -11
  4. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/README.md +6 -6
  5. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/const.py +98 -41
  6. mindstudio_probe-8.2.1/msprobe/core/common/db_manager.py +256 -0
  7. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/file_utils.py +28 -5
  8. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/log.py +7 -0
  9. mindstudio_probe-8.2.1/msprobe/core/common/megatron_utils.py +59 -0
  10. mindstudio_probe-8.2.1/msprobe/core/common/parallel_state.py +193 -0
  11. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/utils.py +20 -13
  12. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common_config.py +5 -0
  13. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/acc_compare.py +140 -93
  14. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/check.py +13 -0
  15. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/compare_cli.py +64 -6
  16. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/config.py +10 -8
  17. mindstudio_probe-8.2.1/msprobe/core/compare/diff_analyze/diff_analyze_threshold.yaml +14 -0
  18. mindstudio_probe-8.2.1/msprobe/core/compare/diff_analyze/first_diff_analyze.py +135 -0
  19. mindstudio_probe-8.2.1/msprobe/core/compare/diff_analyze/ignore_op_list.yaml +3 -0
  20. mindstudio_probe-8.2.1/msprobe/core/compare/find_first/analyzer.py +282 -0
  21. mindstudio_probe-8.2.1/msprobe/core/compare/find_first/data_processor.py +35 -0
  22. mindstudio_probe-8.2.1/msprobe/core/compare/find_first/graph.py +188 -0
  23. mindstudio_probe-8.2.1/msprobe/core/compare/find_first/utils.py +189 -0
  24. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/highlight.py +74 -101
  25. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/layer_mapping/layer_mapping.py +14 -9
  26. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/merge_result/merge_result.py +2 -2
  27. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/multiprocessing_compute.py +45 -28
  28. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/npy_compare.py +7 -10
  29. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/utils.py +338 -130
  30. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/dataset_checker.py +2 -1
  31. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/env_args_checker.py +5 -5
  32. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/hyperparameter_checker.py +30 -10
  33. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/pip_checker.py +4 -3
  34. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/random_checker.py +3 -3
  35. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/weights_checker.py +2 -1
  36. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/ckpt_compare/megatron_loader.py +2 -0
  37. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/resource/hyperparameter.yaml +11 -1
  38. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/utils/hyperparameter_parser.py +7 -3
  39. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/utils/utils.py +10 -0
  40. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/api_registry.py +49 -30
  41. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/data_collector.py +71 -29
  42. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/data_processor/base.py +2 -0
  43. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/data_processor/mindspore_processor.py +47 -53
  44. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/data_processor/pytorch_processor.py +227 -93
  45. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/json_writer.py +81 -7
  46. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/scope.py +4 -6
  47. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/hook_manager.py +129 -70
  48. mindstudio_probe-8.2.1/msprobe/core/monitor/csv2db.py +361 -0
  49. mindstudio_probe-8.2.1/msprobe/core/monitor/db_utils.py +278 -0
  50. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/monitor/utils.py +35 -1
  51. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/service.py +31 -39
  52. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/single_save/single_comparator.py +16 -3
  53. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/01.installation.md +51 -19
  54. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/02.config_introduction.md +16 -20
  55. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/03.config_examples.md +26 -0
  56. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/04.kernel_dump_PyTorch.md +1 -1
  57. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/05.data_dump_PyTorch.md +6 -2
  58. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/06.data_dump_MindSpore.md +44 -7
  59. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/07.accuracy_checker_PyTorch.md +1 -1
  60. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/10.accuracy_compare_PyTorch.md +124 -44
  61. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/11.accuracy_compare_MindSpore.md +75 -7
  62. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/14.data_parse_PyTorch.md +1 -1
  63. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/19.monitor.md +94 -7
  64. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/21.visualization_PyTorch.md +71 -101
  65. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/22.visualization_MindSpore.md +69 -119
  66. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/23.generate_operator_PyTorch.md +1 -1
  67. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/25.tool_function_introduction.md +0 -1
  68. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/26.data_dump_PyTorch_baseline.md +7 -7
  69. mindstudio_probe-8.2.1/msprobe/docs/28.debugger_save_instruction.md +288 -0
  70. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/29.data_dump_MSAdapter.md +6 -0
  71. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/31.config_check.md +4 -2
  72. mindstudio_probe-8.2.1/msprobe/docs/36.calculation_result_change.md +75 -0
  73. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/FAQ.md +22 -1
  74. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/data_dump_MindSpore/dynamic_graph_quick_start_example.md +6 -2
  75. mindstudio_probe-8.2.1/msprobe/docs/img/compare_result.png +0 -0
  76. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  77. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_match_info.png +0 -0
  78. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  79. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  80. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  81. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  82. mindstudio_probe-8.2.1/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  83. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/1.png +0 -0
  84. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/2.png +0 -0
  85. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/3.png +0 -0
  86. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/4.png +0 -0
  87. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/5.png +0 -0
  88. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/6.png +0 -0
  89. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/7.png +0 -0
  90. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory-qwen25vl.txt +59 -0
  91. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory1.png +0 -0
  92. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory2.png +0 -0
  93. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed-mm-qwen25vl.txt +80 -0
  94. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed1.png +0 -0
  95. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed2.png +0 -0
  96. mindstudio_probe-8.2.1/msprobe/docs/visualization/mindspeed_llamafactory_mapping.md +330 -0
  97. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/__init__.py +1 -1
  98. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py +1 -1
  99. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/api_runner.py +9 -6
  100. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/compute_element.py +18 -12
  101. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/cell_processor.py +64 -25
  102. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/common/utils.py +51 -7
  103. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/compare/common_dir_compare.py +45 -37
  104. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/compare/ms_compare.py +10 -2
  105. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/compare/ms_graph_compare.py +47 -52
  106. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/debugger/debugger_config.py +18 -7
  107. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/debugger/precision_debugger.py +16 -12
  108. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/cell_dump_process.py +130 -68
  109. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/cell_dump_with_insert_gradient.py +10 -2
  110. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/graph_mode_cell_dump.py +35 -9
  111. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/graph_tensor_dump.py +11 -0
  112. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/hook_cell/api_register.py +19 -20
  113. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/hook_cell/hook_cell.py +12 -34
  114. mindstudio_probe-8.2.1/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +214 -0
  115. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/kernel_kbyk_dump.py +24 -0
  116. mindstudio_probe-8.2.1/msprobe/mindspore/exception_dump/exception_dump_tool_factory.py +51 -0
  117. mindstudio_probe-8.2.1/msprobe/mindspore/exception_dump/kernel_graph_exception_dump.py +57 -0
  118. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/api_pynative_self_check.py +5 -4
  119. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/mindspore_service.py +2 -2
  120. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/mindtorch/mindtorch_adaptor.py +12 -7
  121. mindstudio_probe-8.2.1/msprobe/mindspore/monitor/features.py +158 -0
  122. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/module_hook.py +168 -10
  123. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/utils.py +27 -1
  124. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/ms_config.py +12 -4
  125. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/overflow_check/overflow_check_tool_factory.py +1 -1
  126. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/task_handler_factory.py +3 -1
  127. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/common/config.py +3 -36
  128. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_compare.py +0 -24
  129. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/compare.py +2 -12
  130. mindstudio_probe-8.2.1/msprobe/pytorch/api_accuracy_checker/config.yaml +5 -0
  131. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/multi_run_ut.py +2 -2
  132. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py +12 -132
  133. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/common/utils.py +1 -21
  134. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/compare/pt_compare.py +10 -2
  135. mindstudio_probe-8.2.1/msprobe/pytorch/compare/pt_diff_analyze.py +21 -0
  136. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/compare/utils.py +2 -1
  137. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/debugger/debugger_config.py +18 -23
  138. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/dump/module_dump/hook_wrapper.py +10 -7
  139. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/dump/module_dump/module_processer.py +41 -19
  140. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/main.py +7 -4
  141. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/api_register.py +62 -24
  142. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/hook_module.py +9 -29
  143. mindstudio_probe-8.2.1/msprobe/pytorch/hook_module/pt_hook_manager.py +137 -0
  144. mindstudio_probe-8.2.1/msprobe/pytorch/hook_module/script_wrapper.py +140 -0
  145. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/support_wrap_ops.yaml +6 -0
  146. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/csv2tb.py +1 -1
  147. mindstudio_probe-8.2.1/msprobe/pytorch/monitor/features.py +207 -0
  148. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/module_hook.py +221 -81
  149. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/module_metric.py +27 -1
  150. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/optimizer_collect.py +109 -4
  151. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/dispatch.py +42 -24
  152. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/dump_compare.py +1 -1
  153. mindstudio_probe-8.2.1/msprobe/pytorch/parse_tool/__init__.py +0 -0
  154. mindstudio_probe-8.2.1/msprobe/pytorch/parse_tool/lib/__init__.py +0 -0
  155. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/visualization.py +0 -1
  156. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/pt_config.py +2 -51
  157. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/pytorch_service.py +7 -14
  158. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/builder/graph_builder.py +192 -63
  159. mindstudio_probe-8.2.1/msprobe/visualization/builder/graph_merger.py +986 -0
  160. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/builder/msprobe_adapter.py +17 -15
  161. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/compare/graph_comparator.py +26 -16
  162. mindstudio_probe-8.2.1/msprobe/visualization/db_utils.py +252 -0
  163. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/base_node.py +2 -22
  164. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/distributed_analyzer.py +12 -12
  165. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/graph.py +44 -16
  166. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph_service.py +143 -59
  167. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/utils.py +103 -4
  168. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/setup.py +7 -2
  169. mindstudio_probe-8.1.2/msprobe/docs/08.accuracy_checker_online_PyTorch.md +0 -295
  170. mindstudio_probe-8.1.2/msprobe/docs/28.debugger_save_instruction.md +0 -185
  171. mindstudio_probe-8.1.2/msprobe/docs/img/compare_result.png +0 -0
  172. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  173. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_match_info.png +0 -0
  174. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  175. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  176. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  177. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  178. mindstudio_probe-8.1.2/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  179. mindstudio_probe-8.1.2/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +0 -93
  180. mindstudio_probe-8.1.2/msprobe/mindspore/monitor/features.py +0 -76
  181. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/config.yaml +0 -10
  182. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py +0 -205
  183. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py +0 -378
  184. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py +0 -239
  185. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py +0 -115
  186. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py +0 -250
  187. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml +0 -63
  188. mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py +0 -198
  189. mindstudio_probe-8.1.2/msprobe/pytorch/attl_manager.py +0 -65
  190. mindstudio_probe-8.1.2/msprobe/pytorch/hook_module/jit_script_wrapper.py +0 -33
  191. mindstudio_probe-8.1.2/msprobe/pytorch/hook_module/pt_hook_manager.py +0 -68
  192. mindstudio_probe-8.1.2/msprobe/pytorch/monitor/features.py +0 -113
  193. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/LICENSE +0 -0
  194. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/MANIFEST.in +0 -0
  195. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/dependency_links.txt +0 -0
  196. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/entry_points.txt +0 -0
  197. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/not-zip-safe +0 -0
  198. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/requires.txt +0 -0
  199. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/mindstudio_probe.egg-info/top_level.txt +0 -0
  200. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/CMakeLists.txt +0 -0
  201. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/__init__.py +0 -0
  202. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/config.json +0 -0
  203. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/__init__.py +0 -0
  204. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/advisor/advisor.py +0 -0
  205. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/advisor/advisor_const.py +0 -0
  206. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/advisor/advisor_result.py +0 -0
  207. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/decorator.py +0 -0
  208. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/exceptions.py +0 -0
  209. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/framework_adapter.py +0 -0
  210. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/global_lock.py +0 -0
  211. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/inplace_op_checker.py +0 -0
  212. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/inplace_ops.yaml +0 -0
  213. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/common/runtime.py +0 -0
  214. {mindstudio_probe-8.1.2/msprobe/core/grad_probe → mindstudio_probe-8.2.1/msprobe/core/compare/diff_analyze}/__init__.py +0 -0
  215. {mindstudio_probe-8.1.2/msprobe/core/monitor → mindstudio_probe-8.2.1/msprobe/core/compare/find_first}/__init__.py +0 -0
  216. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/layer_mapping/__init__.py +0 -0
  217. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/layer_mapping/data_scope_parser.py +0 -0
  218. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/layer_mapping/postprocess_pass.py +0 -0
  219. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/merge_result/merge_result_cli.py +0 -0
  220. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/merge_result/utils.py +0 -0
  221. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/compare/ms_to_pt_api.yaml +0 -0
  222. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/__init__.py +0 -0
  223. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/__init__.py +0 -0
  224. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/checkers/base_checker.py +0 -0
  225. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/ckpt_compare/ckpt_comparator.py +0 -0
  226. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/ckpt_compare/metrics.py +0 -0
  227. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/ckpt_compare/name_mapping.yaml +0 -0
  228. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/config_check_cli.py +0 -0
  229. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/config_checker.py +0 -0
  230. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/resource/dependency.yaml +0 -0
  231. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/config_check/resource/env.yaml +0 -0
  232. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/data_dump/data_processor/factory.py +0 -0
  233. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/debugger/precision_debugger.py +0 -0
  234. {mindstudio_probe-8.1.2/msprobe/core/single_save → mindstudio_probe-8.2.1/msprobe/core/grad_probe}/__init__.py +0 -0
  235. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/grad_probe/constant.py +0 -0
  236. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/grad_probe/grad_compare.py +0 -0
  237. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/grad_probe/utils.py +0 -0
  238. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/kernel_dump/kernel_config.py +0 -0
  239. {mindstudio_probe-8.1.2/msprobe/mindspore/api_accuracy_checker → mindstudio_probe-8.2.1/msprobe/core/monitor}/__init__.py +0 -0
  240. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/monitor/anomaly_processor.py +0 -0
  241. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/abnormal_scene.py +0 -0
  242. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/api_info.py +0 -0
  243. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/checker.py +0 -0
  244. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/filter.py +0 -0
  245. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/ignore_rules.yaml +0 -0
  246. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/level.py +0 -0
  247. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/overflow_check/utils.py +0 -0
  248. {mindstudio_probe-8.1.2/msprobe/mindspore/code_mapping → mindstudio_probe-8.2.1/msprobe/core/single_save}/__init__.py +0 -0
  249. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/core/single_save/single_saver.py +0 -0
  250. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/09.accuracy_checker_MindSpore.md +0 -0
  251. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/12.overflow_check_PyTorch.md +0 -0
  252. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/13.overflow_check_MindSpore.md +0 -0
  253. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/15.free_benchmarking_PyTorch.md +0 -0
  254. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/16.free_benchmarking_MindSpore.md +0 -0
  255. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/17.grad_probe.md +0 -0
  256. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/18.online_dispatch.md +0 -0
  257. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/20.monitor_performance_baseline.md +0 -0
  258. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/24.code_mapping_Mindspore.md +0 -0
  259. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/27.dump_json_instruction.md +0 -0
  260. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/28.kernel_dump_MindSpore.md +0 -0
  261. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/30.overflow_check_MSAdapter.md +0 -0
  262. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/32.ckpt_compare.md +0 -0
  263. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/33.generate_operator_MindSpore.md +0 -0
  264. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/34.RL_collect.md +0 -0
  265. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/35.nan_analyze.md +0 -0
  266. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md +0 -0
  267. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md +0 -0
  268. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/data_dump_MindSpore/data_dump_MindSpore_baseline.md +0 -0
  269. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/BLOOM-7B_1.png +0 -0
  270. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/BLOOM-7B_2.png +0 -0
  271. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/BLOOM-7B_3.png +0 -0
  272. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/BLOOM-7B_4.png +0 -0
  273. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_1.png +0 -0
  274. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_2.png +0 -0
  275. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_3.png +0 -0
  276. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_4.png +0 -0
  277. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_5.png +0 -0
  278. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_6.png +0 -0
  279. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_7.png +0 -0
  280. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/GPT-3_8.png +0 -0
  281. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/YOLOV5S_1.png +0 -0
  282. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/YOLOV5S_2.png +0 -0
  283. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/accuracy_checking_details.png +0 -0
  284. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/accuracy_checking_result.png +0 -0
  285. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/api_precision_compare_details.png +0 -0
  286. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/api_precision_compare_result.png +0 -0
  287. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/auto_analyze_log.png +0 -0
  288. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/compare_result_pkl.png +0 -0
  289. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/compare_result_pkl_md5.png.png +0 -0
  290. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/cpu_info.png +0 -0
  291. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/free_benchmark.png +0 -0
  292. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/free_benchmark_framework.png +0 -0
  293. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/grad_probe_image-1.png +0 -0
  294. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/grad_probe_image-2.png +0 -0
  295. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/grad_probe_image-3.png +0 -0
  296. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/grad_probe_image-4.png +0 -0
  297. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/grad_probe_image.png +0 -0
  298. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/merge_result.png +0 -0
  299. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/module_compare.png +0 -0
  300. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/monitor/cpu_info.png +0 -0
  301. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/monitor/step_count_per_record.png +0 -0
  302. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/ms_dump.png +0 -0
  303. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/ms_layer.png +0 -0
  304. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/pt_dump.png +0 -0
  305. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/save_compare_result_sample.png +0 -0
  306. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/fuzzy_match_ms.png +0 -0
  307. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/fuzzy_match_pt.png +0 -0
  308. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/proxy.png +0 -0
  309. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/tensorboard_1.png +0 -0
  310. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/tensorboard_2.png +0 -0
  311. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/img/visualization/vis_browser_2.png +0 -0
  312. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/GPTModel.png +0 -0
  313. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/ParallelMLP.png +0 -0
  314. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/layer_mapping_example.md +0 -0
  315. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/mapping.png +0 -0
  316. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/mapping1.png +0 -0
  317. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/module_name.png +0 -0
  318. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/module_name1.png +0 -0
  319. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/no_mapping.png +0 -0
  320. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/no_mapping1.png +0 -0
  321. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/no_mapping_analyze.png +0 -0
  322. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/docs/visualization/top_layer.png +0 -0
  323. {mindstudio_probe-8.1.2/msprobe/mindspore/debugger → mindstudio_probe-8.2.1/msprobe/mindspore/api_accuracy_checker}/__init__.py +0 -0
  324. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/api_info.py +0 -0
  325. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/base_compare_algorithm.py +0 -0
  326. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/bench_functions/flash_attention_score.py +0 -0
  327. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/bench_functions/fusion_operator.py +0 -0
  328. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/checker_support_api.yaml +0 -0
  329. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/cmd_parser.py +0 -0
  330. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/data_manager.py +0 -0
  331. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
  332. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
  333. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/main.py +0 -0
  334. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/multi_api_accuracy_checker.py +0 -0
  335. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/multi_data_manager.py +0 -0
  336. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/torch_mindtorch_importer.py +0 -0
  337. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/type_mapping.py +0 -0
  338. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/api_accuracy_checker/utils.py +0 -0
  339. {mindstudio_probe-8.1.2/msprobe/mindspore/dump → mindstudio_probe-8.2.1/msprobe/mindspore/code_mapping}/__init__.py +0 -0
  340. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/bind.py +0 -0
  341. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/cmd_parser.py +0 -0
  342. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/graph.py +0 -0
  343. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/graph_parser.py +0 -0
  344. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/main.py +0 -0
  345. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/code_mapping/processor.py +0 -0
  346. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/common/const.py +0 -0
  347. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/common/log.py +0 -0
  348. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/compare/distributed_compare.py +0 -0
  349. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/compare/utils.py +0 -0
  350. {mindstudio_probe-8.1.2/msprobe/mindspore/free_benchmark → mindstudio_probe-8.2.1/msprobe/mindspore/debugger}/__init__.py +0 -0
  351. {mindstudio_probe-8.1.2/msprobe/mindspore/free_benchmark/common → mindstudio_probe-8.2.1/msprobe/mindspore/dump}/__init__.py +0 -0
  352. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/dump_tool_factory.py +0 -0
  353. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/hook_cell/primitive_hooks.py +0 -0
  354. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml +0 -0
  355. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/jit_dump.py +0 -0
  356. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dump/kernel_graph_dump.py +0 -0
  357. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp +0 -0
  358. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/dym_loader/hook_dynamic_loader.h +0 -0
  359. {mindstudio_probe-8.1.2/msprobe/mindspore/free_benchmark/handler → mindstudio_probe-8.2.1/msprobe/mindspore/exception_dump}/__init__.py +0 -0
  360. {mindstudio_probe-8.1.2/msprobe/mindspore/grad_probe → mindstudio_probe-8.2.1/msprobe/mindspore/free_benchmark}/__init__.py +0 -0
  361. {mindstudio_probe-8.1.2/msprobe/mindspore/monitor/distributed → mindstudio_probe-8.2.1/msprobe/mindspore/free_benchmark/common}/__init__.py +0 -0
  362. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/common/config.py +0 -0
  363. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/common/handler_params.py +0 -0
  364. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/common/utils.py +0 -0
  365. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/data/support_wrap_ops.yaml +0 -0
  366. {mindstudio_probe-8.1.2/msprobe/mindspore/overflow_check → mindstudio_probe-8.2.1/msprobe/mindspore/free_benchmark/handler}/__init__.py +0 -0
  367. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/handler/base_handler.py +0 -0
  368. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/handler/check_handler.py +0 -0
  369. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/handler/fix_handler.py +0 -0
  370. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/handler/handler_factory.py +0 -0
  371. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/add_noise.py +0 -0
  372. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/base_perturbation.py +0 -0
  373. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/bit_noise.py +0 -0
  374. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/exchange_value.py +0 -0
  375. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/improve_precision.py +0 -0
  376. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/no_change.py +0 -0
  377. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/perturbation/perturbation_factory.py +0 -0
  378. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/free_benchmark/self_check_tool_factory.py +0 -0
  379. {mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker → mindstudio_probe-8.2.1/msprobe/mindspore/grad_probe}/__init__.py +0 -0
  380. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/global_context.py +0 -0
  381. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/grad_analyzer.py +0 -0
  382. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/grad_monitor.py +0 -0
  383. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/grad_stat_csv.py +0 -0
  384. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/hook.py +0 -0
  385. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/grad_probe/utils.py +0 -0
  386. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/mindtorch/__init__.py +0 -0
  387. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/common_func.py +0 -0
  388. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/data_writers.py +0 -0
  389. {mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/common → mindstudio_probe-8.2.1/msprobe/mindspore/monitor/distributed}/__init__.py +0 -0
  390. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/distributed/distributed_ops.yaml +0 -0
  391. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/distributed/stack_blacklist.yaml +0 -0
  392. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/distributed/wrap_distributed.py +0 -0
  393. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/monitor/optimizer_collect.py +0 -0
  394. {mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/compare → mindstudio_probe-8.2.1/msprobe/mindspore/overflow_check}/__init__.py +0 -0
  395. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/mindspore/overflow_check/kernel_graph_overflow_check.py +0 -0
  396. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/msprobe.py +0 -0
  397. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/nan_analyze/__init__.py +0 -0
  398. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/nan_analyze/analyzer.py +0 -0
  399. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/nan_analyze/graph.py +1 -1
  400. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/nan_analyze/utils.py +0 -0
  401. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/__init__.py +0 -0
  402. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/.keep +0 -0
  403. {mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/run_ut → mindstudio_probe-8.2.1/msprobe/pytorch/api_accuracy_checker}/__init__.py +0 -0
  404. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/common/.keep +0 -0
  405. {mindstudio_probe-8.1.2/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer → mindstudio_probe-8.2.1/msprobe/pytorch/api_accuracy_checker/common}/__init__.py +0 -0
  406. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/common/utils.py +0 -0
  407. {mindstudio_probe-8.1.2/msprobe/pytorch/debugger → mindstudio_probe-8.2.1/msprobe/pytorch/api_accuracy_checker/compare}/__init__.py +0 -0
  408. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/algorithm.py +0 -0
  409. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_standard.yaml +0 -0
  410. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_threshold.yaml +0 -0
  411. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/compare_column.py +0 -0
  412. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/compare_input.py +0 -0
  413. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/compare/compare_utils.py +0 -0
  414. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json +0 -0
  415. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
  416. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
  417. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/absolute_threshold.py +0 -0
  418. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/accumulative_error_compare.py +0 -0
  419. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/base_standard.py +0 -0
  420. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/benchmark_compare.py +0 -0
  421. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/binary_consistency.py +0 -0
  422. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_config.py +0 -0
  423. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_register.py +0 -0
  424. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/thousandth_standard.py +0 -0
  425. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/precision_standard/ulp_compare.py +0 -0
  426. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/.keep +0 -0
  427. {mindstudio_probe-8.1.2/msprobe/pytorch/dump/module_dump → mindstudio_probe-8.2.1/msprobe/pytorch/api_accuracy_checker/run_ut}/__init__.py +0 -0
  428. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/data_generate.py +0 -0
  429. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py +0 -0
  430. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py +0 -0
  431. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json +0 -0
  432. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/__init__.py +0 -0
  433. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/apply_adam.py +0 -0
  434. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/apply_adam_w.py +0 -0
  435. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/confusion_transpose.py +0 -0
  436. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/fast_gelu.py +0 -0
  437. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/group_norm_silu.py +0 -0
  438. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/layer_norm_eval.py +0 -0
  439. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/linear.py +0 -0
  440. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/matmul_backward.py +0 -0
  441. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/mish.py +0 -0
  442. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/moe_gating_top_k_softmax.py +0 -0
  443. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/npu_fusion_attention.py +0 -0
  444. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/rms_norm.py +0 -0
  445. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/rotary_mul.py +0 -0
  446. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/scaled_mask_softmax.py +0 -0
  447. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/sort_v2.py +0 -0
  448. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/bench_functions/swiglu.py +0 -0
  449. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/common/__init__.py +0 -0
  450. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/common/compare_script.template +0 -0
  451. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/common/log.py +0 -0
  452. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/common/parse_json.py +0 -0
  453. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/compare/distributed_compare.py +0 -0
  454. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/compare/mapping.yaml +0 -0
  455. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/compare/match.py +0 -0
  456. {mindstudio_probe-8.1.2/msprobe/pytorch/free_benchmark/common → mindstudio_probe-8.2.1/msprobe/pytorch/debugger}/__init__.py +0 -0
  457. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/debugger/precision_debugger.py +0 -0
  458. {mindstudio_probe-8.1.2/msprobe/pytorch/free_benchmark/perturbed_layers → mindstudio_probe-8.2.1/msprobe/pytorch/dump/module_dump}/__init__.py +0 -0
  459. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/dump/module_dump/module_dump.py +0 -0
  460. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/__init__.py +0 -0
  461. {mindstudio_probe-8.1.2/msprobe/pytorch/free_benchmark/perturbed_layers/npu → mindstudio_probe-8.2.1/msprobe/pytorch/free_benchmark/common}/__init__.py +0 -0
  462. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/common/constant.py +0 -0
  463. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/common/counter.py +0 -0
  464. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/common/enums.py +0 -0
  465. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/common/params.py +0 -0
  466. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/common/utils.py +0 -0
  467. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/compare/grad_saver.py +0 -0
  468. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/compare/single_benchmark.py +0 -0
  469. {mindstudio_probe-8.1.2/msprobe/pytorch/free_benchmark/result_handlers → mindstudio_probe-8.2.1/msprobe/pytorch/free_benchmark/perturbed_layers}/__init__.py +0 -0
  470. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/base_layer.py +0 -0
  471. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/layer_factory.py +0 -0
  472. {mindstudio_probe-8.1.2/msprobe/pytorch/grad_probe → mindstudio_probe-8.2.1/msprobe/pytorch/free_benchmark/perturbed_layers/npu}/__init__.py +0 -0
  473. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/add_noise.py +0 -0
  474. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/bit_noise.py +0 -0
  475. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/change_value.py +0 -0
  476. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/improve_precision.py +0 -0
  477. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/no_change.py +0 -0
  478. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/npu_base_layser.py +0 -0
  479. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/perturbed_layers/run_cpu.py +0 -0
  480. {mindstudio_probe-8.1.2/msprobe/pytorch/monitor → mindstudio_probe-8.2.1/msprobe/pytorch/free_benchmark/result_handlers}/__init__.py +0 -0
  481. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/result_handlers/base_handler.py +0 -0
  482. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/result_handlers/check_handler.py +0 -0
  483. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/result_handlers/fix_handler.py +0 -0
  484. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/result_handlers/handler_factory.py +0 -0
  485. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/free_benchmark/result_handlers/preheat_handler.py +0 -0
  486. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/function_factory.py +0 -0
  487. {mindstudio_probe-8.1.2/msprobe/pytorch/monitor/distributed → mindstudio_probe-8.2.1/msprobe/pytorch/grad_probe}/__init__.py +0 -0
  488. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/grad_probe/grad_monitor.py +0 -0
  489. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/grad_probe/grad_stat_csv.py +0 -0
  490. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/__init__.py +0 -0
  491. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/register_optimizer_hook.py +0 -0
  492. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/utils.py +0 -0
  493. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/hook_module/wrap_aten.py +0 -0
  494. {mindstudio_probe-8.1.2/msprobe/pytorch/parse_tool → mindstudio_probe-8.2.1/msprobe/pytorch/monitor}/__init__.py +0 -0
  495. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/data_writers.py +0 -0
  496. {mindstudio_probe-8.1.2/msprobe/pytorch/parse_tool/lib → mindstudio_probe-8.2.1/msprobe/pytorch/monitor/distributed}/__init__.py +0 -0
  497. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/distributed/distributed_ops.yaml +0 -0
  498. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/distributed/stack_blacklist.yaml +0 -0
  499. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/distributed/wrap_distributed.py +0 -0
  500. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/utils.py +0 -0
  501. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/monitor/visualizer.py +0 -0
  502. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/__init__.py +0 -0
  503. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/compare.py +0 -0
  504. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/single_compare.py +0 -0
  505. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/torch_ops_config.yaml +0 -0
  506. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/online_dispatch/utils.py +0 -0
  507. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/cli.py +0 -0
  508. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/compare.py +0 -0
  509. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/config.py +0 -0
  510. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/file_desc.py +0 -0
  511. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/interactive_cli.py +0 -0
  512. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/parse_exception.py +0 -0
  513. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/parse_tool.py +0 -0
  514. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/pytorch/parse_tool/lib/utils.py +0 -0
  515. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/__init__.py +0 -0
  516. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/builder/__init__.py +0 -0
  517. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/compare/__init__.py +0 -0
  518. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/compare/mode_adapter.py +0 -0
  519. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/__init__.py +0 -0
  520. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/node_colors.py +0 -0
  521. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/msprobe/visualization/graph/node_op.py +0 -0
  522. {mindstudio_probe-8.1.2 → mindstudio_probe-8.2.1}/setup.cfg +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 8.1.2
3
+ Version: 8.2.1
4
4
  Summary: Ascend Probe Utils
5
- Home-page: https://gitee.com/ascend/mstt/tree/master/debug/accuracy_tools/msprobe
5
+ Home-page: https://gitcode.com/Ascend/mstt/tree/master/debug/accuracy_tools/msprobe
6
6
  Author: Ascend Team
7
7
  Author-email: pmail_mindstudio@huawei.com
8
8
  License: Apache License 2.0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 8.1.2
3
+ Version: 8.2.1
4
4
  Summary: Ascend Probe Utils
5
- Home-page: https://gitee.com/ascend/mstt/tree/master/debug/accuracy_tools/msprobe
5
+ Home-page: https://gitcode.com/Ascend/mstt/tree/master/debug/accuracy_tools/msprobe
6
6
  Author: Ascend Team
7
7
  Author-email: pmail_mindstudio@huawei.com
8
8
  License: Apache License 2.0
@@ -21,6 +21,7 @@ msprobe/core/advisor/advisor.py
21
21
  msprobe/core/advisor/advisor_const.py
22
22
  msprobe/core/advisor/advisor_result.py
23
23
  msprobe/core/common/const.py
24
+ msprobe/core/common/db_manager.py
24
25
  msprobe/core/common/decorator.py
25
26
  msprobe/core/common/exceptions.py
26
27
  msprobe/core/common/file_utils.py
@@ -29,6 +30,8 @@ msprobe/core/common/global_lock.py
29
30
  msprobe/core/common/inplace_op_checker.py
30
31
  msprobe/core/common/inplace_ops.yaml
31
32
  msprobe/core/common/log.py
33
+ msprobe/core/common/megatron_utils.py
34
+ msprobe/core/common/parallel_state.py
32
35
  msprobe/core/common/runtime.py
33
36
  msprobe/core/common/utils.py
34
37
  msprobe/core/compare/acc_compare.py
@@ -40,6 +43,15 @@ msprobe/core/compare/ms_to_pt_api.yaml
40
43
  msprobe/core/compare/multiprocessing_compute.py
41
44
  msprobe/core/compare/npy_compare.py
42
45
  msprobe/core/compare/utils.py
46
+ msprobe/core/compare/diff_analyze/__init__.py
47
+ msprobe/core/compare/diff_analyze/diff_analyze_threshold.yaml
48
+ msprobe/core/compare/diff_analyze/first_diff_analyze.py
49
+ msprobe/core/compare/diff_analyze/ignore_op_list.yaml
50
+ msprobe/core/compare/find_first/__init__.py
51
+ msprobe/core/compare/find_first/analyzer.py
52
+ msprobe/core/compare/find_first/data_processor.py
53
+ msprobe/core/compare/find_first/graph.py
54
+ msprobe/core/compare/find_first/utils.py
43
55
  msprobe/core/compare/layer_mapping/__init__.py
44
56
  msprobe/core/compare/layer_mapping/data_scope_parser.py
45
57
  msprobe/core/compare/layer_mapping/layer_mapping.py
@@ -83,6 +95,8 @@ msprobe/core/grad_probe/utils.py
83
95
  msprobe/core/kernel_dump/kernel_config.py
84
96
  msprobe/core/monitor/__init__.py
85
97
  msprobe/core/monitor/anomaly_processor.py
98
+ msprobe/core/monitor/csv2db.py
99
+ msprobe/core/monitor/db_utils.py
86
100
  msprobe/core/monitor/utils.py
87
101
  msprobe/core/overflow_check/abnormal_scene.py
88
102
  msprobe/core/overflow_check/api_info.py
@@ -101,7 +115,6 @@ msprobe/docs/04.kernel_dump_PyTorch.md
101
115
  msprobe/docs/05.data_dump_PyTorch.md
102
116
  msprobe/docs/06.data_dump_MindSpore.md
103
117
  msprobe/docs/07.accuracy_checker_PyTorch.md
104
- msprobe/docs/08.accuracy_checker_online_PyTorch.md
105
118
  msprobe/docs/09.accuracy_checker_MindSpore.md
106
119
  msprobe/docs/10.accuracy_compare_PyTorch.md
107
120
  msprobe/docs/11.accuracy_compare_MindSpore.md
@@ -130,6 +143,7 @@ msprobe/docs/32.ckpt_compare.md
130
143
  msprobe/docs/33.generate_operator_MindSpore.md
131
144
  msprobe/docs/34.RL_collect.md
132
145
  msprobe/docs/35.nan_analyze.md
146
+ msprobe/docs/36.calculation_result_change.md
133
147
  msprobe/docs/FAQ.md
134
148
  msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md
135
149
  msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md
@@ -191,12 +205,26 @@ msprobe/docs/visualization/ParallelMLP.png
191
205
  msprobe/docs/visualization/layer_mapping_example.md
192
206
  msprobe/docs/visualization/mapping.png
193
207
  msprobe/docs/visualization/mapping1.png
208
+ msprobe/docs/visualization/mindspeed_llamafactory_mapping.md
194
209
  msprobe/docs/visualization/module_name.png
195
210
  msprobe/docs/visualization/module_name1.png
196
211
  msprobe/docs/visualization/no_mapping.png
197
212
  msprobe/docs/visualization/no_mapping1.png
198
213
  msprobe/docs/visualization/no_mapping_analyze.png
199
214
  msprobe/docs/visualization/top_layer.png
215
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/1.png
216
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/2.png
217
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/3.png
218
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/4.png
219
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/5.png
220
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/6.png
221
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/7.png
222
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory-qwen25vl.txt
223
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory1.png
224
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory2.png
225
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed-mm-qwen25vl.txt
226
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed1.png
227
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed2.png
200
228
  msprobe/mindspore/__init__.py
201
229
  msprobe/mindspore/cell_processor.py
202
230
  msprobe/mindspore/mindspore_service.py
@@ -255,6 +283,9 @@ msprobe/mindspore/dump/hook_cell/primitive_hooks.py
255
283
  msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml
256
284
  msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp
257
285
  msprobe/mindspore/dym_loader/hook_dynamic_loader.h
286
+ msprobe/mindspore/exception_dump/__init__.py
287
+ msprobe/mindspore/exception_dump/exception_dump_tool_factory.py
288
+ msprobe/mindspore/exception_dump/kernel_graph_exception_dump.py
258
289
  msprobe/mindspore/free_benchmark/__init__.py
259
290
  msprobe/mindspore/free_benchmark/api_pynative_self_check.py
260
291
  msprobe/mindspore/free_benchmark/self_check_tool_factory.py
@@ -302,7 +333,6 @@ msprobe/nan_analyze/analyzer.py
302
333
  msprobe/nan_analyze/graph.py
303
334
  msprobe/nan_analyze/utils.py
304
335
  msprobe/pytorch/__init__.py
305
- msprobe/pytorch/attl_manager.py
306
336
  msprobe/pytorch/function_factory.py
307
337
  msprobe/pytorch/pt_config.py
308
338
  msprobe/pytorch/pytorch_service.py
@@ -342,14 +372,6 @@ msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py
342
372
  msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py
343
373
  msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py
344
374
  msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json
345
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/__init__.py
346
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py
347
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py
348
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py
349
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py
350
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py
351
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml
352
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py
353
375
  msprobe/pytorch/bench_functions/__init__.py
354
376
  msprobe/pytorch/bench_functions/apply_adam.py
355
377
  msprobe/pytorch/bench_functions/apply_adam_w.py
@@ -376,6 +398,7 @@ msprobe/pytorch/compare/distributed_compare.py
376
398
  msprobe/pytorch/compare/mapping.yaml
377
399
  msprobe/pytorch/compare/match.py
378
400
  msprobe/pytorch/compare/pt_compare.py
401
+ msprobe/pytorch/compare/pt_diff_analyze.py
379
402
  msprobe/pytorch/compare/utils.py
380
403
  msprobe/pytorch/debugger/__init__.py
381
404
  msprobe/pytorch/debugger/debugger_config.py
@@ -417,9 +440,9 @@ msprobe/pytorch/grad_probe/grad_stat_csv.py
417
440
  msprobe/pytorch/hook_module/__init__.py
418
441
  msprobe/pytorch/hook_module/api_register.py
419
442
  msprobe/pytorch/hook_module/hook_module.py
420
- msprobe/pytorch/hook_module/jit_script_wrapper.py
421
443
  msprobe/pytorch/hook_module/pt_hook_manager.py
422
444
  msprobe/pytorch/hook_module/register_optimizer_hook.py
445
+ msprobe/pytorch/hook_module/script_wrapper.py
423
446
  msprobe/pytorch/hook_module/support_wrap_ops.yaml
424
447
  msprobe/pytorch/hook_module/utils.py
425
448
  msprobe/pytorch/hook_module/wrap_aten.py
@@ -455,10 +478,12 @@ msprobe/pytorch/parse_tool/lib/parse_tool.py
455
478
  msprobe/pytorch/parse_tool/lib/utils.py
456
479
  msprobe/pytorch/parse_tool/lib/visualization.py
457
480
  msprobe/visualization/__init__.py
481
+ msprobe/visualization/db_utils.py
458
482
  msprobe/visualization/graph_service.py
459
483
  msprobe/visualization/utils.py
460
484
  msprobe/visualization/builder/__init__.py
461
485
  msprobe/visualization/builder/graph_builder.py
486
+ msprobe/visualization/builder/graph_merger.py
462
487
  msprobe/visualization/builder/msprobe_adapter.py
463
488
  msprobe/visualization/compare/__init__.py
464
489
  msprobe/visualization/compare/graph_comparator.py
@@ -35,17 +35,17 @@ export MSPROBE_LOG_LEVEL={x}
35
35
 
36
36
  ## 环境和依赖
37
37
 
38
- - 硬件环境请参见《[昇腾产品形态说明](https://gitee.com/link?target=https%3A%2F%2Fwww.hiascend.com%2Fdocument%2Fdetail%2Fzh%2Fcanncommercial%2F80RC22%2Fquickstart%2Fquickstart%2Fquickstart_18_0002.html)》。
39
- - 软件环境请参见《[CANN 软件安装指南](https://gitee.com/link?target=https%3A%2F%2Fwww.hiascend.com%2Fdocument%2Fdetail%2Fzh%2Fcanncommercial%2F80RC22%2Fsoftwareinst%2Finstg%2Finstg_0000.html%3FMode%3DPmIns%26OS%3DUbuntu%26Software%3DcannToolKit)》安装昇腾设备开发或运行环境,即toolkit软件包。
38
+ - 硬件环境请参见《[昇腾产品形态说明](https://www.hiascend.com/document/detail/zh/canncommercial/80RC22/quickstart/quickstart/quickstart_18_0002.html)》。
39
+ - 软件环境请参见《[CANN 软件安装指南](https://www.hiascend.com/document/detail/zh/canncommercial/80RC22/softwareinst/instg/instg_0000.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)》安装昇腾设备开发或运行环境,即toolkit软件包。
40
40
 
41
41
  以上环境依赖请根据实际环境选择适配的版本。
42
42
 
43
43
  ## 版本配套说明
44
44
 
45
- - msprobe支持AscendPyTorch 1.11.0或更高版本,支持的PyTorch和CANN以及PyTorch和python软件版本配套关系请参见《[Ascend Extension for PyTorch插件](https://gitee.com/ascend/pytorch)》。
45
+ - msprobe支持AscendPyTorch 1.11.0或更高版本,支持的PyTorch和CANN以及PyTorch和python软件版本配套关系请参见《[Ascend Extension for PyTorch插件](https://gitcode.com/Ascend/pytorch)》。
46
46
  - msprobe支持MindSpore 2.4.0或更高版本,支持的MindSpore和CANN以及MindSpore和python软件版本配套关系请参见《[MindSpore版本发布列表](https://www.mindspore.cn/versions)》。
47
47
  - msprobe支持MSAdapter 2.1.0。
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
+ - msprobe支持的固件驱动版本与配套CANN软件支持的固件驱动版本相同,开发者可通过“[昇腾社区-固件与驱动](https://www.hiascend.com/hardware/firmware-drivers/community?product=2&model=28&cann=8.0.RC3.alpha003&driver=1.0.25.alpha)”页面根据产品型号与CANN软件版本获取配套的固件与驱动。
49
49
 
50
50
 
51
51
  ## 🚨 工具限制与注意事项
@@ -84,7 +84,7 @@ msprobe 通过在训练脚本中添加 PrecisionDebugger 接口的方式对 API
84
84
 
85
85
  精度预检旨在昇腾 NPU 上扫描训练模型中的所有 API 进行 API 复现,给出精度情况的诊断和分析。对应 config.json 中的 "run_ut" task。
86
86
 
87
- PyTorch 场景的[离线预检](./docs/07.accuracy_checker_PyTorch.md)和[在线预检](./docs/08.accuracy_checker_online_PyTorch.md)
87
+ PyTorch 场景的[离线预检](./docs/07.accuracy_checker_PyTorch.md)
88
88
 
89
89
  MindSpore 动态图场景的[离线预检](./docs/09.accuracy_checker_MindSpore.md)
90
90
 
@@ -165,7 +165,7 @@ MindSpore 动态图场景的[离线预检](./docs/09.accuracy_checker_MindSpore.
165
165
 
166
166
  训练前或精度比对前,对比两个环境下可能影响训练精度的配置差异。
167
167
 
168
- [PyTorch 训练前配置检查](./docs/31.config_check.md)
168
+ [训练前配置检查](./docs/31.config_check.md)
169
169
 
170
170
  训练过程中或结束后,比较两个不同的checkpoint,评估模型相似度。
171
171
 
@@ -24,6 +24,8 @@ class Const:
24
24
  Class for const
25
25
  """
26
26
  TOOL_NAME = "msprobe"
27
+ MD5_INDEX = "md5_index"
28
+ MD5 = "md5"
27
29
 
28
30
  ipv4_pattern = "([1-9]?\d|1\d{2}|2[0-4]\d|25[0-5])(\.([1-9]?\d|1\d{2}|2[0-4]\d|25[0-5])){3}$"
29
31
  SEP = "."
@@ -52,9 +54,9 @@ class Const:
52
54
  SIX_SEGMENT = 6
53
55
  SEVEN_SEGMENT = 7
54
56
 
55
- MAX_DEPTH = 10
57
+ MAX_DEPTH = 400
56
58
  CPU_QUARTER = 4
57
- DUMP_MAX_DEPTH = 50
59
+ DUMP_MAX_DEPTH = 400
58
60
 
59
61
  EXTERN_INPUT_LIST_MAX_LEN = 100
60
62
  MAX_PROCESS_NUM = 128
@@ -72,6 +74,7 @@ class Const:
72
74
  ONLINE_DUMP_MODE = [ALL, LIST, AUTO, OFF]
73
75
  SUMMARY = "summary"
74
76
  MD5 = "md5"
77
+ HASH = "hash"
75
78
  VALUE = "value"
76
79
  SUMMARY_MODE = ["statistics", "md5"]
77
80
 
@@ -113,9 +116,13 @@ class Const:
113
116
  RUN_UT = "run_ut"
114
117
  GRAD_PROBE = "grad_probe"
115
118
  STRUCTURE = "structure"
116
- TASK_LIST = [TENSOR, STATISTICS, OVERFLOW_CHECK, FREE_BENCHMARK, RUN_UT, GRAD_PROBE, STRUCTURE]
119
+ EXCEPTION_DUMP = "exception_dump"
120
+ DUMP_PRECISION_HIGH = "high"
121
+ DUMP_PRECISION_LOW = "low"
122
+ TASK_LIST = [TENSOR, STATISTICS, OVERFLOW_CHECK, FREE_BENCHMARK, RUN_UT, GRAD_PROBE, STRUCTURE, EXCEPTION_DUMP]
117
123
  DUMP_DATA_COLLECTION_LIST = [STATISTICS, TENSOR, STRUCTURE]
118
124
  DUMP_DATA_MODE_LIST = [ALL, INPUT, OUTPUT, FORWARD, BACKWARD]
125
+ DUMP_PRECISION_LIST = [DUMP_PRECISION_LOW, DUMP_PRECISION_HIGH]
119
126
  LEVEL_L0 = "L0"
120
127
  LEVEL_L1 = "L1"
121
128
  LEVEL_L2 = "L2"
@@ -237,7 +244,11 @@ class Const:
237
244
  MEAN = 'Mean'
238
245
  NORM = 'Norm'
239
246
  DATA_NAME = 'data_name'
247
+ STATE = 'state'
248
+ REQ_GRAD = 'requires_grad'
249
+ API_ORIGIN_NAME = 'api_origin_name'
240
250
  TENSOR_STAT_INDEX = 'tensor_stat_index'
251
+ SUMMARY_METRICS_LIST = [MAX, MIN, MEAN, NORM]
241
252
 
242
253
  CODE_STACK = 'Code Stack'
243
254
  OP_NAME = 'Op Name'
@@ -260,8 +271,15 @@ class Const:
260
271
 
261
272
  TENSOR_STAT_LEN = 2
262
273
 
274
+ TENSOR_TYPE = "torch.Tensor"
275
+ DTENSOR_TYPE = "torch.distributed.tensor.DTensor"
276
+ FAKE_TENSOR_TYPE = "torch._subclasses.fake_tensor.FakeTensor"
277
+ AC_TENSOR_TYPE = "torch.distributed._functional_collectives.AsyncCollectiveTensor"
278
+
263
279
  SUPPORT_API_FILE_NAME = "support_wrap_ops.yaml"
264
280
 
281
+ API_ATTR_LIST = ["__name__", "default"]
282
+
265
283
  PT_API_TYPE_FUNCTIONAL = "functional"
266
284
  PT_API_TYPE_TENSOR = "tensor"
267
285
  PT_API_TYPE_TORCH = "torch"
@@ -355,22 +373,22 @@ class Const:
355
373
  }
356
374
 
357
375
  def _fused_adamw_(
358
- self,
359
- grads,
360
- exp_avgs,
361
- exp_avg_sqs,
362
- max_exp_avg_sqs,
363
- state_steps,
364
- *,
365
- lr,
366
- beta1,
367
- beta2,
368
- weight_decay,
369
- eps,
370
- amsgrad,
371
- maximize,
372
- grad_scale=None,
373
- found_inf=None
376
+ self,
377
+ grads,
378
+ exp_avgs,
379
+ exp_avg_sqs,
380
+ max_exp_avg_sqs,
381
+ state_steps,
382
+ *,
383
+ lr,
384
+ beta1,
385
+ beta2,
386
+ weight_decay,
387
+ eps,
388
+ amsgrad,
389
+ maximize,
390
+ grad_scale=None,
391
+ found_inf=None
374
392
  ):
375
393
  pass
376
394
 
@@ -382,6 +400,13 @@ class Const:
382
400
  MATCH_MODE_NAME = "pure name"
383
401
  MATCH_MODE_MAPPING = "mapping"
384
402
  MATCH_MODE_SIMILARITY = "similarity"
403
+ CONFIG_CHECK_PASS = "pass"
404
+ CONFIG_CHECK_WARNING = "warning"
405
+ CONFIG_CHECK_ERROR = "error"
406
+
407
+ MIX_DUMP_NAMES = {'graph', 'pynative'}
408
+
409
+ MEGATRON_MICRO_STEP_NUMBER = 'megatron_micro_step_number'
385
410
 
386
411
 
387
412
  class CompareConst:
@@ -397,10 +422,14 @@ class CompareConst:
397
422
  BENCH_DTYPE = "Bench Dtype"
398
423
  NPU_SHAPE = "NPU Tensor Shape"
399
424
  BENCH_SHAPE = "Bench Tensor Shape"
425
+ NPU_CSV_FILE = "NPU CSV File"
426
+ BENCH_CSV_FILE = "Bench CSV File"
400
427
  NPU_MAX = "NPU max"
401
428
  NPU_MIN = "NPU min"
402
429
  NPU_MEAN = "NPU mean"
403
430
  NPU_NORM = "NPU l2norm"
431
+ NPU_P2POP_PEER = "NPU P2POp peer"
432
+
404
433
  BENCH_MAX = "Bench max"
405
434
  BENCH_MIN = "Bench min"
406
435
  BENCH_MEAN = "Bench mean"
@@ -416,6 +445,9 @@ class CompareConst:
416
445
  MIN_RELATIVE_ERR = "MinRelativeErr"
417
446
  MEAN_RELATIVE_ERR = "MeanRelativeErr"
418
447
  NORM_RELATIVE_ERR = "NormRelativeErr"
448
+ REQ_GRAD_CONSIST = "Requires_grad Consistent"
449
+ NPU_REQ_GRAD = "NPU Requires_grad"
450
+ BENCH_REQ_GRAD = "Bench Requires_grad"
419
451
  ACCURACY = "Accuracy Reached or Not"
420
452
  STACK = "NPU_Stack_Info"
421
453
  DATA_NAME = "Data_name"
@@ -437,7 +469,7 @@ class CompareConst:
437
469
  SUMMARY = "summary"
438
470
  COMPARE_RESULT = "compare_result"
439
471
  COMPARE_MESSAGE = "compare_message"
440
- MAX_EXCEL_LENGTH = 1048576
472
+ MAX_EXCEL_LENGTH = 1048500
441
473
  YES = "Yes"
442
474
  NO = "No"
443
475
  STATISTICS_INDICATOR_NUM = 4
@@ -485,21 +517,21 @@ class CompareConst:
485
517
 
486
518
  ULP_ERR_STATUS = "ulp_err_status"
487
519
 
488
- COMPARE_RESULT_HEADER = [
489
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, COSINE, EUC_DIST,
490
- MAX_ABS_ERR, MAX_RELATIVE_ERR, ONE_THOUSANDTH_ERR_RATIO, FIVE_THOUSANDTHS_ERR_RATIO,
491
- NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM, ACCURACY, ERROR_MESSAGE
492
- ]
520
+ ALL_COMPARE_INDEX = [COSINE, EUC_DIST, MAX_ABS_ERR, MAX_RELATIVE_ERR,
521
+ ONE_THOUSANDTH_ERR_RATIO, FIVE_THOUSANDTHS_ERR_RATIO]
522
+ SUMMARY_COMPARE_INDEX = [MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
523
+ MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR]
524
+ MD5_COMPARE_INDEX = [RESULT]
493
525
 
494
- SUMMARY_COMPARE_RESULT_HEADER = [
495
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
496
- MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR,
497
- NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM, RESULT, ERROR_MESSAGE
498
- ]
526
+ BASIC_INFO = [NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, NPU_REQ_GRAD, BENCH_REQ_GRAD]
527
+ SUMMARY_INFO = [NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM]
499
528
 
500
- MD5_COMPARE_RESULT_HEADER = [
501
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, NPU_MD5, BENCH_MD5, RESULT
502
- ]
529
+ COMPARE_RESULT_HEADER = BASIC_INFO + ALL_COMPARE_INDEX + SUMMARY_INFO + [REQ_GRAD_CONSIST, ACCURACY, ERROR_MESSAGE]
530
+
531
+ SUMMARY_COMPARE_RESULT_HEADER = BASIC_INFO + SUMMARY_COMPARE_INDEX + SUMMARY_INFO + [REQ_GRAD_CONSIST, RESULT,
532
+ ERROR_MESSAGE]
533
+
534
+ MD5_COMPARE_RESULT_HEADER = BASIC_INFO + [NPU_MD5, BENCH_MD5, REQ_GRAD_CONSIST] + MD5_COMPARE_INDEX
503
535
 
504
536
  COMPARE_RESULT_HEADER_STACK = COMPARE_RESULT_HEADER + [STACK]
505
537
 
@@ -513,11 +545,6 @@ class CompareConst:
513
545
  Const.MD5: MD5_COMPARE_RESULT_HEADER
514
546
  }
515
547
 
516
- ALL_COMPARE_INDEX = [COSINE, EUC_DIST, MAX_ABS_ERR, MAX_RELATIVE_ERR, ONE_THOUSANDTH_ERR_RATIO,
517
- FIVE_THOUSANDTHS_ERR_RATIO]
518
- SUMMARY_COMPARE_INDEX = [MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
519
- MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR]
520
-
521
548
  # dtype match
522
549
 
523
550
  DTYPE_MATCH_GROUPS = [
@@ -554,6 +581,8 @@ class CompareConst:
554
581
  ULP_FLOAT16_THRESHOLD = 1
555
582
 
556
583
  # compare result data
584
+ NO_REAL_DATA = 'No real data'
585
+ API_UNMATCH = 'api unmatched'
557
586
  READ_NONE = 'No data'
558
587
  NONE = 'None'
559
588
  SHAPE_UNMATCH = 'shape unmatched'
@@ -622,6 +651,9 @@ class CompareConst:
622
651
  MAX_DIFF: None, MIN_DIFF: None, MEAN_DIFF: None, NORM_DIFF: None, MAX_RELATIVE_ERR: None,
623
652
  MIN_RELATIVE_ERR: None, MEAN_RELATIVE_ERR: None, NORM_RELATIVE_ERR: None
624
653
  }
654
+ MS_GRAPH_CSV = {
655
+ NPU_CSV_FILE: None, BENCH_CSV_FILE: None
656
+ }
625
657
 
626
658
  API_MAPPING_KEYS_TO_COMPARE = [
627
659
  ('ms_args', 'pt_args'),
@@ -641,9 +673,11 @@ class CompareConst:
641
673
 
642
674
  OP_NAME_X = 'op_name_x'
643
675
  MATCH_RESULT_COLUMNS = [
644
- OP_NAME_X, 'dtype_x', 'shape_x', 'summary_x', 'stack_info_x', 'data_name_x',
676
+ OP_NAME_X, 'dtype_x', 'shape_x', 'summary_x', 'stack_info_x', 'state_x', 'api_origin_name_x',
677
+ 'requires_grad_x', 'data_name_x',
645
678
  CMP_KEY, CMP_SHAPE,
646
- 'op_name_y', 'dtype_y', 'shape_y', 'summary_y', 'stack_info_y', 'data_name_y',
679
+ 'op_name_y', 'dtype_y', 'shape_y', 'summary_y', 'stack_info_y', 'state_y', 'api_origin_name_y',
680
+ 'requires_grad_y', 'data_name_y'
647
681
  ]
648
682
 
649
683
  INTERNAL_API_MAPPING_FILE = 'ms_to_pt_api.yaml'
@@ -674,6 +708,8 @@ class FileCheckConst:
674
708
  IR_SUFFIX = ".ir"
675
709
  ZIP_SUFFIX = ".zip"
676
710
  SHELL_SUFFIX = ".sh"
711
+ LOG_SUFFIX = ".log"
712
+ DB_SUFFIX = '.db'
677
713
  MAX_PKL_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
678
714
  MAX_NUMPY_SIZE = 10737418240 # 10 * 1024 * 1024 * 1024
679
715
  MAX_JSON_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
@@ -686,6 +722,8 @@ class FileCheckConst:
686
722
  MAX_FILE_IN_ZIP_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
687
723
  MAX_FILE_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
688
724
  COMMOM_FILE_SIZE = 1048576 # 1 * 1024 * 1024
725
+ MAX_LOG_SIZE = 10737418240 # 1 * 1024 * 1024 * 1024
726
+ MAX_DB_SIZE = 10737418240 # 10 * 1024 * 1024 * 1024
689
727
  DIR = "dir"
690
728
  FILE = "file"
691
729
  DATA_DIR_AUTHORITY = 0o750
@@ -699,7 +737,9 @@ class FileCheckConst:
699
737
  XLSX_SUFFIX: MAX_XLSX_SIZE,
700
738
  YAML_SUFFIX: MAX_YAML_SIZE,
701
739
  IR_SUFFIX: MAX_IR_SIZE,
702
- ZIP_SUFFIX: MAX_ZIP_SIZE
740
+ ZIP_SUFFIX: MAX_ZIP_SIZE,
741
+ LOG_SUFFIX: MAX_LOG_SIZE,
742
+ DB_SUFFIX: MAX_DB_SIZE
703
743
  }
704
744
  CSV_BLACK_LIST = r'^[+-=%@\+\-=%@]|;[+-=%@\+\-=%@]'
705
745
 
@@ -758,6 +798,11 @@ class MonitorConst:
758
798
  DEFAULT_STEP_INTERVAL = 1
759
799
 
760
800
  OP_LIST = ["norm", "min", "max", "zeros", "nans", "id", "mean", "shape", "dtype"]
801
+ OP_MONVIS_SUPPORTED = [
802
+ "norm", "min", "max", "zeros", "nans", "mean",
803
+ "entropy", "softmax_max", "sr", "kernel_norm", "std_x", "jacobian",
804
+ "proxy", "token_similarity"
805
+ ]
761
806
  MONITOR_OUTPUT_DIR = "MONITOR_OUTPUT_DIR"
762
807
  DEFAULT_MONITOR_OUTPUT_DIR = "./monitor_output"
763
808
  DATABASE = "database"
@@ -770,6 +815,8 @@ class MonitorConst:
770
815
  )
771
816
  DEEPSPEED_ZERO_OPT_FILTER = "DeepSpeedZeroOptimizer"
772
817
  RULE_NAME = ['AnomalyTurbulence', 'AnomalyNan']
818
+ L2_HOOKS = ["linear_hook", "attention_hook"]
819
+ SA_ORDERS = ["s,b,h,d", "b,s,h,d"]
773
820
 
774
821
  SLICE_SIZE = 20480
775
822
  # used for name
@@ -781,6 +828,7 @@ class MonitorConst:
781
828
  ACTV_OUT = "output"
782
829
  ACTVGRAD_IN = "input_grad"
783
830
  ACTVGRAD_OUT = "output_grad"
831
+ FSDP_FLAT_SEP = "_fsdp_wrapped_module."
784
832
  # used for tasks
785
833
  ACTV = "actv"
786
834
  ACTVGRAD = "actv_grad"
@@ -820,3 +868,12 @@ class MonitorConst:
820
868
  TRAIN_STAGE[key] = BACKWARD_STAGE
821
869
  for key in OPTIMIZER_KEY:
822
870
  TRAIN_STAGE[key] = OPTIMIZER_STAGE
871
+
872
+ # csv2db
873
+ DEFAULT_INT_VALUE = 0
874
+ MAX_PROCESS_NUM = 128
875
+ CSV_FILE_PATTERN = r"_(\d+)-(\d+)\.csv"
876
+ BATCH_SIZE = 10000
877
+ MAX_PARTITION = 10_000_000
878
+ MIN_PARTITION = 10
879
+