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.
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/PKG-INFO +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/PKG-INFO +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/SOURCES.txt +35 -11
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/README.md +2 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/const.py +95 -41
- mindstudio_probe-8.2.0/msprobe/core/common/db_manager.py +225 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/file_utils.py +45 -5
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/log.py +7 -0
- mindstudio_probe-8.2.0/msprobe/core/common/parallel_state.py +193 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/utils.py +120 -20
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common_config.py +20 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/acc_compare.py +142 -83
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/check.py +13 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/compare_cli.py +74 -8
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/config.py +10 -8
- mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze/diff_analyze_threshold.yaml +14 -0
- mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze/first_diff_analyze.py +123 -0
- mindstudio_probe-8.2.0/msprobe/core/compare/find_first/analyzer.py +281 -0
- mindstudio_probe-8.2.0/msprobe/core/compare/find_first/data_processor.py +35 -0
- mindstudio_probe-8.2.0/msprobe/core/compare/find_first/graph.py +180 -0
- mindstudio_probe-8.2.0/msprobe/core/compare/find_first/utils.py +188 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/highlight.py +62 -96
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/layer_mapping.py +14 -9
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/merge_result.py +3 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/multiprocessing_compute.py +28 -18
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/npy_compare.py +7 -10
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/utils.py +331 -126
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/base_checker.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/dataset_checker.py +2 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/env_args_checker.py +5 -5
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/hyperparameter_checker.py +35 -14
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/pip_checker.py +4 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/random_checker.py +3 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/weights_checker.py +2 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/ckpt_comparator.py +4 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/megatron_loader.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/config_check_cli.py +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/config_checker.py +1 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/hyperparameter.yaml +11 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/utils/hyperparameter_parser.py +7 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/utils/utils.py +10 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/api_registry.py +49 -30
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_collector.py +68 -20
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/base.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/mindspore_processor.py +70 -54
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/pytorch_processor.py +195 -106
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/json_writer.py +66 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/debugger/precision_debugger.py +13 -8
- mindstudio_probe-8.2.0/msprobe/core/hook_manager.py +310 -0
- mindstudio_probe-8.2.0/msprobe/core/monitor/csv2db.py +361 -0
- mindstudio_probe-8.2.0/msprobe/core/monitor/db_utils.py +278 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch → mindstudio_probe-8.2.0/msprobe/core}/monitor/utils.py +46 -40
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/service.py +31 -40
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/single_save/single_comparator.py +5 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/01.installation.md +44 -13
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/02.config_introduction.md +16 -20
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/03.config_examples.md +26 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/05.data_dump_PyTorch.md +10 -6
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/06.data_dump_MindSpore.md +44 -7
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/07.accuracy_checker_PyTorch.md +15 -12
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/09.accuracy_checker_MindSpore.md +13 -11
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/10.accuracy_compare_PyTorch.md +80 -39
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/11.accuracy_compare_MindSpore.md +78 -8
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/12.overflow_check_PyTorch.md +3 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/13.overflow_check_MindSpore.md +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/14.data_parse_PyTorch.md +35 -32
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/19.monitor.md +92 -7
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/21.visualization_PyTorch.md +59 -23
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/22.visualization_MindSpore.md +50 -15
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/23.generate_operator_PyTorch.md +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/24.code_mapping_Mindspore.md +6 -5
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/25.tool_function_introduction.md +0 -1
- mindstudio_probe-8.2.0/msprobe/docs/28.debugger_save_instruction.md +288 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/29.data_dump_MSAdapter.md +6 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/31.config_check.md +18 -6
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/33.generate_operator_MindSpore.md +2 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/34.RL_collect.md +18 -9
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/35.nan_analyze.md +4 -3
- mindstudio_probe-8.2.0/msprobe/docs/36.calculation_result_change.md +75 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/FAQ.md +24 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/data_dump_MindSpore/dynamic_graph_quick_start_example.md +6 -2
- mindstudio_probe-8.2.0/msprobe/docs/img/compare_result.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/ms_layer.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_match_info.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_search_info.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_show_info.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_showcase.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/1.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/2.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/3.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/4.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/5.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/6.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/7.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory-qwen25vl.txt +59 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory1.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/llamafactory2.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed-mm-qwen25vl.txt +80 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed1.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactoary_img/mindspeed2.png +0 -0
- mindstudio_probe-8.2.0/msprobe/docs/visualization/mindspeed_llamafactory_mapping.md +330 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/__init__.py +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_runner.py +38 -7
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/compute_element.py +18 -12
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/cell_processor.py +66 -34
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/bind.py +23 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/graph_parser.py +6 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/utils.py +54 -7
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/common_dir_compare.py +55 -23
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/ms_compare.py +10 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/ms_graph_compare.py +54 -54
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/utils.py +9 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/debugger/debugger_config.py +31 -18
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/debugger/precision_debugger.py +81 -55
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/cell_dump_process.py +57 -6
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/cell_dump_with_insert_gradient.py +10 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/dump_tool_factory.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/graph_mode_cell_dump.py +15 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/graph_tensor_dump.py +11 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/api_register.py +19 -20
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/hook_cell.py +13 -30
- mindstudio_probe-8.2.0/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +212 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/primitive_hooks.py +27 -13
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/jit_dump.py +6 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/kernel_kbyk_dump.py +37 -6
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dym_loader/hook_dynamic_loader.cpp +6 -5
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dym_loader/hook_dynamic_loader.h +2 -2
- mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump/exception_dump_tool_factory.py +51 -0
- mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump/kernel_graph_exception_dump.py +57 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/api_pynative_self_check.py +5 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_analyzer.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindspore_service.py +4 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindtorch/mindtorch_adaptor.py +12 -7
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/common_func.py +1 -1
- mindstudio_probe-8.2.0/msprobe/mindspore/monitor/features.py +158 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/module_hook.py +170 -12
- mindstudio_probe-8.2.0/msprobe/mindspore/monitor/utils.py +103 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/ms_config.py +12 -5
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/overflow_check/overflow_check_tool_factory.py +2 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/task_handler_factory.py +3 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/graph.py +4 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/config.py +3 -36
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_compare.py +0 -24
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare.py +2 -12
- mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/config.yaml +5 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/multi_run_ut.py +15 -6
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut.py +13 -133
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/utils.py +1 -37
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/pt_compare.py +15 -2
- mindstudio_probe-8.2.0/msprobe/pytorch/compare/pt_diff_analyze.py +21 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/debugger/debugger_config.py +28 -26
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/debugger/precision_debugger.py +8 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/hook_wrapper.py +1 -3
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/module_processer.py +71 -25
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/main.py +7 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/base_handler.py +2 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/api_register.py +62 -24
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/hook_module.py +10 -30
- mindstudio_probe-8.2.0/msprobe/pytorch/hook_module/pt_hook_manager.py +137 -0
- mindstudio_probe-8.2.0/msprobe/pytorch/hook_module/script_wrapper.py +140 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/support_wrap_ops.yaml +6 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/csv2tb.py +4 -11
- mindstudio_probe-8.2.0/msprobe/pytorch/monitor/features.py +207 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/module_hook.py +200 -80
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/module_metric.py +27 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/optimizer_collect.py +110 -5
- mindstudio_probe-8.2.0/msprobe/pytorch/monitor/utils.py +50 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/dispatch.py +1 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/dump_compare.py +7 -1
- mindstudio_probe-8.2.0/msprobe/pytorch/parse_tool/__init__.py +0 -0
- mindstudio_probe-8.2.0/msprobe/pytorch/parse_tool/lib/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/utils.py +2 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/visualization.py +0 -1
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/pt_config.py +2 -51
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/pytorch_service.py +7 -14
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/graph_builder.py +26 -2
- mindstudio_probe-8.2.0/msprobe/visualization/builder/graph_merger.py +987 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/msprobe_adapter.py +16 -14
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/graph_comparator.py +26 -16
- mindstudio_probe-8.2.0/msprobe/visualization/db_utils.py +229 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/base_node.py +4 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/distributed_analyzer.py +12 -12
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/graph.py +39 -2
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph_service.py +133 -25
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/utils.py +103 -4
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/setup.py +1 -1
- mindstudio_probe-8.1.1/msprobe/core/hook_manager.py +0 -242
- mindstudio_probe-8.1.1/msprobe/docs/08.accuracy_checker_online_PyTorch.md +0 -295
- mindstudio_probe-8.1.1/msprobe/docs/28.debugger_save_instruction.md +0 -185
- mindstudio_probe-8.1.1/msprobe/docs/img/compare_result.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/ms_layer.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_browser_1.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_match_info.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_precision_info.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_search_info.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_show_info.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_showcase.png +0 -0
- mindstudio_probe-8.1.1/msprobe/docs/img/visualization/vis_unmatch_info.png +0 -0
- mindstudio_probe-8.1.1/msprobe/mindspore/dump/hook_cell/ms_hook_manager.py +0 -88
- mindstudio_probe-8.1.1/msprobe/mindspore/monitor/features.py +0 -76
- mindstudio_probe-8.1.1/msprobe/mindspore/monitor/utils.py +0 -329
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/config.yaml +0 -10
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/attl.py +0 -205
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/client.py +0 -378
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/device_dispatch.py +0 -239
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/dump_dispatch.py +0 -115
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/server.py +0 -250
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/torch_ops_config.yaml +0 -63
- mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/tensor_transport_layer/utils.py +0 -200
- mindstudio_probe-8.1.1/msprobe/pytorch/attl_manager.py +0 -65
- mindstudio_probe-8.1.1/msprobe/pytorch/hook_module/jit_script_wrapper.py +0 -33
- mindstudio_probe-8.1.1/msprobe/pytorch/hook_module/pt_hook_manager.py +0 -68
- mindstudio_probe-8.1.1/msprobe/pytorch/monitor/features.py +0 -108
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/LICENSE +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/MANIFEST.in +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/dependency_links.txt +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/entry_points.txt +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/not-zip-safe +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/requires.txt +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/mindstudio_probe.egg-info/top_level.txt +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/CMakeLists.txt +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/config.json +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor_const.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/advisor/advisor_result.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/decorator.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/exceptions.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/framework_adapter.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/global_lock.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/inplace_op_checker.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/inplace_ops.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/common/runtime.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/core/grad_probe → mindstudio_probe-8.2.0/msprobe/core/compare/diff_analyze}/__init__.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/core/monitor → mindstudio_probe-8.2.0/msprobe/core/compare/find_first}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/data_scope_parser.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/layer_mapping/postprocess_pass.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/merge_result_cli.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/merge_result/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/compare/ms_to_pt_api.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/checkers/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/metrics.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/ckpt_compare/name_mapping.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/dependency.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/config_check/resource/env.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/data_processor/factory.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/data_dump/scope.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/core/single_save → mindstudio_probe-8.2.0/msprobe/core/grad_probe}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/constant.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/grad_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/grad_probe/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/kernel_dump/kernel_config.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/api_accuracy_checker → mindstudio_probe-8.2.0/msprobe/core/monitor}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/monitor/anomaly_processor.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/abnormal_scene.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/api_info.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/checker.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/filter.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/ignore_rules.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/level.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/overflow_check/utils.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/code_mapping → mindstudio_probe-8.2.0/msprobe/core/single_save}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/core/single_save/single_saver.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/04.kernel_dump_PyTorch.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/15.free_benchmarking_PyTorch.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/16.free_benchmarking_MindSpore.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/17.grad_probe.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/18.online_dispatch.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/20.monitor_performance_baseline.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/26.data_dump_PyTorch_baseline.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/27.dump_json_instruction.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/28.kernel_dump_MindSpore.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/30.overflow_check_MSAdapter.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/32.ckpt_compare.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/S02.report_free_benchmarking_validation_performance_baseline.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/accuracy_checker_MindSpore/accuracy_checker_MindSpore_baseline.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/data_dump_MindSpore/data_dump_MindSpore_baseline.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_3.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/BLOOM-7B_4.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_3.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_4.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_5.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_6.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_7.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/GPT-3_8.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/YOLOV5S_1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/YOLOV5S_2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/accuracy_checking_details.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/accuracy_checking_result.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/api_precision_compare_details.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/api_precision_compare_result.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/auto_analyze_log.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/compare_result_pkl.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/compare_result_pkl_md5.png.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/cpu_info.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/free_benchmark.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/free_benchmark_framework.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-3.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image-4.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/grad_probe_image.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/merge_result.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/module_compare.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/monitor/cpu_info.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/monitor/step_count_per_record.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/ms_dump.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/pt_dump.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/save_compare_result_sample.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/fuzzy_match_ms.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/fuzzy_match_pt.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/proxy.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/tensorboard_1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/tensorboard_2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/img/visualization/vis_browser_2.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/GPTModel.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/ParallelMLP.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/layer_mapping_example.md +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/mapping.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/mapping1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/module_name.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/module_name1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping1.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/no_mapping_analyze.png +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/docs/visualization/top_layer.png +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/debugger → mindstudio_probe-8.2.0/msprobe/mindspore/api_accuracy_checker}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_accuracy_checker.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/api_info.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/base_compare_algorithm.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/bench_functions/flash_attention_score.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/bench_functions/fusion_operator.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/checker_support_api.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/cmd_parser.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/data_manager.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/main.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/multi_api_accuracy_checker.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/multi_data_manager.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/torch_mindtorch_importer.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/type_mapping.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/api_accuracy_checker/utils.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/dump → mindstudio_probe-8.2.0/msprobe/mindspore/code_mapping}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/cmd_parser.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/graph.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/main.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/code_mapping/processor.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/const.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/common/log.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/compare/distributed_compare.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark → mindstudio_probe-8.2.0/msprobe/mindspore/debugger}/__init__.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark/common → mindstudio_probe-8.2.0/msprobe/mindspore/dump}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/hook_cell/support_wrap_ops.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/dump/kernel_graph_dump.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/free_benchmark/handler → mindstudio_probe-8.2.0/msprobe/mindspore/exception_dump}/__init__.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/grad_probe → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark}/__init__.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/monitor/distributed → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark/common}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/config.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/handler_params.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/common/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/data/support_wrap_ops.yaml +0 -0
- {mindstudio_probe-8.1.1/msprobe/mindspore/overflow_check → mindstudio_probe-8.2.0/msprobe/mindspore/free_benchmark/handler}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/base_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/check_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/fix_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/handler/handler_factory.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/add_noise.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/base_perturbation.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/bit_noise.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/exchange_value.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/improve_precision.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/no_change.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/perturbation/perturbation_factory.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/free_benchmark/self_check_tool_factory.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker → mindstudio_probe-8.2.0/msprobe/mindspore/grad_probe}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/global_context.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_monitor.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/grad_stat_csv.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/hook.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/grad_probe/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/mindtorch/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/data_writers.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/common → mindstudio_probe-8.2.0/msprobe/mindspore/monitor/distributed}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/distributed_ops.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/stack_blacklist.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/distributed/wrap_distributed.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/monitor/optimizer_collect.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/api_accuracy_checker/compare → mindstudio_probe-8.2.0/msprobe/mindspore/overflow_check}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/mindspore/overflow_check/kernel_graph_overflow_check.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/msprobe.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/analyzer.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/nan_analyze/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/.keep +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/.keep +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/common/utils.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/debugger → mindstudio_probe-8.2.0/msprobe/pytorch/api_accuracy_checker/compare}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/algorithm.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_standard.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/api_precision_threshold.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_column.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_input.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/compare/compare_utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/config_op.json +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/op_generator.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/generate_op_script/operator_replication.template +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/absolute_threshold.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/accumulative_error_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/base_standard.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/benchmark_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/binary_consistency.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_config.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/standard_register.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/thousandth_standard.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/precision_standard/ulp_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/.keep +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/data_generate.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_overflow_check.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/run_ut_utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/api_accuracy_checker/run_ut/torch_ut_setting.json +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/apply_adam.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/apply_adam_w.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/confusion_transpose.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/fast_gelu.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/group_norm_silu.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/layer_norm_eval.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/linear.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/matmul_backward.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/mish.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/moe_gating_top_k_softmax.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/npu_fusion_attention.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/rms_norm.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/rotary_mul.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/scaled_mask_softmax.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/sort_v2.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/bench_functions/swiglu.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/compare_script.template +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/log.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/common/parse_json.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/distributed_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/mapping.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/match.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/compare/utils.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/free_benchmark/common → mindstudio_probe-8.2.0/msprobe/pytorch/debugger}/__init__.py +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/dump/module_dump/module_dump.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/__init__.py +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/constant.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/counter.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/enums.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/params.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/common/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/compare/grad_saver.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/compare/single_benchmark.py +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/base_layer.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/layer_factory.py +0 -0
- {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
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/add_noise.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/bit_noise.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/change_value.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/improve_precision.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/no_change.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/npu/npu_base_layser.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/perturbed_layers/run_cpu.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/monitor → mindstudio_probe-8.2.0/msprobe/pytorch/free_benchmark/result_handlers}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/check_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/fix_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/handler_factory.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/free_benchmark/result_handlers/preheat_handler.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/function_factory.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/monitor/distributed → mindstudio_probe-8.2.0/msprobe/pytorch/grad_probe}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/grad_probe/grad_monitor.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/grad_probe/grad_stat_csv.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/register_optimizer_hook.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/hook_module/wrap_aten.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/parse_tool → mindstudio_probe-8.2.0/msprobe/pytorch/monitor}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/data_writers.py +0 -0
- {mindstudio_probe-8.1.1/msprobe/pytorch/parse_tool/lib → mindstudio_probe-8.2.0/msprobe/pytorch/monitor/distributed}/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/distributed_ops.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/stack_blacklist.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/distributed/wrap_distributed.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/monitor/visualizer.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/single_compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/torch_ops_config.yaml +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/online_dispatch/utils.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/cli.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/compare.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/config.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/file_desc.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/interactive_cli.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/parse_exception.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/pytorch/parse_tool/lib/parse_tool.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/builder/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/compare/mode_adapter.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/__init__.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/node_colors.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/msprobe/visualization/graph/node_op.py +0 -0
- {mindstudio_probe-8.1.1 → mindstudio_probe-8.2.0}/setup.cfg +0 -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,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)
|
|
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
|
-
[
|
|
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 =
|
|
57
|
+
MAX_DEPTH = 400
|
|
56
58
|
CPU_QUARTER = 4
|
|
57
|
-
DUMP_MAX_DEPTH =
|
|
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
|
-
|
|
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
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
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 =
|
|
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
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
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
|
-
|
|
492
|
-
|
|
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
|
-
|
|
498
|
-
|
|
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', '
|
|
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', '
|
|
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
|
+
|