From 1426a0919e5c56a9d91c61c2c732f400eb3e6f5c Mon Sep 17 00:00:00 2001 From: yu-liang-bin Date: Mon, 1 Sep 2025 14:29:36 +0800 Subject: [PATCH] fix db parser bug --- torch_npu/profiler/analysis/prof_common_func/_constant.py | 1 + 1 file changed, 1 insertion(+) diff --git a/torch_npu/profiler/analysis/prof_common_func/_constant.py b/torch_npu/profiler/analysis/prof_common_func/_constant.py index b9a0ecbe21..9c8540c1ab 100644 --- a/torch_npu/profiler/analysis/prof_common_func/_constant.py +++ b/torch_npu/profiler/analysis/prof_common_func/_constant.py @@ -104,6 +104,7 @@ class Constant(object): RANK_ID = "rank_id" COMMON_CONFIG = "common_config" ACTIVITIES = "activities" + CPU_ACTIVITIES = "ProfilerActivity.CPU" NPU_ACTIVITIES = "ProfilerActivity.NPU" EXPERIMENTAL_CONFIG = "experimental_config" PROFILER_LEVEL = '_profiler_level' -- Gitee