diff --git a/docs/mindformers/docs/source_en/feature/configuration.md b/docs/mindformers/docs/source_en/feature/configuration.md index 114a52658d72544a208b489abe1690e1b88d82f8..9de7e29e14440c754ae692e174b92933e371cf7e 100644 --- a/docs/mindformers/docs/source_en/feature/configuration.md +++ b/docs/mindformers/docs/source_en/feature/configuration.md @@ -292,7 +292,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/feature/configuration.md b/docs/mindformers/docs/source_zh_cn/feature/configuration.md index b4341099138536440acff0f6ff042114ea9ee9f1..bc799298fbfcadfd2e5c3bc438c337326bd5fa8c 100644 --- a/docs/mindformers/docs/source_zh_cn/feature/configuration.md +++ b/docs/mindformers/docs/source_zh_cn/feature/configuration.md @@ -292,7 +292,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 |