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

sharding mode support avg_weight #95

Merged
merged 4 commits into from
Nov 6, 2023
Merged

sharding mode support avg_weight #95

merged 4 commits into from
Nov 6, 2023

Conversation

gumplh
Copy link

@gumplh gumplh commented Nov 6, 2023

PR types

One of New features

PR changes

One of APIs

Describe

sharding mode support avg_weight

return false;
}

bool IsAvgOp(OpDesc* op_desc) {
Copy link
Owner

Choose a reason for hiding this comment

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

这个其实,只需要处理elementwise_mul, elementwise_add

}

static bool IsAvgOp(OpDesc* op_desc) {
if (op_desc->Type() != "elementwise_add" ||
Copy link
Owner

Choose a reason for hiding this comment

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

&&

@qingshui qingshui merged commit 0bd927a into qingshui:paddlebox Nov 6, 2023
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.

2 participants