Skip to content

Fix scheduling for non-persistent pipeline#515

Merged
tohtana merged 5 commits into
mainfrom
tohtana/fix_non_persistent_device
Aug 5, 2024
Merged

Fix scheduling for non-persistent pipeline#515
tohtana merged 5 commits into
mainfrom
tohtana/fix_non_persistent_device

Conversation

@tohtana

@tohtana tohtana commented Aug 5, 2024

Copy link
Copy Markdown
Contributor

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
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