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

Using DistConfig in Paddle Inference #41128

Merged
merged 24 commits into from
Mar 31, 2022

Conversation

TeslaZhao
Copy link
Contributor

@TeslaZhao TeslaZhao commented Mar 30, 2022

PR types

Bug fixes

PR changes

Others

Describe

1)Bug Fix
开启-DWITH_DISTRIBUTED编译生成Paddle预测库报如下错误:
undefined reference to typeinfo for paddle::distributed::TensorTable
undefined reference to vtable for paddle::distributed::TensorTable
undefined reference to vtable for paddle::distributed::GlobalStepTable
undefined reference to paddle::distributed::TensorTable::set_program_env(...)

修复方式:
a) paddle::distributed::TensorTable的在TensorTable.cc中函数定义挪到TensorTabel.h中
b) 联编TensorTable

2)暴露paddle::DistConfig接口,提供对外使用

TeslaZhao added 24 commits June 21, 2021 20:48
Copy link
Contributor

@liyancas liyancas left a comment

Choose a reason for hiding this comment

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

LGTM

@shangzhizhou shangzhizhou merged commit dc0702f into PaddlePaddle:develop Mar 31, 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.

5 participants