Skip to content

How to integrate/run vLLM with XSched? (Missing example/docs) #22

Description

@tonghaoxin

Hi XSched team,

I am evaluating XSched on Alibaba Cloud ECS instances with NVIDIA A10 GPUs (Ampere architecture).

I have successfully verified that XSched works correctly with flash_attention workloads on my setup, which confirms that the basic hook/shim mechanism is functioning properly on the A10.

However, I am unable to get vLLM to work with XSched. I noticed in the README.md under the Development Plan, the item Integrated into LLM serving systems (e.g., llama.cpp, vLLM) is marked as completed [x].

My Issues:

  1. Missing Integration Code: I can see dedicated directories for integration/llama.cpp and integration/triton in the source tree, but I cannot find any directory or examples for vLLM integration.
  2. Scheduling Failure: When I try to run vLLM directly with XSched (using the transparent scheduling method), the scheduling does not seem to take effect or the engine fails to start properly.

Questions:

  1. Is the vLLM integration guide or patch available? Could you please point me to the relevant branch or documentation?
  2. Does vLLM require any specific "Level-2" or "Level-3" preemption features? I noticed that for Ampere GPUs (sm86), these levels are currently marked as "in progress" (🚧) in the support matrix.

Thanks for your amazing work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions