[CodeStyle][Typos][S-20,S-22,S-[24-29]] Fix typo(skiped,'specail','splited','stradegy','stirng','subract','sucess','sucessor','sucessors')
#7647
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
User Experience
Description
修复如下 typo 问题:
未修复: # (单词/所在文件行数)。可以的话,尽量简短说明一下原因。
text:
原文处为一个网址:
│ * 上述命令默认安装
avx、mkl的包。判断你的机器是否支持avx,可以安装CPU-Z工具查看“修改后无法跳转到正确网址,故没做修改
原因为splitted的错误指向docs/api/paddle/distributed/shard_dataloader_cn.rst:6:119
和
docs/api/paddle/distributed/shard_dataloader_cn.rst:20:20
其中的is_dataset_splitted为:
https://github.com/PaddlePaddle/Paddle/blob/release/3.1/python/paddle/distributed/auto_parallel/api.py#L4040
这一函数下
def shard_dataloader(
dataloader: DataLoader,
meshes: ProcessMesh | Sequence[ProcessMesh],
input_keys: Sequence[str] | None = None,
shard_dims: Sequence[str] | Sequence[int] | str | int | None = None,
is_dataset_splitted: bool = False,
dense_tensor_idx: list[list[int]] | None = None,
) -> ShardDataloader:
不确定是否修改,故以上三处两个错误未做修改,保留在了文件_typo.toml中
Related links
@ooooo-create