-
Notifications
You must be signed in to change notification settings - Fork 690
[Optimization] EP empty_input_forward Remove Communication #5254
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
[Optimization] EP empty_input_forward Remove Communication #5254
Conversation
|
Thanks for your contribution! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5254 +/- ##
==========================================
Coverage ? 59.74%
==========================================
Files ? 324
Lines ? 39671
Branches ? 5966
==========================================
Hits ? 23703
Misses ? 14088
Partials ? 1880
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…into dev_ep_empty_input_forward
…into dev_ep_empty_input_forward
| fake_hidden_states = paddle.ones( | ||
| shape=[1, self.fd_config.model_config.hidden_size], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是不是统一改为empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| """ | ||
| fake_hidden_states = paddle.empty( | ||
| shape=[1, self.fd_config.model_config.hidden_size], | ||
| shape=[0, self.fd_config.model_config.hidden_size], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…into dev_ep_empty_input_forward
Motivation
EP empty_input_forward Remove Communication
Modifications
EP empty_input_forward Remove Communication
Usage or Command
EP empty_input_forward Remove Communication
Accuracy Tests
EP empty_input_forward Remove Communication
Checklist
[FDConfig],[APIServer],[Engine],[Scheduler],[PD Disaggregation],[Executor],[Graph Optimization],[Speculative Decoding],[RL],[Models],[Quantization],[Loader],[OP],[KVCache],[DataProcessor],[BugFix],[Docs],[CI],[Optimization],[Feature],[Benchmark],[Others],[XPU],[HPU],[GCU],[DCU],[Iluvatar],[Metax]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.