Skip to main content

vLLM Semantic Router fleet simulator for capacity planning, SLO validation, and what-if analysis

Project description

vllm-sr-sim

vllm-sr-sim is the maintained fleet simulator for this repository. It sizes heterogeneous GPU fleets, evaluates routing strategies, and exposes a service mode that the dashboard can call across containers.

Repository-maintained docs now live in the website:

Install

cd src/fleet-sim
pip install -e .

Install the service extras when you want to run the simulator API:

pip install -e .[api]

For local development and tests:

pip install -e .[dev]

CLI

vllm-sr-sim --version

vllm-sr-sim optimize \
  --cdf data/azure_cdf.json \
  --lam 200 --slo 500 --b-short 6144 \
  --verify-top 3 --n-sim-req 30000

vllm-sr-sim whatif \
  --cdf data/azure_cdf.json \
  --lam-range 50 100 200 500 1000 \
  --slo 500 --b-short 6144

vllm-sr-sim serve --host 0.0.0.0 --port 8000

vllm-sr serve also starts vllm-sr-sim by default as a sibling container on the shared runtime network so the dashboard can proxy it without rebuilding the router image.

Layout

  • fleet_sim/: simulation engine, optimizers, routing, hardware, workload, and service package
  • run_sim.py: unified CLI entrypoint used by vllm-sr-sim
  • tests/: simulator and service test coverage
  • data/: reference workload traces used by the examples and dashboard integration
  • examples/: sample scripts and multi-pool input files

Docs

Long-form simulator docs are maintained in the repository website. Keep the package README focused on installation, CLI usage, and source layout.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vllm_sr_sim-0.1.0.dev20260618145352.tar.gz (115.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vllm_sr_sim-0.1.0.dev20260618145352-py3-none-any.whl (115.3 kB view details)

Uploaded Python 3

File details

Details for the file vllm_sr_sim-0.1.0.dev20260618145352.tar.gz.

File metadata

File hashes

Hashes for vllm_sr_sim-0.1.0.dev20260618145352.tar.gz
Algorithm Hash digest
SHA256 a2f7793c24aad463d7020ca1f429ec6464fb329920ac0f1b827ac5db4acbb2af
MD5 16e31acb2e2423cfb40114e164a63acf
BLAKE2b-256 93899a18c58b6c9d402b03a95e28f4adfd42d88e6b7c3b49b991f55252094261

See more details on using hashes here.

File details

Details for the file vllm_sr_sim-0.1.0.dev20260618145352-py3-none-any.whl.

File metadata

File hashes

Hashes for vllm_sr_sim-0.1.0.dev20260618145352-py3-none-any.whl
Algorithm Hash digest
SHA256 97f53f0a07c74c64b0d612cc5696b13055a2eb3520b9fb211e5401a3383eae0c
MD5 6090f9fa3d573f21063adbee83d89617
BLAKE2b-256 c78a6ee12eeca394659a5f0b248f28813dddccfba1c875f6e0b0f60938af07a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page