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

【Hackathon 6th Fundable Projects 3 No.276】prune_gate_by_capacity #64700

Merged
merged 5 commits into from
Jun 5, 2024

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented May 29, 2024

PR Category

Others

PR Types

Others

Description

迁移 prune_gate_by_capacity

Copy link

paddle-bot bot commented May 29, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label May 29, 2024
wanghuancoder
wanghuancoder previously approved these changes Jun 3, 2024
Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -3255,6 +3255,15 @@
backward : prod_grad
interfaces : paddle::dialect::InferSymbolicShapeInterface

- op : prune_gate_by_capacity
args : (Tensor gate_idx, Tensor expert_count, int64_t n_expert, int64_t n_worker)
Copy link
Contributor

Choose a reason for hiding this comment

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

attribute 需要加上默认值
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@luotao1 luotao1 merged commit ee91116 into PaddlePaddle:develop Jun 5, 2024
32 checks passed
@co63oc co63oc deleted the fix_prune_gate_by_capacity branch June 5, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants