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

Fix scheduling for non-persistent pipeline #515

Merged
merged 5 commits into from
Aug 5, 2024

Conversation

tohtana
Copy link
Contributor

@tohtana tohtana commented Aug 5, 2024

The batch scheduler for FastGen is designed to run only on rank 0, but currently it runs on all ranks when TP is enabled. This causes various unexpected behaviors.
This PR fixes this issue by properly settings a device ID and flushing remaining requests.

@tohtana tohtana requested a review from awan-10 as a code owner August 5, 2024 04:55
@tohtana tohtana merged commit 62c81b8 into main Aug 5, 2024
4 checks passed
loadams pushed a commit that referenced this pull request Feb 7, 2025
Signed-off-by: Logan Adams <loadams@microsoft.com>
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