From 3fc656423d7510caeac5721013fa57ac6ea03975 Mon Sep 17 00:00:00 2001 From: hehongzhe <935062458@qq.com> Date: Fri, 19 Sep 2025 10:00:07 +0800 Subject: [PATCH] profiler delete host_sys --- tutorials/source_en/debug/profiler.md | 5 ++--- tutorials/source_zh_cn/debug/profiler.md | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tutorials/source_en/debug/profiler.md b/tutorials/source_en/debug/profiler.md index 49e34b9899..bc90652305 100644 --- a/tutorials/source_en/debug/profiler.md +++ b/tutorials/source_en/debug/profiler.md @@ -34,7 +34,7 @@ Sample as follows: ```python import mindspore -from mindspore.profiler import ProfilerLevel, ProfilerActivity, AicoreMetrics, HostSystem +from mindspore.profiler import ProfilerLevel, ProfilerActivity, AicoreMetrics # Define model training times steps = 15 @@ -48,8 +48,7 @@ experimental_config = mindspore.profiler._ExperimentalConfig( aic_metrics=AicoreMetrics.AiCoreNone, l2_cache=False, mstx=False, - data_simplification=False, - host_sys=[HostSystem.CPU, HostSystem.MEM] + data_simplification=False ) # Initialize profile diff --git a/tutorials/source_zh_cn/debug/profiler.md b/tutorials/source_zh_cn/debug/profiler.md index fd1ca62d25..b40f31689c 100644 --- a/tutorials/source_zh_cn/debug/profiler.md +++ b/tutorials/source_zh_cn/debug/profiler.md @@ -34,7 +34,7 @@ ```python import mindspore -from mindspore.profiler import ProfilerLevel, ProfilerActivity, AicoreMetrics, HostSystem +from mindspore.profiler import ProfilerLevel, ProfilerActivity, AicoreMetrics # 定义模型训练次数 steps = 15 @@ -48,8 +48,7 @@ experimental_config = mindspore.profiler._ExperimentalConfig( aic_metrics=AicoreMetrics.AiCoreNone, l2_cache=False, mstx=False, - data_simplification=False, - host_sys=[HostSystem.CPU, HostSystem.MEM] + data_simplification=False ) # 初始化profile -- Gitee