From b21f9e2326ef42409298c0bbf064904d8f6f4eab Mon Sep 17 00:00:00 2001 From: wuyulong11 Date: Fri, 27 Oct 2023 17:30:41 +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=20=E3=80=90tbplugin=E3=80=91=E3=80=90issue=20#I8BF9R?= =?UTF-8?q?=E3=80=91tbplugin=E9=80=82=E9=85=8D=E9=87=87=E9=9B=86=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=88=B3=E4=B8=BA=E5=B0=8F=E6=95=B0=E7=9A=84profiling?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=20=E3=80=90=E4=BF=AE=E6=94=B9=E4=BA=BA?= =?UTF-8?q?=E3=80=91=20wuyulong=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 460f508190..14ca1a8b0f 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 (?:\.gz)?$""", re.X) # optional .gz extension TRACE_PATTERN = re.compile(r"""^trace_view\.json(\.gz)?$""") -WORKER_SPAN_PATTERN = re.compile(r"""([^\\]*)_(\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