mindstudio-probe 8.1.1__tar.gz → 8.2.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 (523) hide show
  1. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/PKG-INFO +1 -1
  2. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/PKG-INFO +1 -1
  3. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/SOURCES.txt +35 -11
  4. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/README.md +2 -2
  5. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/const.py +95 -41
  6. mindstudio_probe-8.2.0/msprobe/core/common/db_manager.py +225 -0
  7. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/file_utils.py +45 -5
  8. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/log.py +7 -0
  9. mindstudio_probe-8.2.0/msprobe/core/common/parallel_state.py +193 -0
  10. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/utils.py +120 -20
  11. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common_config.py +20 -1
  12. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/acc_compare.py +142 -83
  13. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/check.py +13 -0
  14. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/compare_cli.py +74 -8
  15. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/config.py +10 -8
  16. mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze/diff_analyze_threshold.yaml +14 -0
  17. mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze/first_diff_analyze.py +123 -0
  18. mindstudio_probe-8.2.0/msprobe/core/compare/find_first/analyzer.py +281 -0
  19. mindstudio_probe-8.2.0/msprobe/core/compare/find_first/data_processor.py +35 -0
  20. mindstudio_probe-8.2.0/msprobe/core/compare/find_first/graph.py +180 -0
  21. mindstudio_probe-8.2.0/msprobe/core/compare/find_first/utils.py +188 -0
  22. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/highlight.py +62 -96
  23. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/layer_mapping.py +14 -9
  24. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/merge_result.py +3 -3
  25. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/multiprocessing_compute.py +28 -18
  26. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/npy_compare.py +7 -10
  27. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/utils.py +331 -126
  28. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/base_checker.py +2 -0
  29. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/dataset_checker.py +2 -1
  30. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/env_args_checker.py +5 -5
  31. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/hyperparameter_checker.py +35 -14
  32. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/pip_checker.py +4 -3
  33. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/random_checker.py +3 -3
  34. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/weights_checker.py +2 -1
  35. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/ckpt_comparator.py +4 -1
  36. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/megatron_loader.py +2 -0
  37. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/config_check_cli.py +1 -1
  38. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/config_checker.py +1 -2
  39. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/hyperparameter.yaml +11 -1
  40. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/utils/hyperparameter_parser.py +7 -3
  41. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/utils/utils.py +10 -0
  42. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/api_registry.py +49 -30
  43. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_collector.py +68 -20
  44. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/base.py +2 -0
  45. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/mindspore_processor.py +70 -54
  46. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/pytorch_processor.py +195 -106
  47. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/json_writer.py +66 -2
  48. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/debugger/precision_debugger.py +13 -8
  49. mindstudio_probe-8.2.0/msprobe/core/hook_manager.py +310 -0
  50. mindstudio_probe-8.2.0/msprobe/core/monitor/csv2db.py +361 -0
  51. mindstudio_probe-8.2.0/msprobe/core/monitor/db_utils.py +278 -0
  52. {mindstudio_probe-8.1.1/msprobe/pytorch → mindstudio_probe-8.2.0/msprobe/core}/monitor/utils.py +46 -40
  53. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/service.py +31 -40
  54. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/single_save/single_comparator.py +5 -3
  55. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/01.installation.md +44 -13
  56. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/02.config_introduction.md +16 -20
  57. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/03.config_examples.md +26 -0
  58. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/05.data_dump_PyTorch.md +10 -6
  59. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/06.data_dump_MindSpore.md +44 -7
  60. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/07.accuracy_checker_PyTorch.md +15 -12
  61. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/09.accuracy_checker_MindSpore.md +13 -11
  62. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/10.accuracy_compare_PyTorch.md +80 -39
  63. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/11.accuracy_compare_MindSpore.md +78 -8
  64. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/12.overflow_check_PyTorch.md +3 -2
  65. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/13.overflow_check_MindSpore.md +1 -1
  66. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/14.data_parse_PyTorch.md +35 -32
  67. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/19.monitor.md +92 -7
  68. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/21.visualization_PyTorch.md +59 -23
  69. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/22.visualization_MindSpore.md +50 -15
  70. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/23.generate_operator_PyTorch.md +1 -1
  71. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/24.code_mapping_Mindspore.md +6 -5
  72. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/25.tool_function_introduction.md +0 -1
  73. mindstudio_probe-8.2.0/msprobe/docs/28.debugger_save_instruction.md +288 -0
  74. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/29.data_dump_MSAdapter.md +6 -0
  75. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/31.config_check.md +18 -6
  76. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/33.generate_operator_MindSpore.md +2 -2
  77. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/34.RL_collect.md +18 -9
  78. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/35.nan_analyze.md +4 -3
  79. mindstudio_probe-8.2.0/msprobe/docs/36.calculation_result_change.md +75 -0
  80. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/FAQ.md +24 -0
  81. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/data_dump_MindSpore/dynamic_graph_quick_start_example.md +6 -2
  82. mindstudio_probe-8.2.0/msprobe/docs/img/compare_result.png +0 -0
  83. mindstudio_probe-8.2.0/msprobe/docs/img/ms_layer.png +0 -0
  84. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  85. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_match_info.png +0 -0
  86. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  87. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  88. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  89. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  90. mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  91. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/1.png +0 -0
  92. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/2.png +0 -0
  93. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/3.png +0 -0
  94. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/4.png +0 -0
  95. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/5.png +0 -0
  96. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/6.png +0 -0
  97. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/7.png +0 -0
  98. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory-qwen25vl.txt +59 -0
  99. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory1.png +0 -0
  100. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory2.png +0 -0
  101. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed-mm-qwen25vl.txt +80 -0
  102. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed1.png +0 -0
  103. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed2.png +0 -0
  104. mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactory_mapping.md +330 -0
  105. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/__init__.py +1 -1
  106. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_runner.py +38 -7
  107. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/compute_element.py +18 -12
  108. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/cell_processor.py +66 -34
  109. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/bind.py +23 -4
  110. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/graph_parser.py +6 -4
  111. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/utils.py +54 -7
  112. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/common_dir_compare.py +55 -23
  113. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/ms_compare.py +10 -2
  114. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/ms_graph_compare.py +54 -54
  115. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/utils.py +9 -1
  116. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/debugger/debugger_config.py +31 -18
  117. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/debugger/precision_debugger.py +81 -55
  118. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/cell_dump_process.py +57 -6
  119. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/cell_dump_with_insert_gradient.py +10 -2
  120. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/dump_tool_factory.py +2 -0
  121. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/graph_mode_cell_dump.py +15 -0
  122. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/graph_tensor_dump.py +11 -0
  123. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/api_register.py +19 -20
  124. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/hook_cell.py +13 -30
  125. mindstudio_probe-8.2.0/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +212 -0
  126. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/primitive_hooks.py +27 -13
  127. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/jit_dump.py +6 -3
  128. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/kernel_kbyk_dump.py +37 -6
  129. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp +6 -5
  130. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dym_loader/hook_dynamic_loader.h +2 -2
  131. mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump/exception_dump_tool_factory.py +51 -0
  132. mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump/kernel_graph_exception_dump.py +57 -0
  133. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/api_pynative_self_check.py +5 -4
  134. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_analyzer.py +2 -0
  135. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindspore_service.py +4 -4
  136. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindtorch/mindtorch_adaptor.py +12 -7
  137. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/common_func.py +1 -1
  138. mindstudio_probe-8.2.0/msprobe/mindspore/monitor/features.py +158 -0
  139. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/module_hook.py +170 -12
  140. mindstudio_probe-8.2.0/msprobe/mindspore/monitor/utils.py +103 -0
  141. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/ms_config.py +12 -5
  142. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/overflow_check/overflow_check_tool_factory.py +2 -2
  143. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/task_handler_factory.py +3 -1
  144. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/graph.py +4 -0
  145. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/config.py +3 -36
  146. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_compare.py +0 -24
  147. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare.py +2 -12
  148. mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/config.yaml +5 -0
  149. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/multi_run_ut.py +15 -6
  150. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py +13 -133
  151. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/utils.py +1 -37
  152. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/pt_compare.py +15 -2
  153. mindstudio_probe-8.2.0/msprobe/pytorch/compare/pt_diff_analyze.py +21 -0
  154. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/debugger/debugger_config.py +28 -26
  155. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/debugger/precision_debugger.py +8 -1
  156. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/hook_wrapper.py +1 -3
  157. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/module_processer.py +71 -25
  158. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/main.py +7 -4
  159. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/base_handler.py +2 -0
  160. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/api_register.py +62 -24
  161. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/hook_module.py +10 -30
  162. mindstudio_probe-8.2.0/msprobe/pytorch/hook_module/pt_hook_manager.py +137 -0
  163. mindstudio_probe-8.2.0/msprobe/pytorch/hook_module/script_wrapper.py +140 -0
  164. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/support_wrap_ops.yaml +6 -0
  165. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/csv2tb.py +4 -11
  166. mindstudio_probe-8.2.0/msprobe/pytorch/monitor/features.py +207 -0
  167. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/module_hook.py +200 -80
  168. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/module_metric.py +27 -4
  169. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/optimizer_collect.py +110 -5
  170. mindstudio_probe-8.2.0/msprobe/pytorch/monitor/utils.py +50 -0
  171. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/dispatch.py +1 -1
  172. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/dump_compare.py +7 -1
  173. mindstudio_probe-8.2.0/msprobe/pytorch/parse_tool/__init__.py +0 -0
  174. mindstudio_probe-8.2.0/msprobe/pytorch/parse_tool/lib/__init__.py +0 -0
  175. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/utils.py +2 -4
  176. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/visualization.py +0 -1
  177. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/pt_config.py +2 -51
  178. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/pytorch_service.py +7 -14
  179. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/graph_builder.py +26 -2
  180. mindstudio_probe-8.2.0/msprobe/visualization/builder/graph_merger.py +987 -0
  181. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/msprobe_adapter.py +16 -14
  182. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/graph_comparator.py +26 -16
  183. mindstudio_probe-8.2.0/msprobe/visualization/db_utils.py +229 -0
  184. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/base_node.py +4 -0
  185. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/distributed_analyzer.py +12 -12
  186. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/graph.py +39 -2
  187. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph_service.py +133 -25
  188. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/utils.py +103 -4
  189. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/setup.py +1 -1
  190. mindstudio_probe-8.1.1/msprobe/core/hook_manager.py +0 -242
  191. mindstudio_probe-8.1.1/msprobe/docs/08.accuracy_checker_online_PyTorch.md +0 -295
  192. mindstudio_probe-8.1.1/msprobe/docs/28.debugger_save_instruction.md +0 -185
  193. mindstudio_probe-8.1.1/msprobe/docs/img/compare_result.png +0 -0
  194. mindstudio_probe-8.1.1/msprobe/docs/img/ms_layer.png +0 -0
  195. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
  196. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_match_info.png +0 -0
  197. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
  198. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_search_info.png +0 -0
  199. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_show_info.png +0 -0
  200. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_showcase.png +0 -0
  201. mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
  202. mindstudio_probe-8.1.1/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +0 -88
  203. mindstudio_probe-8.1.1/msprobe/mindspore/monitor/features.py +0 -76
  204. mindstudio_probe-8.1.1/msprobe/mindspore/monitor/utils.py +0 -329
  205. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/config.yaml +0 -10
  206. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py +0 -205
  207. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py +0 -378
  208. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py +0 -239
  209. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py +0 -115
  210. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py +0 -250
  211. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml +0 -63
  212. mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py +0 -200
  213. mindstudio_probe-8.1.1/msprobe/pytorch/attl_manager.py +0 -65
  214. mindstudio_probe-8.1.1/msprobe/pytorch/hook_module/jit_script_wrapper.py +0 -33
  215. mindstudio_probe-8.1.1/msprobe/pytorch/hook_module/pt_hook_manager.py +0 -68
  216. mindstudio_probe-8.1.1/msprobe/pytorch/monitor/features.py +0 -108
  217. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/LICENSE +0 -0
  218. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/MANIFEST.in +0 -0
  219. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/dependency_links.txt +0 -0
  220. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/entry_points.txt +0 -0
  221. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/not-zip-safe +0 -0
  222. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/requires.txt +0 -0
  223. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/top_level.txt +0 -0
  224. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/CMakeLists.txt +0 -0
  225. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/__init__.py +0 -0
  226. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/config.json +0 -0
  227. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/__init__.py +0 -0
  228. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor.py +0 -0
  229. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor_const.py +0 -0
  230. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor_result.py +0 -0
  231. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/decorator.py +0 -0
  232. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/exceptions.py +0 -0
  233. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/framework_adapter.py +0 -0
  234. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/global_lock.py +0 -0
  235. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/inplace_op_checker.py +0 -0
  236. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/inplace_ops.yaml +0 -0
  237. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/runtime.py +0 -0
  238. {mindstudio_probe-8.1.1/msprobe/core/grad_probe → mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze}/__init__.py +0 -0
  239. {mindstudio_probe-8.1.1/msprobe/core/monitor → mindstudio_probe-8.2.0/msprobe/core/compare/find_first}/__init__.py +0 -0
  240. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/__init__.py +0 -0
  241. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/data_scope_parser.py +0 -0
  242. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/postprocess_pass.py +0 -0
  243. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/merge_result_cli.py +0 -0
  244. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/utils.py +0 -0
  245. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/ms_to_pt_api.yaml +0 -0
  246. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/__init__.py +0 -0
  247. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/__init__.py +0 -0
  248. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/metrics.py +0 -0
  249. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/name_mapping.yaml +0 -0
  250. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/dependency.yaml +0 -0
  251. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/env.yaml +0 -0
  252. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/factory.py +0 -0
  253. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/scope.py +0 -0
  254. {mindstudio_probe-8.1.1/msprobe/core/single_save → mindstudio_probe-8.2.0/msprobe/core/grad_probe}/__init__.py +0 -0
  255. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/constant.py +0 -0
  256. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/grad_compare.py +0 -0
  257. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/utils.py +0 -0
  258. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/kernel_dump/kernel_config.py +0 -0
  259. {mindstudio_probe-8.1.1/msprobe/mindspore/api_accuracy_checker → mindstudio_probe-8.2.0/msprobe/core/monitor}/__init__.py +0 -0
  260. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/monitor/anomaly_processor.py +0 -0
  261. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/abnormal_scene.py +0 -0
  262. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/api_info.py +0 -0
  263. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/checker.py +0 -0
  264. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/filter.py +0 -0
  265. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/ignore_rules.yaml +0 -0
  266. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/level.py +0 -0
  267. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/utils.py +0 -0
  268. {mindstudio_probe-8.1.1/msprobe/mindspore/code_mapping → mindstudio_probe-8.2.0/msprobe/core/single_save}/__init__.py +0 -0
  269. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/single_save/single_saver.py +0 -0
  270. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/04.kernel_dump_PyTorch.md +0 -0
  271. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/15.free_benchmarking_PyTorch.md +0 -0
  272. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/16.free_benchmarking_MindSpore.md +0 -0
  273. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/17.grad_probe.md +0 -0
  274. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/18.online_dispatch.md +0 -0
  275. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/20.monitor_performance_baseline.md +0 -0
  276. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/26.data_dump_PyTorch_baseline.md +0 -0
  277. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/27.dump_json_instruction.md +0 -0
  278. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/28.kernel_dump_MindSpore.md +0 -0
  279. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/30.overflow_check_MSAdapter.md +0 -0
  280. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/32.ckpt_compare.md +0 -0
  281. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md +0 -0
  282. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md +0 -0
  283. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/data_dump_MindSpore/data_dump_MindSpore_baseline.md +0 -0
  284. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_1.png +0 -0
  285. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_2.png +0 -0
  286. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_3.png +0 -0
  287. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_4.png +0 -0
  288. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_1.png +0 -0
  289. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_2.png +0 -0
  290. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_3.png +0 -0
  291. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_4.png +0 -0
  292. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_5.png +0 -0
  293. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_6.png +0 -0
  294. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_7.png +0 -0
  295. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_8.png +0 -0
  296. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/YOLOV5S_1.png +0 -0
  297. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/YOLOV5S_2.png +0 -0
  298. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/accuracy_checking_details.png +0 -0
  299. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/accuracy_checking_result.png +0 -0
  300. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/api_precision_compare_details.png +0 -0
  301. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/api_precision_compare_result.png +0 -0
  302. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/auto_analyze_log.png +0 -0
  303. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/compare_result_pkl.png +0 -0
  304. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/compare_result_pkl_md5.png.png +0 -0
  305. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/cpu_info.png +0 -0
  306. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/free_benchmark.png +0 -0
  307. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/free_benchmark_framework.png +0 -0
  308. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-1.png +0 -0
  309. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-2.png +0 -0
  310. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-3.png +0 -0
  311. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-4.png +0 -0
  312. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image.png +0 -0
  313. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/merge_result.png +0 -0
  314. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/module_compare.png +0 -0
  315. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/monitor/cpu_info.png +0 -0
  316. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/monitor/step_count_per_record.png +0 -0
  317. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/ms_dump.png +0 -0
  318. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/pt_dump.png +0 -0
  319. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/save_compare_result_sample.png +0 -0
  320. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/fuzzy_match_ms.png +0 -0
  321. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/fuzzy_match_pt.png +0 -0
  322. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/proxy.png +0 -0
  323. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/tensorboard_1.png +0 -0
  324. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/tensorboard_2.png +0 -0
  325. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/vis_browser_2.png +0 -0
  326. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/GPTModel.png +0 -0
  327. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/ParallelMLP.png +0 -0
  328. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/layer_mapping_example.md +0 -0
  329. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/mapping.png +0 -0
  330. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/mapping1.png +0 -0
  331. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/module_name.png +0 -0
  332. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/module_name1.png +0 -0
  333. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping.png +0 -0
  334. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping1.png +0 -0
  335. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping_analyze.png +0 -0
  336. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/top_layer.png +0 -0
  337. {mindstudio_probe-8.1.1/msprobe/mindspore/debugger → mindstudio_probe-8.2.0/msprobe/mindspore/api_accuracy_checker}/__init__.py +0 -0
  338. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py +0 -0
  339. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_info.py +0 -0
  340. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/base_compare_algorithm.py +0 -0
  341. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/bench_functions/flash_attention_score.py +0 -0
  342. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/bench_functions/fusion_operator.py +0 -0
  343. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/checker_support_api.yaml +0 -0
  344. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/cmd_parser.py +0 -0
  345. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/data_manager.py +0 -0
  346. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
  347. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
  348. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/main.py +0 -0
  349. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/multi_api_accuracy_checker.py +0 -0
  350. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/multi_data_manager.py +0 -0
  351. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/torch_mindtorch_importer.py +0 -0
  352. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/type_mapping.py +0 -0
  353. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/utils.py +0 -0
  354. {mindstudio_probe-8.1.1/msprobe/mindspore/dump → mindstudio_probe-8.2.0/msprobe/mindspore/code_mapping}/__init__.py +0 -0
  355. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/cmd_parser.py +0 -0
  356. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/graph.py +0 -0
  357. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/main.py +0 -0
  358. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/processor.py +0 -0
  359. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/const.py +0 -0
  360. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/log.py +0 -0
  361. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/distributed_compare.py +0 -0
  362. {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark → mindstudio_probe-8.2.0/msprobe/mindspore/debugger}/__init__.py +0 -0
  363. {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark/common → mindstudio_probe-8.2.0/msprobe/mindspore/dump}/__init__.py +0 -0
  364. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml +0 -0
  365. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/kernel_graph_dump.py +0 -0
  366. {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark/handler → mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump}/__init__.py +0 -0
  367. {mindstudio_probe-8.1.1/msprobe/mindspore/grad_probe → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark}/__init__.py +0 -0
  368. {mindstudio_probe-8.1.1/msprobe/mindspore/monitor/distributed → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark/common}/__init__.py +0 -0
  369. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/config.py +0 -0
  370. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/handler_params.py +0 -0
  371. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/utils.py +0 -0
  372. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/data/support_wrap_ops.yaml +0 -0
  373. {mindstudio_probe-8.1.1/msprobe/mindspore/overflow_check → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark/handler}/__init__.py +0 -0
  374. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/base_handler.py +0 -0
  375. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/check_handler.py +0 -0
  376. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/fix_handler.py +0 -0
  377. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/handler_factory.py +0 -0
  378. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/add_noise.py +0 -0
  379. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/base_perturbation.py +0 -0
  380. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/bit_noise.py +0 -0
  381. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/exchange_value.py +0 -0
  382. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/improve_precision.py +0 -0
  383. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/no_change.py +0 -0
  384. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/perturbation_factory.py +0 -0
  385. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/self_check_tool_factory.py +0 -0
  386. {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker → mindstudio_probe-8.2.0/msprobe/mindspore/grad_probe}/__init__.py +0 -0
  387. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/global_context.py +0 -0
  388. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_monitor.py +0 -0
  389. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_stat_csv.py +0 -0
  390. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/hook.py +0 -0
  391. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/utils.py +0 -0
  392. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindtorch/__init__.py +0 -0
  393. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/data_writers.py +0 -0
  394. {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/common → mindstudio_probe-8.2.0/msprobe/mindspore/monitor/distributed}/__init__.py +0 -0
  395. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/distributed_ops.yaml +0 -0
  396. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/stack_blacklist.yaml +0 -0
  397. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/wrap_distributed.py +0 -0
  398. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/optimizer_collect.py +0 -0
  399. {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/compare → mindstudio_probe-8.2.0/msprobe/mindspore/overflow_check}/__init__.py +0 -0
  400. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/overflow_check/kernel_graph_overflow_check.py +0 -0
  401. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/msprobe.py +0 -0
  402. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/__init__.py +0 -0
  403. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/analyzer.py +0 -0
  404. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/utils.py +0 -0
  405. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/__init__.py +0 -0
  406. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/.keep +0 -0
  407. {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/run_ut → mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker}/__init__.py +0 -0
  408. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/.keep +0 -0
  409. {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer → mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/common}/__init__.py +0 -0
  410. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/utils.py +0 -0
  411. {mindstudio_probe-8.1.1/msprobe/pytorch/debugger → mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/compare}/__init__.py +0 -0
  412. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/algorithm.py +0 -0
  413. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_standard.yaml +0 -0
  414. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_threshold.yaml +0 -0
  415. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_column.py +0 -0
  416. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_input.py +0 -0
  417. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_utils.py +0 -0
  418. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json +0 -0
  419. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
  420. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
  421. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/absolute_threshold.py +0 -0
  422. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/accumulative_error_compare.py +0 -0
  423. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/base_standard.py +0 -0
  424. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/benchmark_compare.py +0 -0
  425. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/binary_consistency.py +0 -0
  426. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_config.py +0 -0
  427. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_register.py +0 -0
  428. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/thousandth_standard.py +0 -0
  429. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/ulp_compare.py +0 -0
  430. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/.keep +0 -0
  431. {mindstudio_probe-8.1.1/msprobe/pytorch/dump/module_dump → mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/run_ut}/__init__.py +0 -0
  432. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/data_generate.py +0 -0
  433. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py +0 -0
  434. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py +0 -0
  435. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json +0 -0
  436. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/__init__.py +0 -0
  437. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/apply_adam.py +0 -0
  438. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/apply_adam_w.py +0 -0
  439. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/confusion_transpose.py +0 -0
  440. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/fast_gelu.py +0 -0
  441. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/group_norm_silu.py +0 -0
  442. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/layer_norm_eval.py +0 -0
  443. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/linear.py +0 -0
  444. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/matmul_backward.py +0 -0
  445. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/mish.py +0 -0
  446. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/moe_gating_top_k_softmax.py +0 -0
  447. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/npu_fusion_attention.py +0 -0
  448. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/rms_norm.py +0 -0
  449. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/rotary_mul.py +0 -0
  450. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/scaled_mask_softmax.py +0 -0
  451. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/sort_v2.py +0 -0
  452. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/swiglu.py +0 -0
  453. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/__init__.py +0 -0
  454. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/compare_script.template +0 -0
  455. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/log.py +0 -0
  456. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/parse_json.py +0 -0
  457. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/distributed_compare.py +0 -0
  458. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/mapping.yaml +0 -0
  459. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/match.py +0 -0
  460. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/utils.py +0 -0
  461. {mindstudio_probe-8.1.1/msprobe/pytorch/free_benchmark/common → mindstudio_probe-8.2.0/msprobe/pytorch/debugger}/__init__.py +0 -0
  462. {mindstudio_probe-8.1.1/msprobe/pytorch/free_benchmark/perturbed_layers → mindstudio_probe-8.2.0/msprobe/pytorch/dump/module_dump}/__init__.py +0 -0
  463. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/module_dump.py +0 -0
  464. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/__init__.py +0 -0
  465. {mindstudio_probe-8.1.1/msprobe/pytorch/free_benchmark/perturbed_layers/npu → mindstudio_probe-8.2.0/msprobe/pytorch/free_benchmark/common}/__init__.py +0 -0
  466. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/constant.py +0 -0
  467. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/counter.py +0 -0
  468. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/enums.py +0 -0
  469. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/params.py +0 -0
  470. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/utils.py +0 -0
  471. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/compare/grad_saver.py +0 -0
  472. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/compare/single_benchmark.py +0 -0
  473. {mindstudio_probe-8.1.1/msprobe/pytorch/free_benchmark/result_handlers → mindstudio_probe-8.2.0/msprobe/pytorch/free_benchmark/perturbed_layers}/__init__.py +0 -0
  474. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/base_layer.py +0 -0
  475. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/layer_factory.py +0 -0
  476. {mindstudio_probe-8.1.1/msprobe/pytorch/grad_probe → mindstudio_probe-8.2.0/msprobe/pytorch/free_benchmark/perturbed_layers/npu}/__init__.py +0 -0
  477. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/add_noise.py +0 -0
  478. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/bit_noise.py +0 -0
  479. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/change_value.py +0 -0
  480. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/improve_precision.py +0 -0
  481. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/no_change.py +0 -0
  482. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/npu_base_layser.py +0 -0
  483. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/run_cpu.py +0 -0
  484. {mindstudio_probe-8.1.1/msprobe/pytorch/monitor → mindstudio_probe-8.2.0/msprobe/pytorch/free_benchmark/result_handlers}/__init__.py +0 -0
  485. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/check_handler.py +0 -0
  486. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/fix_handler.py +0 -0
  487. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/handler_factory.py +0 -0
  488. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/preheat_handler.py +0 -0
  489. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/function_factory.py +0 -0
  490. {mindstudio_probe-8.1.1/msprobe/pytorch/monitor/distributed → mindstudio_probe-8.2.0/msprobe/pytorch/grad_probe}/__init__.py +0 -0
  491. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/grad_probe/grad_monitor.py +0 -0
  492. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/grad_probe/grad_stat_csv.py +0 -0
  493. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/__init__.py +0 -0
  494. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/register_optimizer_hook.py +0 -0
  495. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/utils.py +0 -0
  496. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/wrap_aten.py +0 -0
  497. {mindstudio_probe-8.1.1/msprobe/pytorch/parse_tool → mindstudio_probe-8.2.0/msprobe/pytorch/monitor}/__init__.py +0 -0
  498. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/data_writers.py +0 -0
  499. {mindstudio_probe-8.1.1/msprobe/pytorch/parse_tool/lib → mindstudio_probe-8.2.0/msprobe/pytorch/monitor/distributed}/__init__.py +0 -0
  500. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/distributed_ops.yaml +0 -0
  501. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/stack_blacklist.yaml +0 -0
  502. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/wrap_distributed.py +0 -0
  503. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/visualizer.py +0 -0
  504. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/__init__.py +0 -0
  505. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/compare.py +0 -0
  506. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/single_compare.py +0 -0
  507. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/torch_ops_config.yaml +0 -0
  508. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/utils.py +0 -0
  509. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/cli.py +0 -0
  510. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/compare.py +0 -0
  511. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/config.py +0 -0
  512. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/file_desc.py +0 -0
  513. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/interactive_cli.py +0 -0
  514. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/parse_exception.py +0 -0
  515. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/parse_tool.py +0 -0
  516. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/__init__.py +0 -0
  517. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/__init__.py +0 -0
  518. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/__init__.py +0 -0
  519. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/mode_adapter.py +0 -0
  520. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/__init__.py +0 -0
  521. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/node_colors.py +0 -0
  522. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/node_op.py +0 -0
  523. {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 8.1.1
3
+ Version: 8.2.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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mindstudio-probe
3
- Version: 8.1.1
3
+ Version: 8.2.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
@@ -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,7 @@ 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/parallel_state.py
32
34
  msprobe/core/common/runtime.py
33
35
  msprobe/core/common/utils.py
34
36
  msprobe/core/compare/acc_compare.py
@@ -40,6 +42,14 @@ msprobe/core/compare/ms_to_pt_api.yaml
40
42
  msprobe/core/compare/multiprocessing_compute.py
41
43
  msprobe/core/compare/npy_compare.py
42
44
  msprobe/core/compare/utils.py
45
+ msprobe/core/compare/diff_analyze/__init__.py
46
+ msprobe/core/compare/diff_analyze/diff_analyze_threshold.yaml
47
+ msprobe/core/compare/diff_analyze/first_diff_analyze.py
48
+ msprobe/core/compare/find_first/__init__.py
49
+ msprobe/core/compare/find_first/analyzer.py
50
+ msprobe/core/compare/find_first/data_processor.py
51
+ msprobe/core/compare/find_first/graph.py
52
+ msprobe/core/compare/find_first/utils.py
43
53
  msprobe/core/compare/layer_mapping/__init__.py
44
54
  msprobe/core/compare/layer_mapping/data_scope_parser.py
45
55
  msprobe/core/compare/layer_mapping/layer_mapping.py
@@ -83,6 +93,9 @@ msprobe/core/grad_probe/utils.py
83
93
  msprobe/core/kernel_dump/kernel_config.py
84
94
  msprobe/core/monitor/__init__.py
85
95
  msprobe/core/monitor/anomaly_processor.py
96
+ msprobe/core/monitor/csv2db.py
97
+ msprobe/core/monitor/db_utils.py
98
+ msprobe/core/monitor/utils.py
86
99
  msprobe/core/overflow_check/abnormal_scene.py
87
100
  msprobe/core/overflow_check/api_info.py
88
101
  msprobe/core/overflow_check/checker.py
@@ -100,7 +113,6 @@ msprobe/docs/04.kernel_dump_PyTorch.md
100
113
  msprobe/docs/05.data_dump_PyTorch.md
101
114
  msprobe/docs/06.data_dump_MindSpore.md
102
115
  msprobe/docs/07.accuracy_checker_PyTorch.md
103
- msprobe/docs/08.accuracy_checker_online_PyTorch.md
104
116
  msprobe/docs/09.accuracy_checker_MindSpore.md
105
117
  msprobe/docs/10.accuracy_compare_PyTorch.md
106
118
  msprobe/docs/11.accuracy_compare_MindSpore.md
@@ -129,6 +141,7 @@ msprobe/docs/32.ckpt_compare.md
129
141
  msprobe/docs/33.generate_operator_MindSpore.md
130
142
  msprobe/docs/34.RL_collect.md
131
143
  msprobe/docs/35.nan_analyze.md
144
+ msprobe/docs/36.calculation_result_change.md
132
145
  msprobe/docs/FAQ.md
133
146
  msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md
134
147
  msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md
@@ -190,12 +203,26 @@ msprobe/docs/visualization/ParallelMLP.png
190
203
  msprobe/docs/visualization/layer_mapping_example.md
191
204
  msprobe/docs/visualization/mapping.png
192
205
  msprobe/docs/visualization/mapping1.png
206
+ msprobe/docs/visualization/mindspeed_llamafactory_mapping.md
193
207
  msprobe/docs/visualization/module_name.png
194
208
  msprobe/docs/visualization/module_name1.png
195
209
  msprobe/docs/visualization/no_mapping.png
196
210
  msprobe/docs/visualization/no_mapping1.png
197
211
  msprobe/docs/visualization/no_mapping_analyze.png
198
212
  msprobe/docs/visualization/top_layer.png
213
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/1.png
214
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/2.png
215
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/3.png
216
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/4.png
217
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/5.png
218
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/6.png
219
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/7.png
220
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory-qwen25vl.txt
221
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory1.png
222
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory2.png
223
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed-mm-qwen25vl.txt
224
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed1.png
225
+ msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed2.png
199
226
  msprobe/mindspore/__init__.py
200
227
  msprobe/mindspore/cell_processor.py
201
228
  msprobe/mindspore/mindspore_service.py
@@ -254,6 +281,9 @@ msprobe/mindspore/dump/hook_cell/primitive_hooks.py
254
281
  msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml
255
282
  msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp
256
283
  msprobe/mindspore/dym_loader/hook_dynamic_loader.h
284
+ msprobe/mindspore/exception_dump/__init__.py
285
+ msprobe/mindspore/exception_dump/exception_dump_tool_factory.py
286
+ msprobe/mindspore/exception_dump/kernel_graph_exception_dump.py
257
287
  msprobe/mindspore/free_benchmark/__init__.py
258
288
  msprobe/mindspore/free_benchmark/api_pynative_self_check.py
259
289
  msprobe/mindspore/free_benchmark/self_check_tool_factory.py
@@ -301,7 +331,6 @@ msprobe/nan_analyze/analyzer.py
301
331
  msprobe/nan_analyze/graph.py
302
332
  msprobe/nan_analyze/utils.py
303
333
  msprobe/pytorch/__init__.py
304
- msprobe/pytorch/attl_manager.py
305
334
  msprobe/pytorch/function_factory.py
306
335
  msprobe/pytorch/pt_config.py
307
336
  msprobe/pytorch/pytorch_service.py
@@ -341,14 +370,6 @@ msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py
341
370
  msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py
342
371
  msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py
343
372
  msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json
344
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/__init__.py
345
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py
346
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py
347
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py
348
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py
349
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py
350
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml
351
- msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py
352
373
  msprobe/pytorch/bench_functions/__init__.py
353
374
  msprobe/pytorch/bench_functions/apply_adam.py
354
375
  msprobe/pytorch/bench_functions/apply_adam_w.py
@@ -375,6 +396,7 @@ msprobe/pytorch/compare/distributed_compare.py
375
396
  msprobe/pytorch/compare/mapping.yaml
376
397
  msprobe/pytorch/compare/match.py
377
398
  msprobe/pytorch/compare/pt_compare.py
399
+ msprobe/pytorch/compare/pt_diff_analyze.py
378
400
  msprobe/pytorch/compare/utils.py
379
401
  msprobe/pytorch/debugger/__init__.py
380
402
  msprobe/pytorch/debugger/debugger_config.py
@@ -416,9 +438,9 @@ msprobe/pytorch/grad_probe/grad_stat_csv.py
416
438
  msprobe/pytorch/hook_module/__init__.py
417
439
  msprobe/pytorch/hook_module/api_register.py
418
440
  msprobe/pytorch/hook_module/hook_module.py
419
- msprobe/pytorch/hook_module/jit_script_wrapper.py
420
441
  msprobe/pytorch/hook_module/pt_hook_manager.py
421
442
  msprobe/pytorch/hook_module/register_optimizer_hook.py
443
+ msprobe/pytorch/hook_module/script_wrapper.py
422
444
  msprobe/pytorch/hook_module/support_wrap_ops.yaml
423
445
  msprobe/pytorch/hook_module/utils.py
424
446
  msprobe/pytorch/hook_module/wrap_aten.py
@@ -454,10 +476,12 @@ msprobe/pytorch/parse_tool/lib/parse_tool.py
454
476
  msprobe/pytorch/parse_tool/lib/utils.py
455
477
  msprobe/pytorch/parse_tool/lib/visualization.py
456
478
  msprobe/visualization/__init__.py
479
+ msprobe/visualization/db_utils.py
457
480
  msprobe/visualization/graph_service.py
458
481
  msprobe/visualization/utils.py
459
482
  msprobe/visualization/builder/__init__.py
460
483
  msprobe/visualization/builder/graph_builder.py
484
+ msprobe/visualization/builder/graph_merger.py
461
485
  msprobe/visualization/builder/msprobe_adapter.py
462
486
  msprobe/visualization/compare/__init__.py
463
487
  msprobe/visualization/compare/graph_comparator.py
@@ -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,12 @@ 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
60
+
61
+ EXTERN_INPUT_LIST_MAX_LEN = 100
62
+ MAX_PROCESS_NUM = 128
58
63
 
59
64
  # dump mode
60
65
  ALL = "all"
@@ -69,6 +74,7 @@ class Const:
69
74
  ONLINE_DUMP_MODE = [ALL, LIST, AUTO, OFF]
70
75
  SUMMARY = "summary"
71
76
  MD5 = "md5"
77
+ HASH = "hash"
72
78
  VALUE = "value"
73
79
  SUMMARY_MODE = ["statistics", "md5"]
74
80
 
@@ -110,9 +116,13 @@ class Const:
110
116
  RUN_UT = "run_ut"
111
117
  GRAD_PROBE = "grad_probe"
112
118
  STRUCTURE = "structure"
113
- 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]
114
123
  DUMP_DATA_COLLECTION_LIST = [STATISTICS, TENSOR, STRUCTURE]
115
124
  DUMP_DATA_MODE_LIST = [ALL, INPUT, OUTPUT, FORWARD, BACKWARD]
125
+ DUMP_PRECISION_LIST = [DUMP_PRECISION_LOW, DUMP_PRECISION_HIGH]
116
126
  LEVEL_L0 = "L0"
117
127
  LEVEL_L1 = "L1"
118
128
  LEVEL_L2 = "L2"
@@ -234,7 +244,11 @@ class Const:
234
244
  MEAN = 'Mean'
235
245
  NORM = 'Norm'
236
246
  DATA_NAME = 'data_name'
247
+ STATE = 'state'
248
+ REQ_GRAD = 'requires_grad'
249
+ API_ORIGIN_NAME = 'api_origin_name'
237
250
  TENSOR_STAT_INDEX = 'tensor_stat_index'
251
+ SUMMARY_METRICS_LIST = [MAX, MIN, MEAN, NORM]
238
252
 
239
253
  CODE_STACK = 'Code Stack'
240
254
  OP_NAME = 'Op Name'
@@ -257,8 +271,14 @@ class Const:
257
271
 
258
272
  TENSOR_STAT_LEN = 2
259
273
 
274
+ TENSOR_TYPE = "torch.Tensor"
275
+ DTENSOR_TYPE = "torch.distributed.tensor.DTensor"
276
+ FAKE_TENSOR_TYPE = "torch._subclasses.fake_tensor.FakeTensor"
277
+
260
278
  SUPPORT_API_FILE_NAME = "support_wrap_ops.yaml"
261
279
 
280
+ API_ATTR_LIST = ["__name__", "default"]
281
+
262
282
  PT_API_TYPE_FUNCTIONAL = "functional"
263
283
  PT_API_TYPE_TENSOR = "tensor"
264
284
  PT_API_TYPE_TORCH = "torch"
@@ -352,22 +372,22 @@ class Const:
352
372
  }
353
373
 
354
374
  def _fused_adamw_(
355
- self,
356
- grads,
357
- exp_avgs,
358
- exp_avg_sqs,
359
- max_exp_avg_sqs,
360
- state_steps,
361
- *,
362
- lr,
363
- beta1,
364
- beta2,
365
- weight_decay,
366
- eps,
367
- amsgrad,
368
- maximize,
369
- grad_scale=None,
370
- found_inf=None
375
+ self,
376
+ grads,
377
+ exp_avgs,
378
+ exp_avg_sqs,
379
+ max_exp_avg_sqs,
380
+ state_steps,
381
+ *,
382
+ lr,
383
+ beta1,
384
+ beta2,
385
+ weight_decay,
386
+ eps,
387
+ amsgrad,
388
+ maximize,
389
+ grad_scale=None,
390
+ found_inf=None
371
391
  ):
372
392
  pass
373
393
 
@@ -379,6 +399,11 @@ class Const:
379
399
  MATCH_MODE_NAME = "pure name"
380
400
  MATCH_MODE_MAPPING = "mapping"
381
401
  MATCH_MODE_SIMILARITY = "similarity"
402
+ CONFIG_CHECK_PASS = "pass"
403
+ CONFIG_CHECK_WARNING = "warning"
404
+ CONFIG_CHECK_ERROR = "error"
405
+
406
+ MIX_DUMP_NAMES = {'graph', 'pynative'}
382
407
 
383
408
 
384
409
  class CompareConst:
@@ -394,6 +419,8 @@ class CompareConst:
394
419
  BENCH_DTYPE = "Bench Dtype"
395
420
  NPU_SHAPE = "NPU Tensor Shape"
396
421
  BENCH_SHAPE = "Bench Tensor Shape"
422
+ NPU_CSV_FILE = "NPU CSV File"
423
+ BENCH_CSV_FILE = "Bench CSV File"
397
424
  NPU_MAX = "NPU max"
398
425
  NPU_MIN = "NPU min"
399
426
  NPU_MEAN = "NPU mean"
@@ -413,6 +440,9 @@ class CompareConst:
413
440
  MIN_RELATIVE_ERR = "MinRelativeErr"
414
441
  MEAN_RELATIVE_ERR = "MeanRelativeErr"
415
442
  NORM_RELATIVE_ERR = "NormRelativeErr"
443
+ REQ_GRAD_CONSIST = "Requires_grad Consistent"
444
+ NPU_REQ_GRAD = "NPU Requires_grad"
445
+ BENCH_REQ_GRAD = "Bench Requires_grad"
416
446
  ACCURACY = "Accuracy Reached or Not"
417
447
  STACK = "NPU_Stack_Info"
418
448
  DATA_NAME = "Data_name"
@@ -434,7 +464,7 @@ class CompareConst:
434
464
  SUMMARY = "summary"
435
465
  COMPARE_RESULT = "compare_result"
436
466
  COMPARE_MESSAGE = "compare_message"
437
- MAX_EXCEL_LENGTH = 1048576
467
+ MAX_EXCEL_LENGTH = 1048500
438
468
  YES = "Yes"
439
469
  NO = "No"
440
470
  STATISTICS_INDICATOR_NUM = 4
@@ -482,21 +512,21 @@ class CompareConst:
482
512
 
483
513
  ULP_ERR_STATUS = "ulp_err_status"
484
514
 
485
- COMPARE_RESULT_HEADER = [
486
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, COSINE, EUC_DIST,
487
- MAX_ABS_ERR, MAX_RELATIVE_ERR, ONE_THOUSANDTH_ERR_RATIO, FIVE_THOUSANDTHS_ERR_RATIO,
488
- NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM, ACCURACY, ERROR_MESSAGE
489
- ]
515
+ ALL_COMPARE_INDEX = [COSINE, EUC_DIST, MAX_ABS_ERR, MAX_RELATIVE_ERR,
516
+ ONE_THOUSANDTH_ERR_RATIO, FIVE_THOUSANDTHS_ERR_RATIO]
517
+ SUMMARY_COMPARE_INDEX = [MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
518
+ MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR]
519
+ MD5_COMPARE_INDEX = [RESULT]
490
520
 
491
- SUMMARY_COMPARE_RESULT_HEADER = [
492
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
493
- MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR,
494
- NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM, RESULT, ERROR_MESSAGE
495
- ]
521
+ BASIC_INFO = [NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, NPU_REQ_GRAD, BENCH_REQ_GRAD]
522
+ SUMMARY_INFO = [NPU_MAX, NPU_MIN, NPU_MEAN, NPU_NORM, BENCH_MAX, BENCH_MIN, BENCH_MEAN, BENCH_NORM]
496
523
 
497
- MD5_COMPARE_RESULT_HEADER = [
498
- NPU_NAME, BENCH_NAME, NPU_DTYPE, BENCH_DTYPE, NPU_SHAPE, BENCH_SHAPE, NPU_MD5, BENCH_MD5, RESULT
499
- ]
524
+ COMPARE_RESULT_HEADER = BASIC_INFO + ALL_COMPARE_INDEX + SUMMARY_INFO + [REQ_GRAD_CONSIST, ACCURACY, ERROR_MESSAGE]
525
+
526
+ SUMMARY_COMPARE_RESULT_HEADER = BASIC_INFO + SUMMARY_COMPARE_INDEX + SUMMARY_INFO + [REQ_GRAD_CONSIST, RESULT,
527
+ ERROR_MESSAGE]
528
+
529
+ MD5_COMPARE_RESULT_HEADER = BASIC_INFO + [NPU_MD5, BENCH_MD5, REQ_GRAD_CONSIST] + MD5_COMPARE_INDEX
500
530
 
501
531
  COMPARE_RESULT_HEADER_STACK = COMPARE_RESULT_HEADER + [STACK]
502
532
 
@@ -510,11 +540,6 @@ class CompareConst:
510
540
  Const.MD5: MD5_COMPARE_RESULT_HEADER
511
541
  }
512
542
 
513
- ALL_COMPARE_INDEX = [COSINE, EUC_DIST, MAX_ABS_ERR, MAX_RELATIVE_ERR, ONE_THOUSANDTH_ERR_RATIO,
514
- FIVE_THOUSANDTHS_ERR_RATIO]
515
- SUMMARY_COMPARE_INDEX = [MAX_DIFF, MIN_DIFF, MEAN_DIFF, NORM_DIFF,
516
- MAX_RELATIVE_ERR, MIN_RELATIVE_ERR, MEAN_RELATIVE_ERR, NORM_RELATIVE_ERR]
517
-
518
543
  # dtype match
519
544
 
520
545
  DTYPE_MATCH_GROUPS = [
@@ -551,6 +576,8 @@ class CompareConst:
551
576
  ULP_FLOAT16_THRESHOLD = 1
552
577
 
553
578
  # compare result data
579
+ NO_REAL_DATA = 'No real data'
580
+ API_UNMATCH = 'api unmatched'
554
581
  READ_NONE = 'No data'
555
582
  NONE = 'None'
556
583
  SHAPE_UNMATCH = 'shape unmatched'
@@ -619,6 +646,9 @@ class CompareConst:
619
646
  MAX_DIFF: None, MIN_DIFF: None, MEAN_DIFF: None, NORM_DIFF: None, MAX_RELATIVE_ERR: None,
620
647
  MIN_RELATIVE_ERR: None, MEAN_RELATIVE_ERR: None, NORM_RELATIVE_ERR: None
621
648
  }
649
+ MS_GRAPH_CSV = {
650
+ NPU_CSV_FILE: None, BENCH_CSV_FILE: None
651
+ }
622
652
 
623
653
  API_MAPPING_KEYS_TO_COMPARE = [
624
654
  ('ms_args', 'pt_args'),
@@ -638,9 +668,11 @@ class CompareConst:
638
668
 
639
669
  OP_NAME_X = 'op_name_x'
640
670
  MATCH_RESULT_COLUMNS = [
641
- OP_NAME_X, 'dtype_x', 'shape_x', 'summary_x', 'stack_info_x', 'data_name_x',
671
+ OP_NAME_X, 'dtype_x', 'shape_x', 'summary_x', 'stack_info_x', 'state_x', 'api_origin_name_x',
672
+ 'requires_grad_x', 'data_name_x',
642
673
  CMP_KEY, CMP_SHAPE,
643
- 'op_name_y', 'dtype_y', 'shape_y', 'summary_y', 'stack_info_y', 'data_name_y',
674
+ 'op_name_y', 'dtype_y', 'shape_y', 'summary_y', 'stack_info_y', 'state_y', 'api_origin_name_y',
675
+ 'requires_grad_y', 'data_name_y'
644
676
  ]
645
677
 
646
678
  INTERNAL_API_MAPPING_FILE = 'ms_to_pt_api.yaml'
@@ -671,6 +703,8 @@ class FileCheckConst:
671
703
  IR_SUFFIX = ".ir"
672
704
  ZIP_SUFFIX = ".zip"
673
705
  SHELL_SUFFIX = ".sh"
706
+ LOG_SUFFIX = ".log"
707
+ DB_SUFFIX = '.db'
674
708
  MAX_PKL_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
675
709
  MAX_NUMPY_SIZE = 10737418240 # 10 * 1024 * 1024 * 1024
676
710
  MAX_JSON_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
@@ -683,6 +717,8 @@ class FileCheckConst:
683
717
  MAX_FILE_IN_ZIP_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
684
718
  MAX_FILE_SIZE = 1073741824 # 1 * 1024 * 1024 * 1024
685
719
  COMMOM_FILE_SIZE = 1048576 # 1 * 1024 * 1024
720
+ MAX_LOG_SIZE = 10737418240 # 1 * 1024 * 1024 * 1024
721
+ MAX_DB_SIZE = 10737418240 # 10 * 1024 * 1024 * 1024
686
722
  DIR = "dir"
687
723
  FILE = "file"
688
724
  DATA_DIR_AUTHORITY = 0o750
@@ -696,7 +732,9 @@ class FileCheckConst:
696
732
  XLSX_SUFFIX: MAX_XLSX_SIZE,
697
733
  YAML_SUFFIX: MAX_YAML_SIZE,
698
734
  IR_SUFFIX: MAX_IR_SIZE,
699
- ZIP_SUFFIX: MAX_ZIP_SIZE
735
+ ZIP_SUFFIX: MAX_ZIP_SIZE,
736
+ LOG_SUFFIX: MAX_LOG_SIZE,
737
+ DB_SUFFIX: MAX_DB_SIZE
700
738
  }
701
739
  CSV_BLACK_LIST = r'^[+-=%@\+\-=%@]|;[+-=%@\+\-=%@]'
702
740
 
@@ -755,6 +793,11 @@ class MonitorConst:
755
793
  DEFAULT_STEP_INTERVAL = 1
756
794
 
757
795
  OP_LIST = ["norm", "min", "max", "zeros", "nans", "id", "mean", "shape", "dtype"]
796
+ OP_MONVIS_SUPPORTED = [
797
+ "norm", "min", "max", "zeros", "nans", "mean",
798
+ "entropy", "softmax_max", "sr", "kernel_norm", "std_x", "jacobian",
799
+ "proxy", "token_similarity"
800
+ ]
758
801
  MONITOR_OUTPUT_DIR = "MONITOR_OUTPUT_DIR"
759
802
  DEFAULT_MONITOR_OUTPUT_DIR = "./monitor_output"
760
803
  DATABASE = "database"
@@ -767,6 +810,8 @@ class MonitorConst:
767
810
  )
768
811
  DEEPSPEED_ZERO_OPT_FILTER = "DeepSpeedZeroOptimizer"
769
812
  RULE_NAME = ['AnomalyTurbulence', 'AnomalyNan']
813
+ L2_HOOKS = ["linear_hook", "attention_hook"]
814
+ SA_ORDERS = ["s,b,h,d", "b,s,h,d"]
770
815
 
771
816
  SLICE_SIZE = 20480
772
817
  # used for name
@@ -817,3 +862,12 @@ class MonitorConst:
817
862
  TRAIN_STAGE[key] = BACKWARD_STAGE
818
863
  for key in OPTIMIZER_KEY:
819
864
  TRAIN_STAGE[key] = OPTIMIZER_STAGE
865
+
866
+ # csv2db
867
+ DEFAULT_INT_VALUE = 0
868
+ MAX_PROCESS_NUM = 128
869
+ CSV_FILE_PATTERN = r"_(\d+)-(\d+)\.csv"
870
+ BATCH_SIZE = 10000
871
+ MAX_PARTITION = 10_000_000
872
+ MIN_PARTITION = 10
873
+