-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Serve][2/N] Implement AcceleratorConfig to enable custom scheduling logic for accelerators with Serve deployments
#63179
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
Open
ryanaoleary
wants to merge
32
commits into
ray-project:master
Choose a base branch
from
ryanaoleary:e-serve-accelerator-config
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
f98d5af
Change default bundles constructed for TPU in LLM to per-host and fix…
ryanaoleary 6a1511d
Improve lifecycle handling of SlicePlacementGroup and support explici…
ryanaoleary 5ec15c0
Add AcceleratorConfig to Serve and fix gang scheduling
ryanaoleary 1c1dda8
fix tests, change discriminator to 'kind', and fix cleanup logic
ryanaoleary 649229e
fix import and var name
ryanaoleary 779d95d
add missing import
ryanaoleary 3a1d724
lint and remove unused type alias
ryanaoleary da95aac
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary d603123
add comment to inline import
ryanaoleary 80162c2
Tighten typing for placement-group fields after PR restructure
ryanaoleary e45ee82
remove added whitespace
ryanaoleary f96ef1e
fix external placement group function override
ryanaoleary 5d95c78
add resources_per_bundle and fix bundles defaulting logic, also add t…
ryanaoleary afb07a0
Safely unwrap ReplicaPlacementGroup for gangs and fix type alias
ryanaoleary 70b6a6f
Fix placement group leakage on actor creation failure for custom over…
ryanaoleary 89dc61f
Release TPU reservation holders in cross-language replica startup pat…
ryanaoleary f82eab9
Remove redundant replica_pg reassignment in deployment scheduler
ryanaoleary 19c8aeb
Safeguard check_stopped placement group teardown with robust exceptio…
ryanaoleary 8eab85a
fix gang pg cleanup to fix tests
ryanaoleary c3fdab9
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary e84850a
add check in api for accelerator_config and gang at same time
ryanaoleary 8540e43
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary abf974b
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary acefb06
Apply suggestions from code review
ryanaoleary 2deba42
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary deb9767
remove circular dependency / import, add constants for commonly used …
ryanaoleary 2f8282d
run linter and remove empty type checking block
ryanaoleary a95f272
run lint again and remove unneeded comment
ryanaoleary 26ae3e2
move constant to constants.py, remove release_reservation_holders and…
ryanaoleary 234f19b
remove unused function
ryanaoleary 3d1bc7c
fix missing import, resolve circular dependency
ryanaoleary fb157a7
Merge branch 'master' into e-serve-accelerator-config
ryanaoleary File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.