-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Autoscaler] Allow GPU upscaling for non-GPU workloads, with lowest priority #31202
[Autoscaler] Allow GPU upscaling for non-GPU workloads, with lowest priority #31202
Conversation
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really not a fan of making this logic more and more complicated here. Could we achieve the same result or better by just making gpu nodes lower in the utilization scorer if the resource demand doesn't include gpu requests?
Signed-off-by: Dmitri Gekhtman <[email protected]>
Brilliant, yes. |
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Actually, to retain the relative ranking, will implement this by pre-pending an extra field to the priority score. |
Signed-off-by: Dmitri Gekhtman <[email protected]>
Implemented that. |
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Signed-off-by: Dmitri Gekhtman <[email protected]>
Can be reviewed again. |
Signed-off-by: Dmitri Gekhtman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful
…riority (#31202) Closes #20476: Instead of preventing GPU upscaling due to non-GPU tasks, prefer non-GPU nodes by assigning low utilization score to the GPU nodes. Signed-off-by: Dmitri Gekhtman <[email protected]>
…riority (ray-project#31202) Closes ray-project#20476: Instead of preventing GPU upscaling due to non-GPU tasks, prefer non-GPU nodes by assigning low utilization score to the GPU nodes. Signed-off-by: Dmitri Gekhtman <[email protected]> Signed-off-by: tmynn <[email protected]>
Why are these changes needed?
Closes #20476:
Instead of preventing GPU upscaling due to non-GPU tasks, prefer non-GPU nodes by assigning low utilization score to the GPU nodes.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.