Skip to content

Conversation

@tianshuo78520a
Copy link
Collaborator

@tianshuo78520a tianshuo78520a commented Apr 9, 2021

PR types

Others

PR changes

Others

Describe

Delete grpc.cmake/distribeted/distributed_ops

清理原因:grpc相关的老代码(分布式现在使用brpc)以及分布式已废弃的一些其他代码都可以删除,估计有5万行
需要分三步(本PR完成前两个):

  • cmake下 grpc.cmake 可删
  • C++端的几个目录:operator目录下 distributed/distributed_ops目前已被废弃(存放的都是分布式1.x的相关代码),可删
  • Python端(这个有一点工作量,2.0升级的时候没有做完全的重写,import了不少函数)
    • python/paddle/fluid/transpiler (1.x 分布式遗留代码) 可删
    • python/paddle/fluid/incubate/data_generator 1.x dataset遗留代码,可删
    • python/paddle/fluid/contrib/utils 可删
    • python/paddle/fluid/contrib/reader 可删
    • python/paddle/fluid/distributed 可删(需确认)
    • python/paddle/fluid/incubate/fleet 不可直接删除,目前2.0 有部分功能依赖了此目录结构,可进行相应的代码迁移后整体删除(需确认)

@paddle-bot-old
Copy link

paddle-bot-old bot commented Apr 9, 2021

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

Copy link
Contributor

@Avin0323 Avin0323 left a comment

Choose a reason for hiding this comment

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

LGTM for OP-benchmark-CI

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@luotao1
Copy link
Contributor

luotao1 commented Apr 13, 2021

下一个PR可以把 tools/check_file_diff_approvals.sh中关于paddle/fluid/operators/distributed/send_recv.proto.in的检查给删了。

@tianshuo78520a
Copy link
Collaborator Author

下一个PR可以把 tools/check_file_diff_approvals.sh中关于paddle/fluid/operators/distributed/send_recv.proto.in的检查给删了。

好的

Copy link
Collaborator

@seiriosPlus seiriosPlus left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 22ea4c3 into PaddlePaddle:develop Apr 14, 2021
@luotao1
Copy link
Contributor

luotao1 commented Apr 14, 2021

可以把WITH_GRPC的编译选项都去掉了

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.

7 participants