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

Latest commit

 

History

History
26 lines (18 loc) · 1.87 KB

File metadata and controls

26 lines (18 loc) · 1.87 KB

Sample ModelService CRs and BaseConfigs

This folder contains example baseconfigs (ConfigMap) and ModelService CRs for various scenarios, including downloading models from Hugging Face or loading from a PVC. In particular, we provide a "universal" baseconfig that can be used for those scenarios. We will also show how to apply to an Kubernetes cluster and the results you can expect from applying the ModelService CR and its referenced baseconfig.

Prerequisite

Before you get started, ensure that you have the following install and running.

  • Access to a Kubernetes cluster
  • ModelService controller running with required RBACs and image pull secrets for P/D and EPP deployments
  • External CRDs install on cluster for routing
  • Other components such as Inference Gateway Extension

If you need more guidance, refer to the developer docs on how to properly install the ModelService controller and other components on your system.

Table of Contents

Navigate to each scenario's README, which not only proivides detail commands to try, but also presents the expected output. We suggest that you go through this list in order, as the ModelService and BaseConfig definitions grow in complexity.

  1. Serving a base model on vLLM on one pod
  2. Serving a model with routing and P/D disaggregation support
  3. Serving a model with xPyD disaggregation
  4. Loading a large model from a PVC (disabled for now)
  5. test are for local development usage only.

Questions

llm-d-model-service additional more patterns, details, and documentation on ModelService.