8000 Skip dp dummy input forward by grimoire · Pull Request #3552 · InternLM/lmdeploy · GitHub
[go: up one dir, main page]

Skip to content

Skip dp dummy input forward #3552

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 Git 10000 Hub? Sign in to your account

Merged
merged 10 commits into from
May 16, 2025
Merged

Conversation

grimoire
Copy link
Collaborator
@grimoire grimoire commented May 14, 2025
  • If the inputs in all the DP ranks are dummy inputs, model forward would be skipped.
  • refactor forward step pipeline in model agent.
  • If tp and ep are not required, dp would be 1.

@lvhan028 lvhan028 merged commit b1e8161 into InternLM:main May 16, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0