Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Ysc pluggable scheduler #4

Merged
merged 29 commits into from
Feb 20, 2025
Merged

Ysc pluggable scheduler #4

merged 29 commits into from
Feb 20, 2025

Conversation

yannicks1
Copy link
Collaborator

@yannicks1 yannicks1 commented Feb 11, 2025

Adding spyre specific scheduler

This PR integrates the (spyre specific) scheduler class to replace the upstream scheduler.
it goes along with this ->PR<- in the IBM/vllm repository

Changes:

  • added vllm_spyre/core/scheduler.py: file containing the spyre specific Scheduler class
  • overwriting default scheduler class VllmConfig.scheduler_config.worker_cls in vllm_spyre/platform.py
  • vllm_spyre/envs.py: adding spyre scheduler related env variables.
  • moving spyre_warmup_shapesand code to "load warmup shapes and sort by "speed" shapes" from vllm/config.py to vllm-spyre/platform.py
  • unifying detection of vllm version V1 (not implemented yet)
  • formatting changes

sducouedic and others added 17 commits January 28, 2025 16:37
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
…ixed)

Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
…leanup

Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
… validating manually) by setting attribute 'supported_quantization'

Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
… in vllm

Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
…erence with Spyre

Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Yannick Schnider <Yannick.Schnider1@ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
@sducouedic sducouedic force-pushed the sop-dev branch 2 times, most recently from 39518b5 to 900a386 Compare February 11, 2025 15:48
@yannicks1 yannicks1 force-pushed the ysc-pluggable-scheduler branch from fbbcc52 to d9f423c Compare February 11, 2025 16:17
@yannicks1 yannicks1 marked this pull request as ready for review February 11, 2025 16:19
@sducouedic sducouedic force-pushed the sop-dev branch 2 times, most recently from 0547dd5 to a5d8fab Compare February 11, 2025 20:00
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
…re.scheduler

Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
@sducouedic sducouedic force-pushed the sop-dev branch 2 times, most recently from c3f76d0 to 9209da2 Compare February 13, 2025 13:09
sducouedic
sducouedic previously approved these changes Feb 13, 2025
@sducouedic
Copy link
Member

sducouedic commented Feb 13, 2025

We will need to update the Dockerfile.spyre to target upstream-vllm rather than IBM-vllm on this branch before merging (to main rather than sop-dev), after your other PR has been accepted.

@sducouedic sducouedic dismissed their stale review February 13, 2025 20:02

Need to wait for upstream scheduler plugin PR merged

Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Base automatically changed from sop-dev to main February 18, 2025 13:56
yannicks1 and others added 7 commits February 18, 2025 22:59
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Yannick Schnider <yannick.schnider1@ibm.com>
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Copy link
Member

@tdoublep tdoublep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tdoublep tdoublep merged commit df4029c into main Feb 20, 2025
9 checks passed
@tdoublep tdoublep deleted the ysc-pluggable-scheduler branch February 20, 2025 10:38
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants