From 603bc0087ddcf6bdf9b5cc7eec8eabb1eb1a73da Mon Sep 17 00:00:00 2001 From: Linwei-Ying Date: Mon, 4 Aug 2025 11:21:31 +0800 Subject: [PATCH] first diff check compare add ms --- .../mindspore/compare/ms_diff_analyze.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debug/accuracy_tools/msprobe/mindspore/compare/ms_diff_analyze.py diff --git a/debug/accuracy_tools/msprobe/mindspore/compare/ms_diff_analyze.py b/debug/accuracy_tools/msprobe/mindspore/compare/ms_diff_analyze.py new file mode 100644 index 000000000..f7c5adb7d --- /dev/null +++ b/debug/accuracy_tools/msprobe/mindspore/compare/ms_diff_analyze.py @@ -0,0 +1,21 @@ +# Copyright (c) 2025-2025, Huawei Technologies Co., Ltd. +# All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from msprobe.mindspore.compare.distributed_compare import ms_compare_distributed + + +def ms_diff_analyze(npu_dump_dir, bench_dump_dir, output_path, first_diff_analyze): + ms_compare_distributed(npu_dump_dir, bench_dump_dir, output_path, first_diff_analyze=first_diff_analyze) -- Gitee