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

ps quick start #4731

Merged
merged 2 commits into from
May 23, 2022
Merged

ps quick start #4731

merged 2 commits into from
May 23, 2022

Conversation

esythan
Copy link
Contributor

@esythan esythan commented May 8, 2022

distributed training Parameter Server quick start

@CLAassistant
Copy link

CLAassistant commented May 8, 2022

CLA assistant check
All committers have signed the CLA.

@paddle-bot-old
Copy link

paddle-bot-old bot commented May 8, 2022

Thanks for your contribution!

@paddle-bot-old
Copy link

paddle-bot-old bot commented May 8, 2022

✅ This PR's description meets the template requirements!
Please wait for other CI results.

本节将采用推荐领域非常经典的模型wide_and_deep为例,介绍如何使用飞桨分布式完成参数服务器训练任务,本次快速开始的完整示例代码位于 https://github.com/PaddlePaddle/FleetX/tree/develop/examples/wide_and_deep_dataset。

2.1 版本要求
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Copy link
Collaborator

Choose a reason for hiding this comment

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

2.1 建议换成任务介绍,包括单机是一个什么任务,我们要做什么,达成什么目标;期间可以把版本要求稍作说明即可。


参数服务器(ParameterServer)模式采用了一种将模型参数中心化管理的方式来实现模型参数的分布式存储和更新。该模式下的节点有两种不同的角色:

1. 训练节点:该节点负责完成数据读取、从服务节点拉取参数、前向计算、反向梯度计算等过程,并将计算出的梯度上传至服务节点。
Copy link
Contributor

Choose a reason for hiding this comment

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

该模式下的节点/进程有两种不同的角色:

  1. 训练节点(Worker/Trainer)
  2. 服务节点(Server)

@fuyinno4 fuyinno4 merged commit ab7345d into PaddlePaddle:develop May 23, 2022
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.

4 participants