Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【paddle.fleet】fleet support non_distributed training in dygraph mode #27714

Merged
merged 3 commits into from
Sep 30, 2020

Conversation

danleifeng
Copy link
Contributor

@danleifeng danleifeng commented Sep 29, 2020

PR types

New features

PR changes

APIs

Describe

fleet support non_distributed training in dygraph mode

after this PR, we can use python train.py to launch single_card dygraph training.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@gavin1332
Copy link
Collaborator

多机回退有一个要素是:单卡和多卡共享一套代码,但是上述代码的改动仅涉及单卡程序支持多卡的fleet初始化,还没有完全实现单卡代码和多卡代码的对齐,比如apply_collective_gradient和scale_loss的调用在样例代码里单卡和多卡不一致。

@danleifeng
Copy link
Contributor Author

多机回退有一个要素是:单卡和多卡共享一套代码,但是上述代码的改动仅涉及单卡程序支持多卡的fleet初始化,还没有完全实现单卡代码和多卡代码的对齐,比如apply_collective_gradient和scale_loss的调用在样例代码里单卡和多卡不一致。

apply_collective_gradient and scale_loss apis have been removed yesterday.
PR: #27603

Copy link
Collaborator

@gavin1332 gavin1332 left a comment

Choose a reason for hiding this comment

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

LGTM

@danleifeng danleifeng merged commit a01bc6b into PaddlePaddle:develop Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants