Skip to content

Conversation

aztice
Copy link

@aztice aztice commented Sep 27, 2025

PR types

Others (Fixing Work)

PR changes

Docs

Description

  • 添加代码
  • 格式化代码并翻译注释
  • 文章优化

@sunzhongkai588 @luotao1

Copy link

paddle-bot bot commented Sep 27, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7481.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

代码示例
:::::::::
COPY-FROM: paddle.distributed.utils.global_scatter

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不是用code-block来写代码,是COPY-FROM从英文api里面同步代码,可以学习一下其他PR之后进行修改

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

明白

@Echo-Nie
Copy link
Contributor

Echo-Nie commented Sep 27, 2025

image

code style也没通过,需要修复一下

@aztice
Copy link
Author

aztice commented Sep 27, 2025

NOTICE

官网只看到 scatter 的接口,没有发现 global_scatter 的文档。

@aztice aztice changed the title [Docathon][Fix Doc Format No.10] fix global_scatter_cn [Docathon][Fix Doc Format No.11] fix global_scatter_cn Sep 27, 2025
@aztice
Copy link
Author

aztice commented Sep 28, 2025

NOTICE

英文Docs找不到 moe_utils 以及 distributed.utils,因此直接从 moe_utils.py 中提取代码并贴上。

@sunzhongkai588
Copy link
Collaborator

@aztice
参考 #7480 (comment)

Copy link
Contributor

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants