From 1712d1415c59ad0bbcef7196ebe9e264d6c4cc13 Mon Sep 17 00:00:00 2001 From: Xinrui Chen Date: Tue, 10 Jun 2025 20:37:07 +0800 Subject: [PATCH] [MindFormers] Fix wrong param name of profiler_level --- docs/mindformers/docs/source_en/appendix/conf_files.md | 2 +- docs/mindformers/docs/source_zh_cn/appendix/conf_files.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mindformers/docs/source_en/appendix/conf_files.md b/docs/mindformers/docs/source_en/appendix/conf_files.md index 03ed4217a3..be60aacfde 100644 --- a/docs/mindformers/docs/source_en/appendix/conf_files.md +++ b/docs/mindformers/docs/source_en/appendix/conf_files.md @@ -291,7 +291,7 @@ MindSpore Transformers provides Profile as the main tool for model performance t | profile_rank_ids | Specify rank ids to enable collecting performance data. Defaults to `None`, which means all rank ids are enabled. | list | | profile_pipeline | Set whether to enable collecting performance data on one card of each parallel stage. Default: `False`. | bool | | profile_output | Set the directory of saving performance data. | str | -| profile_level | Set the collection level. Should be one of (0, 1, 2). Default: `1`. | int | +| profiler_level | Set the collection level. Should be one of (0, 1, 2). Default: `1`. | int | | with_stack | Set whether to collect Python-side stack trace data. Default: `False`. | bool | | data_simplification | Set whether to enable data simplification, which will delete the FRAMEWORK directory and other extraneous data after exporting performance data. Default: `False`. | int | | init_start_profile | Set whether to turn on collecting performance data when the Profiler is initialized; this parameter does not take effect when `profile_start_step` is set. This parameter needs to be set to `True` when `profile_memory` is turned on. | bool | diff --git a/docs/mindformers/docs/source_zh_cn/appendix/conf_files.md b/docs/mindformers/docs/source_zh_cn/appendix/conf_files.md index 9e025f348c..ef1e0b9298 100644 --- a/docs/mindformers/docs/source_zh_cn/appendix/conf_files.md +++ b/docs/mindformers/docs/source_zh_cn/appendix/conf_files.md @@ -291,7 +291,7 @@ MindSpore Transformers提供Profile作为模型性能调优的主要工具,详 | profile_rank_ids | 设置开启性能采集的rank ids,默认值为`None`,表示所有rank id均开启性能采集。 | list | | profile_pipeline | 设置是否按流水线并行每个stage的其中一张卡开启性能采集,默认值为`False`。 | bool | | profile_output | 设置保存性能采集生成文件的文件夹路径。 | str | -| profile_level | 设置采集数据的级别,可选值为(0, 1, 2),默认值为`1`。 | int | +| profiler_level | 设置采集数据的级别,可选值为(0, 1, 2),默认值为`1`。 | int | | with_stack | 设置是否收集Python侧的调用栈数据,默认值为`False`。 | bool | | data_simplification | 设置是否开启数据精简,开启后将在导出性能采集数据后删除FRAMEWORK目录以及其他多余数据,默认为`False`。 | int | | init_start_profile | 设置是否在Profiler初始化时开启采集性能数据,设置`profile_start_step`时该参数不生效,开启`profile_memory`时需要将该参数设为`True`。 | bool | -- Gitee