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

[Feature]: support layer size undividable by pp size in pipeline parallel inference #6114

Closed
youkaichao opened this issue Jul 3, 2024 · 1 comment · Fixed by #6115
Closed
Labels
feature request New feature or request

Comments

@youkaichao
Copy link
Member

🚀 The feature, motivation and pitch

tracking the issue here

Alternatives

No response

Additional context

No response

@youkaichao youkaichao added the feature request New feature or request label Jul 3, 2024
@youkaichao
Copy link
Member Author

youkaichao commented Jul 3, 2024

first step: merge init_device into worker.__init__, before we create the model runner and cache engine, so that they can know the pp rank.

initialize distributed environment has complicated interference with spec decode. the temporary solution is to store the rank in the parallel config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
1 participant