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

Gloo update #45584

Merged
merged 40 commits into from
Sep 15, 2022
Merged

Gloo update #45584

merged 40 commits into from
Sep 15, 2022

Conversation

ziyoujiyi
Copy link
Contributor

@ziyoujiyi ziyoujiyi commented Aug 30, 2022

PR types

Others

PR changes

Others

Describe

solve gcc 9.3 gloo compile error
modify: ziyoujiyi/gloo@8b6b61d

Copy link
Contributor

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

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

根据线下讨论。
要用upstream gloo,对gloo的改动,在paddle仓库内维护一个patch。

Copy link
Contributor

@gongweibao gongweibao left a comment

Choose a reason for hiding this comment

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

A comment.

@@ -25,8 +25,8 @@ set(GLOO_LIBRARY_DIR
"${GLOO_INSTALL_DIR}/lib"
CACHE PATH "gloo library directory." FORCE)
# As we add extra features for gloo, we use the non-official repo
set(GLOO_REPOSITORY ${GIT_URL}/sandyhouse/gloo.git)
set(GLOO_TAG v0.0.2)
set(GLOO_REPOSITORY ${GIT_URL}/ziyoujiyi/gloo.git)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we don't use the original branch of gloo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

当前框架使用的gloo版本从 2020.1.9 commit345 拉过来的,然后新增了自定义功能,共 8 个 commit,涉及改动文件数20+,代码行数 1000+,落后官方 repo 53 个 commit,使用官方 repo 工作量估计是一个月,之前讨论的方案是先临时修复

Copy link
Contributor

@gongweibao gongweibao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

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

期待使用upstream gloo

@raindrops2sea @XiaoguangHu01 我们需要对paddle仓库里对第三方依赖的使用做一次治理。
如果看看./cmake/external下的文件,不仅存在使用非upstream仓库的问题,甚至存在依赖binary的问题。

@fuyinno4 fuyinno4 merged commit 92e1f64 into PaddlePaddle:develop Sep 15, 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