Skip to content

[CodeStyle][DocFormat][122] Use pycon marker in python/paddle/distributed/fleet/data_generator/data_generator.py#77986

Open
ShigureNyako wants to merge 1 commit intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-122
Open

[CodeStyle][DocFormat][122] Use pycon marker in python/paddle/distributed/fleet/data_generator/data_generator.py#77986
ShigureNyako wants to merge 1 commit intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-122

Conversation

@ShigureNyako
Copy link
Contributor

@ShigureNyako ShigureNyako commented Feb 19, 2026

PR Category

User Experience

PR Types

Docs

Description

Migrate docstring example markers from .. code-block:: python to .. code-block:: pycon in:

  • python/paddle/distributed/fleet/data_generator/data_generator.py

Reworked this PR on top of latest develop to avoid overlap/conflicts with adjacent docformat PRs.

是否引起精度变化

@ShigureNyako
Copy link
Contributor Author

自检完成:本 PR 仅将 docstring 中的 .. code-block:: python 迁移为 .. code-block:: pycon,未改动示例语义。

本次按当前策略控制为同主题 5 个文件(fleet base strategy 相关)。

@SigureMo 辛苦帮忙 review 🙏

@paddle-bot
Copy link

paddle-bot bot commented Feb 19, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Feb 19, 2026
@ShigureNyako
Copy link
Contributor Author

/re-run all-failed

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

整个 PR 都是 #77982 改的,重做!revert 之后重做!!!!

换一批文件

改完之后改标题改描述

@ShigureNyako ShigureNyako force-pushed the docs/migrate-docstring-highlight-markers-122 branch from 230925d to d1d7d65 Compare February 19, 2026 16:25
@ShigureNyako ShigureNyako changed the title [CodeStyle][DocFormat][122] Use pycon marker in fleet base strategy docs [CodeStyle][DocFormat][122] Use pycon marker in fleet util/optimizer/metrics docs Feb 19, 2026
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

你现在完全不看别的 PR 改了哪些文件是么?又全被 #77985 覆盖了!全冲突!重做!

@SigureMo
Copy link
Member

@ShigureNyako 后续所有 PR 都需要注意查看已经提的 PR 修改了哪些文件,不然总是冲突!

…ributed/fleet/data_generator/data_generator.py`
@ShigureNyako ShigureNyako force-pushed the docs/migrate-docstring-highlight-markers-122 branch from d1d7d65 to c93828f Compare February 19, 2026 17:27
@ShigureNyako ShigureNyako changed the title [CodeStyle][DocFormat][122] Use pycon marker in fleet util/optimizer/metrics docs [CodeStyle][DocFormat][122] Use pycon marker in python/paddle/distributed/fleet/data_generator/data_generator.py Feb 19, 2026
@ShigureNyako
Copy link
Contributor Author

已按 review 要求重做并避开冲突文件:

  • 分支已基于最新 develop 重置重提
  • 当前仅修改 python/paddle/distributed/fleet/data_generator/data_generator.py
  • PR 标题和描述已同步更新

请帮忙再看下这一版,感谢 @SigureMo 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers skip-ci: all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments