From 68153208a3fb75fc719a9721627642422970bb7a Mon Sep 17 00:00:00 2001 From: fanxiaotong Date: Tue, 24 Oct 2023 19:59:22 +0800 Subject: [PATCH] fix bug --- profiler/cluster_analyse/README.md | 2 +- .../cluster_kernels_analysis/cluster_prof_Info_analysis.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiler/cluster_analyse/README.md b/profiler/cluster_analyse/README.md index 6352130c0..8981ac453 100644 --- a/profiler/cluster_analyse/README.md +++ b/profiler/cluster_analyse/README.md @@ -92,4 +92,4 @@ K列:Communication(Not Overlapped and Exclude Receive)指剔除recieve算 - "LOCAL"是片内拷贝,速率非常快,不需要考虑。 - “HCCS”或“PCIE”是节点内片间拷贝,速度在18GB左右或以上比较正常。 -- “RDMA”是节点间拷贝,910A速度在12GB左右或以上;910B速度在23-25GB左右比较正常。 +- “RDMA”是节点间拷贝,910A速度在12GB左右或以上。 diff --git a/profiler/cluster_analyse/cluster_kernels_analysis/cluster_prof_Info_analysis.py b/profiler/cluster_analyse/cluster_kernels_analysis/cluster_prof_Info_analysis.py index 3b2b05676..88ff0dd3f 100644 --- a/profiler/cluster_analyse/cluster_kernels_analysis/cluster_prof_Info_analysis.py +++ b/profiler/cluster_analyse/cluster_kernels_analysis/cluster_prof_Info_analysis.py @@ -64,7 +64,7 @@ class FormDataProcessor: file = self.files[0] df = pd.read_csv(file) if 'aiv_time(us)' in df.columns: - return "ASCEND_910B" + return "ASCEND_NEW" return "ASCEND_OTHER" def getDeviceId(self, dir_path): @@ -89,7 +89,7 @@ class ViewInfoManager: def setOpSummaryColumnsParams(self): # 有些数据除了用表格的列进行分组之外,还添加了其他属性对数据进行分类,这部分数据放在extend_attr_to_group里面 self.op_summary_columns_dict = { - 'ASCEND_910B': { + 'ASCEND_NEW': { 'TimeToCsvAnalyzer': {'columns_to_group': ["Op Name", "Input Shapes", "Input Data Types", "Output Shapes"], 'extend_attr_to_group': ["device_id", "node_id"], -- Gitee