From 2cdb35053be10a29af1dabdebaa7a290ba6fcbb4 Mon Sep 17 00:00:00 2001 From: wuyulong11 Date: Mon, 22 Jan 2024 16:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=91=E3=80=90tbplugin=E3=80=91=E3=80=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=8D=95=E3=80=91=E4=BF=AE=E6=94=B9=E5=AD=98=E5=9C=A8redos?= =?UTF-8?q?=E9=A3=8E=E9=99=A9=E7=9A=84=E6=AD=A3=E5=88=99=E8=A1=A8=E8=BE=BE?= =?UTF-8?q?=E5=BC=8F=20=E3=80=90=E4=BF=AE=E6=94=B9=E4=BA=BA=E3=80=91=20wuy?= =?UTF-8?q?ulong=2030031080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tensorboard-plugins/tb_plugin/torch_tb_profiler/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/consts.py b/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/consts.py index 0adf134730..533effb8bb 100644 --- a/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/consts.py +++ b/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/consts.py @@ -29,7 +29,7 @@ WORKER_PATTERN = re.compile(r"""^(.*?) # worker name \.pt\.trace\.json$""", re.X) TRACE_PATTERN = re.compile(r"""^trace_view\.json$""") -WORKER_SPAN_PATTERN = re.compile(r"""([^\\]*)_(\d+(\.\d+)?)_ascend_pt$""") +WORKER_SPAN_PATTERN = re.compile(r"""^(.*?)_(\d+(\.\d+)?)_ascend_pt$""") NODE_PROCESS_PATTERN = re.compile(r"""^(.*)_(\d+)""") MONITOR_RUN_REFRESH_INTERNAL_IN_SECONDS = 10 -- Gitee