From be79850d8216028a7ada9ac4d4df89900dbc0c0c Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Tue, 17 Nov 2026 15:41:29 -0500 Subject: [PATCH 01/24] feat(ray-cluster): add an inference variant that serves a model with vLLM runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404 is the Ray cluster image plus vLLM 0.32.0, configured only with environment variables. The head waits for NUM_NODES nodes to join Ray, then runs `vllm serve $MODEL_REPO` on 8000 across the cluster (tensor parallelism = GPUs per node, pipeline parallelism = node count); workers only run Ray. Every route except /health, /ping and /metrics needs VLLM_API_KEY, else the head's JUPYTER_PASSWORD, enforced by the runpod_vllm_auth middleware. Built FROM the cu1300/torch2130 Ray target of the same bake run, since vLLM pins torch exactly; the build fails if vLLM would replace torch or Ray, or stops loading --middleware. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/hadolint-push.yml | 2 + official-templates/ray-cluster/README.md | 24 ++++ .../ray-cluster/docker-bake.hcl | 28 +++- .../ray-cluster/inference/Dockerfile | 52 ++++++++ .../ray-cluster/inference/runpod_vllm_auth.py | 81 ++++++++++++ .../ray-cluster/inference/start.sh | 122 ++++++++++++++++++ .../ray-cluster/inference/wait_for_nodes.py | 67 ++++++++++ 7 files changed, 372 insertions(+), 4 deletions(-) create mode 100644 official-templates/ray-cluster/inference/Dockerfile create mode 100644 official-templates/ray-cluster/inference/runpod_vllm_auth.py create mode 100644 official-templates/ray-cluster/inference/start.sh create mode 100644 official-templates/ray-cluster/inference/wait_for_nodes.py diff --git a/.github/workflows/hadolint-push.yml b/.github/workflows/hadolint-push.yml index 4e574303..bdbf1671 100644 --- a/.github/workflows/hadolint-push.yml +++ b/.github/workflows/hadolint-push.yml @@ -30,6 +30,8 @@ jobs: ignore: "DL3008" - dockerfile: official-templates/ray-cluster/Dockerfile ignore: "" + - dockerfile: official-templates/ray-cluster/inference/Dockerfile + ignore: "" - dockerfile: official-templates/comfyui/Dockerfile ignore: "DL3008" - dockerfile: official-templates/filebrowser/Dockerfile diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 2173ad9d..b983357e 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -43,6 +43,30 @@ It also logs a warning if the installed Ray differs from the version the image w - **Override the CMD in the template** (for example a Ray Serve app on a network volume). The entrypoint still starts Ray first. Don't override the template's entrypoint: that skips Ray entirely. - **Build `FROM runpod/ray-cluster:`** only for heavy or compiled dependencies or a locked-down production image. Keep the `ENTRYPOINT`, the Ray version, and ports 8265 and 20217. +## Inference variant + +`runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): + +- **Worker:** joins Ray and runs nothing else. +- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on port 8000 with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count. Every node needs the same GPU count. +- **No `NODE_RANK`** (a plain pod): `vllm serve` on that pod's GPUs, without Ray. + +Configuration, all environment variables: + +| Variable | Default | Effect | +|---|---|---| +| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`. Unset: the head logs an error and stays up for interactive use. | +| `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | +| `VLLM_API_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route except `/health`, `/ping` and `/metrics`. With neither set, the head logs an error and does not start vLLM. `none` turns authentication off. | +| `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `0.0.0.0` and `8000`. | + +Authentication is the `runpod_vllm_auth` middleware (`inference/runpod_vllm_auth.py`, shared with `official-templates/vllm`), loaded through `vllm serve --middleware`. It is an allowlist, because vLLM's own `--api-key` guards only `/v1`, `/v2`, `/inference` and `/cohere`, leaving routes such as `/invocations` open. The key falls back to the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too; set `VLLM_API_KEY` to use a separate key. + +vLLM runs beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if vLLM exits; restart the pod to serve again. vLLM opens port 8000 only once the model has loaded, so until then the Runpod proxy answers `502`; `/health` answers 200 once it can serve. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. + +vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray, or if vLLM stops loading `--middleware`. + ## Ports | Port | Service | Who reaches it | diff --git a/official-templates/ray-cluster/docker-bake.hcl b/official-templates/ray-cluster/docker-bake.hcl index fc631c58..313378d9 100644 --- a/official-templates/ray-cluster/docker-bake.hcl +++ b/official-templates/ray-cluster/docker-bake.hcl @@ -50,10 +50,10 @@ variable "RAY_CLUSTER_BUILDS" { } group "default" { - targets = [ + targets = concat([ for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" - ] + ], ["ray-cluster-inference"]) } # Per-CUDA-major groups so CI can shard the matrix across separate runners @@ -75,11 +75,11 @@ group "cu1290" { } group "cu1300" { - targets = [ + targets = concat([ for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" if b.cuda_code == "1300" - ] + ], ["ray-cluster-inference"]) } group "cu1320" { @@ -119,3 +119,23 @@ target "ray-cluster-matrix" { "runpod/ray-cluster${REPO_SUFFIX}:${RELEASE_VERSION}${RELEASE_SUFFIX}-cu${build.cuda_code}-torch${build.torch_code}-${build.ubuntu_name}", ] } + +# The inference variant (inference/): vLLM on one Ray build, the one whose torch +# vLLM pins (see inference/Dockerfile). Built FROM that target in the same run +# rather than a published tag, so the two always share a Ray image and version, +# and published under the same repo with an -inference tag. +variable "INFERENCE_BASE" { + default = { cuda_code = "1300", torch_code = "2130", ubuntu_name = "ubuntu2404" } +} + +target "ray-cluster-inference" { + context = "official-templates/ray-cluster/inference" + dockerfile = "Dockerfile" + platforms = ["linux/amd64"] + contexts = { + ray-cluster = "target:ray-cluster-${INFERENCE_BASE.ubuntu_name}-cu${INFERENCE_BASE.cuda_code}-torch${INFERENCE_BASE.torch_code}" + } + tags = [ + "runpod/ray-cluster:${RELEASE_VERSION}${RELEASE_SUFFIX}-inference-cu${INFERENCE_BASE.cuda_code}-torch${INFERENCE_BASE.torch_code}-${INFERENCE_BASE.ubuntu_name}", + ] +} diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile new file mode 100644 index 00000000..ffd5c9f5 --- /dev/null +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -0,0 +1,52 @@ +# The `ray-cluster` inference variant: the ray-cluster image plus vLLM, serving +# one Hugging Face model across every node of the cluster, configured only +# with environment variables (MODEL_REPO, HF_TOKEN, VLLM_API_KEY, +# MAX_MODEL_LENGTH, VLLM_EXTRA_ARGS). See README.md. +# +# Built FROM the ray-cluster target of the same bake run (the `ray-cluster` +# context, see docker-bake.hcl), so it keeps contract v1 with runpod/host +# unchanged: the inherited ENTRYPOINT starts Ray, then runs this image's CMD. + +# A bake target context, not a registry image: no tag to pin. +# hadolint ignore=DL3006 +FROM ray-cluster + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# vLLM pins torch exactly, so its version must be the one the base was built +# with: 0.32.0 is the last release on torch 2.13.0 (0.33.0 moved to 2.14.0). +# The install is refused if it would replace torch or Ray: torch is the CUDA +# build the base chose, and the host's parsers are pinned to the base's Ray. +# vLLM needs a newer PyJWT than the base's, which is Debian's python3-jwt and +# has no RECORD for pip to uninstall: install the pinned one beside it first +# (pip's copy shadows Debian's on sys.path). +ARG VLLM_VERSION=0.32.0 +ARG PYJWT_VERSION=2.15.1 +RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ + python -m pip install --no-cache-dir --ignore-installed "PyJWT==${PYJWT_VERSION}" && \ + python -m pip install --no-cache-dir "vllm==${VLLM_VERSION}" && \ + torch_after=$(python -c 'import torch; print(torch.__version__)') && \ + ray_after=$(python -c 'import ray; print(ray.__version__)') && \ + { [[ "$torch_after" == "$torch_before" ]] || { echo "vLLM replaced torch $torch_before with $torch_after"; exit 1; }; } && \ + { [[ "$ray_after" == "$RAY_CLUSTER_RAY_VERSION" ]] || { echo "vLLM replaced Ray $RAY_CLUSTER_RAY_VERSION with $ray_after"; exit 1; }; } + +COPY --chmod=644 runpod_vllm_auth.py wait_for_nodes.py /opt/runpod/inference/ +COPY --chmod=755 start.sh /opt/runpod/inference/start + +# The auth middleware rides vLLM's --middleware hook; fail the build if this +# vLLM no longer loads it, rather than serve with routes left open. +RUN register="$(python -c 'import importlib.util as u; print(u.find_spec("vllm").submodule_search_locations[0])')" && \ + register="$register/entrypoints/serve/middleware/register.py" && \ + { grep -q 'for middleware in args.middleware' "$register" || \ + { echo "vLLM no longer loads --middleware in $register"; exit 1; }; } && \ + PYTHONPATH=/opt/runpod/inference python -c 'import runpod_vllm_auth' + +# 8000 vLLM's OpenAI-compatible API on the head. Every route except /health, +# /ping and /metrics needs VLLM_API_KEY (else JUPYTER_PASSWORD). Map this one +# in the Runpod template. +EXPOSE 8000 + +LABEL com.runpod.template.variant="ray-cluster-inference" + +# The ENTRYPOINT is inherited and must stay: it starts Ray, then runs this CMD. +CMD ["/opt/runpod/inference/start"] diff --git a/official-templates/ray-cluster/inference/runpod_vllm_auth.py b/official-templates/ray-cluster/inference/runpod_vllm_auth.py new file mode 100644 index 00000000..c19226fd --- /dev/null +++ b/official-templates/ray-cluster/inference/runpod_vllm_auth.py @@ -0,0 +1,81 @@ +"""Require VLLM_API_KEY on every vLLM route except PUBLIC_PATHS. + +vLLM's own --api-key only guards /v1, /v2, /inference and /cohere. This is an +allowlist instead, so routes added upstream are guarded by default. Loaded via +`vllm serve --middleware`, which passes no arguments, hence the env read. + +Same module as official-templates/vllm/scripts/runpod_vllm_auth.py; keep the +two in sync. +""" + +import hashlib +import hmac +import json +import os + +# Exact matches only. +PUBLIC_PATHS = frozenset({"/health", "/ping", "/metrics"}) + +KEY_ENV = "VLLM_API_KEY" + +_UNAUTHORIZED = json.dumps({"error": "Unauthorized"}).encode() + + +def _digest(value: str) -> bytes: + return hashlib.sha256(value.encode("utf-8")).digest() + + +class BearerAuth: + def __init__(self, app): + self.app = app + key = os.environ.get(KEY_ENV, "") + if not key: + raise RuntimeError( + f"runpod_vllm_auth loaded but {KEY_ENV} is empty; refusing to " + "start vLLM without authentication" + ) + self._key_digest = _digest(key) + + def _authorized(self, scope) -> bool: + for name, value in scope.get("headers") or (): + if name.lower() != b"authorization": + continue + scheme, _, token = value.decode("latin-1").partition(" ") + if scheme.lower() != "bearer": + return False + return hmac.compare_digest(_digest(token), self._key_digest) + return False + + async def __call__(self, scope, receive, send): + kind = scope["type"] + if kind not in ("http", "websocket"): + return await self.app(scope, receive, send) + + # CORS preflight carries no credentials; vLLM's own check skips it too. + if kind == "http" and scope.get("method") == "OPTIONS": + return await self.app(scope, receive, send) + + root_path = scope.get("root_path", "") + path = scope["path"] + if root_path and path.startswith(root_path): + path = path[len(root_path):] + + if path in PUBLIC_PATHS or self._authorized(scope): + return await self.app(scope, receive, send) + + if kind == "websocket": + await send({"type": "websocket.close", "code": 1008}) + return + + await send( + { + "type": "http.response.start", + "status": 401, + "headers": [ + (b"content-type", b"application/json"), + (b"content-length", str(len(_UNAUTHORIZED)).encode()), + (b"www-authenticate", b"Bearer"), + ], + } + ) + await send({"type": "http.response.body", "body": _UNAUTHORIZED}) diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh new file mode 100644 index 00000000..1858896b --- /dev/null +++ b/official-templates/ray-cluster/inference/start.sh @@ -0,0 +1,122 @@ +#!/usr/bin/env bash +# CMD of the ray-cluster inference variant, run on every node after the +# entrypoint (/opt/runpod/ray/entrypoint) has started Ray. +# +# - Worker: nothing beyond Ray; vLLM runs from the head. +# - Head: wait until NUM_NODES nodes have joined Ray, then `vllm serve +# $MODEL_REPO` on 8000 across the whole cluster: tensor parallelism is the +# GPUs per node, pipeline parallelism the node count. +# - No NODE_RANK (a plain pod): `vllm serve` on this pod's GPUs, without Ray. +# +# Every path ends in /start.sh (SSH, Jupyter on the head, the dashboard front +# door, monitoring), and vLLM runs beside it, so the pod stays up for +# interactive use when vLLM is not started or exits. +# +# Never `set -x` here: the vLLM key is in the environment. +set -uo pipefail + +readonly INFERENCE_DIR=/opt/runpod/inference +readonly AUTH_MIDDLEWARE=runpod_vllm_auth.BearerAuth +readonly VLLM_PORT=8000 + +log() { echo "[ray-inference] $*"; } +services() { exec /start.sh; } + +if [[ -n "${NODE_RANK:-}" && "$NODE_RANK" != 0 ]]; then + log "worker node: Ray only; vLLM runs from the head" + services +fi + +if [[ -z "${MODEL_REPO:-}" ]]; then + log "error: MODEL_REPO is not set, so vLLM was not started. Set it to a Hugging Face model, such as Qwen/Qwen3-235B-A22B, and restart the pod. The pod stays up for interactive use." + services +fi + +# --- Authentication --------------------------------------------------------- # +# The middleware requires the key on every route except /health, /ping and +# /metrics; vLLM's own --api-key would leave routes such as /invocations open. +# The key is VLLM_API_KEY (vLLM's own variable), else the head's +# JUPYTER_PASSWORD (the console's password for the pod), used verbatim so it +# matches Jupyter's. With neither, vLLM is not started. The middleware and +# vLLM's own /v1 check both read the key back from VLLM_API_KEY, exported below. +# Pasted whitespace around VLLM_API_KEY is trimmed. +key=${VLLM_API_KEY:-} +key="${key#"${key%%[![:space:]]*}"}" +key="${key%"${key##*[![:space:]]}"}" +if [[ -n "$key" ]]; then + key_source=VLLM_API_KEY +elif [[ -n "${JUPYTER_PASSWORD:-}" ]]; then + key=$JUPYTER_PASSWORD + key_source=JUPYTER_PASSWORD +else + log "error: neither VLLM_API_KEY nor JUPYTER_PASSWORD is set, so vLLM was not started. Set VLLM_API_KEY, or VLLM_API_KEY=none to serve without authentication, and restart the pod." + services +fi +auth_args=() +if [[ "$key_source" == VLLM_API_KEY && "${key,,}" == none ]]; then + # Unset, or vLLM's own /v1 check would require the literal "none". + unset VLLM_API_KEY + log "warn: VLLM_API_KEY=none: vLLM on $VLLM_PORT answers every request without authentication" +else + export VLLM_API_KEY=$key + export PYTHONPATH="$INFERENCE_DIR${PYTHONPATH:+:$PYTHONPATH}" + auth_args=(--middleware "$AUTH_MIDDLEWARE") + log "authentication on (key from $key_source): every route except /health, /ping and /metrics needs 'Authorization: Bearer '" +fi + +# --- Shape -------------------------------------------------------------------- # +parallel_args=() +if [[ -n "${NODE_RANK:-}" ]]; then + nodes=${NUM_NODES:-1} + if ! [[ "$nodes" =~ ^[0-9]{1,4}$ ]] || ((10#$nodes < 1)); then + log "error: NUM_NODES '$nodes' is not a node count, so vLLM was not started" + services + fi + nodes=$((10#$nodes)) + gpus=$(python3 "$INFERENCE_DIR/wait_for_nodes.py" "$nodes") + case $? in + 0) ;; + 2) + log "error: the cluster can't be split into $nodes pipeline stages, so vLLM was not started" + services + ;; + *) + log "error: could not read the cluster's nodes from Ray (see above and /tmp/ray/session_latest/logs), so vLLM was not started" + services + ;; + esac + parallel_args=(--distributed-executor-backend ray --pipeline-parallel-size "$nodes") +else + gpus=$(nvidia-smi -L 2> /dev/null | grep -c '^GPU ') || gpus=0 + if ((gpus == 0)); then + log "error: no GPU visible, so vLLM was not started" + services + fi +fi +parallel_args+=(--tensor-parallel-size "$gpus") + +# --- Serve ---------------------------------------------------------------------- # +model_args=() +[[ -n "${MAX_MODEL_LENGTH:-}" ]] && model_args+=(--max-model-len "$MAX_MODEL_LENGTH") + +read -ra extra_args <<< "${VLLM_EXTRA_ARGS:-}" +for arg in "${extra_args[@]}"; do + case "$arg" in + --api-key | --api-key=*) + log "warn: VLLM_EXTRA_ARGS sets --api-key, and vLLM prints its arguments at startup, so that key is now in the pod logs. Set VLLM_API_KEY instead." + ;; + *) ;; + esac +done + +# VLLM_EXTRA_ARGS follows the derived settings so it can override them; the +# listen address is last, so the documented port holds. +cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" + "${auth_args[@]}" --host 0.0.0.0 --port "$VLLM_PORT") +log "starting vLLM on $VLLM_PORT: ${cmd[*]}" +( + "${cmd[@]}" + log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." +) & + +services diff --git a/official-templates/ray-cluster/inference/wait_for_nodes.py b/official-templates/ray-cluster/inference/wait_for_nodes.py new file mode 100644 index 00000000..c00c3df4 --- /dev/null +++ b/official-templates/ray-cluster/inference/wait_for_nodes.py @@ -0,0 +1,67 @@ +"""Wait until NUM_NODES nodes are ALIVE in Ray, then print GPUs per node. + +Run on the head by /opt/runpod/inference/start, after the entrypoint started +Ray. The start script sizes vLLM from the output: tensor parallelism is the +GPUs per node, pipeline parallelism the node count. No deadline: workers join +whenever they start, and a missing worker is a reason to wait, as it is for +the workers waiting on the head. Exits 2, with the reason on stderr, when the +nodes can't be split evenly into pipeline stages, and 1 when Ray can't be +reached. + +Usage: wait_for_nodes.py +""" + +import sys +import time + +import ray + +EXIT_SHAPE = 2 +LOG_EVERY_S = 60 +POLL_S = 5 + + +def log(msg: str) -> None: + print(f"[ray-inference] {msg}", file=sys.stderr, flush=True) + + +def gpus_per_alive_node() -> list[int]: + return [ + int(node["Resources"].get("GPU", 0)) + for node in ray.nodes() + if node["Alive"] + ] + + +def main() -> int: + want = int(sys.argv[1]) + # The entrypoint exported RAY_AUTH_TOKEN, so this joins as an authenticated + # driver of the local cluster. + ray.init(address="auto", logging_level="ERROR", log_to_driver=False) + + started = time.monotonic() + next_log = started + while True: + gpus = gpus_per_alive_node() + if len(gpus) >= want: + break + if time.monotonic() >= next_log: + log(f"{len(gpus)} of {want} nodes have joined Ray, " + f"{int(time.monotonic() - started)}s; waiting for the rest") + next_log += LOG_EVERY_S + time.sleep(POLL_S) + + if len(gpus) > want: + log(f"{len(gpus)} nodes are in Ray but NUM_NODES is {want}") + return EXIT_SHAPE + if min(gpus) == 0 or len(set(gpus)) != 1: + log(f"GPUs per node differ or are missing ({gpus}); pipeline stages " + "need the same GPU count on every node") + return EXIT_SHAPE + log(f"all {want} nodes joined, {gpus[0]} GPUs each") + print(gpus[0]) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) From 4bedbbbeb84c7c0f9e31adcdcbd3ebe49a2821ea Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Tue, 17 Nov 2026 16:50:58 -0500 Subject: [PATCH 02/24] feat(ray-cluster): serve the inference API through an nginx front door on 8001 vLLM now listens on 127.0.0.1:8000 only, and the base image's nginx serves the API on 8001, checking the key before proxying. Every route except /health and /ping needs it, including /metrics and any route a future vLLM adds, and auth no longer depends on vLLM's --middleware hook, so the runpod_vllm_auth copy is gone. While vLLM isn't listening, 8001 answers 503. The start script writes the accepted header to a root-only nginx map and reloads nginx; the shipped map accepts nothing. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 15 ++-- .../ray-cluster/inference/Dockerfile | 29 ++++--- .../inference/nginx/vllm-api-key.map | 5 ++ .../ray-cluster/inference/nginx/vllm-api.conf | 68 ++++++++++++++++ .../ray-cluster/inference/runpod_vllm_auth.py | 81 ------------------- .../ray-cluster/inference/start.sh | 63 ++++++++++----- 6 files changed, 140 insertions(+), 121 deletions(-) create mode 100644 official-templates/ray-cluster/inference/nginx/vllm-api-key.map create mode 100644 official-templates/ray-cluster/inference/nginx/vllm-api.conf delete mode 100644 official-templates/ray-cluster/inference/runpod_vllm_auth.py diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index b983357e..f1d50a2d 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -48,7 +48,7 @@ It also logs a warning if the installed Ray differs from the version the image w `runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): - **Worker:** joins Ray and runs nothing else. -- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on port 8000 with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count. Every node needs the same GPU count. +- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count. Every node needs the same GPU count. - **No `NODE_RANK`** (a plain pod): `vllm serve` on that pod's GPUs, without Ray. Configuration, all environment variables: @@ -57,15 +57,15 @@ Configuration, all environment variables: |---|---|---| | `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`. Unset: the head logs an error and stays up for interactive use. | | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | -| `VLLM_API_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route except `/health`, `/ping` and `/metrics`. With neither set, the head logs an error and does not start vLLM. `none` turns authentication off. | +| `VLLM_API_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route except `/health` and `/ping`. With neither set, the head logs an error and does not start vLLM. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `0.0.0.0` and `8000`. | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`. | -Authentication is the `runpod_vllm_auth` middleware (`inference/runpod_vllm_auth.py`, shared with `official-templates/vllm`), loaded through `vllm serve --middleware`. It is an allowlist, because vLLM's own `--api-key` guards only `/v1`, `/v2`, `/inference` and `/cohere`, leaving routes such as `/invocations` open. The key falls back to the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too; set `VLLM_API_KEY` to use a separate key. +The API is served on port **8001** by the base image's nginx (`inference/nginx/vllm-api.conf`), which checks the key before proxying to vLLM on `127.0.0.1:8000`; vLLM itself is not reachable from outside the head pod. nginx checks every route except `/health` and `/ping`, so routes vLLM's own `--api-key` leaves open, such as `/invocations` and `/metrics`, need the key too, as do routes a future vLLM adds. The start script writes the accepted header to `/etc/nginx/vllm-api-key.map` (root-only) and reloads nginx; the shipped map accepts nothing, so a pod that never sets a key never serves. The key falls back to the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too; set `VLLM_API_KEY` to use a separate key. -vLLM runs beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if vLLM exits; restart the pod to serve again. vLLM opens port 8000 only once the model has loaded, so until then the Runpod proxy answers `502`; `/health` answers 200 once it can serve. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. +vLLM runs beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if vLLM exits; restart the pod to serve again. Until vLLM is listening (the model is loading, or vLLM was not started), 8001 answers `503`; `/health` answers 200 once it can serve. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. -vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray, or if vLLM stops loading `--middleware`. +vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. ## Ports @@ -77,8 +77,9 @@ vLLM pins torch exactly, so the variant is built only on the Ray build whose tor | 20217 | Ray metrics (every node) | host scrape; the head's Prometheus | | 52365 | Ray dashboard agent (every node), token-authenticated | the head's dashboard, for jobs and logs | | 8889 | Grafana, token-authenticated (inherited from `pytorch-cluster`) | cluster owner's browser; map this in the Runpod template | +| 8001 | vLLM API front door (nginx, head; inference variant only), key-authenticated | API clients; map this in the inference template. vLLM itself listens on `127.0.0.1:8000` | -All except Grafana and the dashboard front door are host-internal: the daemon reaches them on the docker bridge and leaves them unmapped. Unauthenticated, the Ray dashboard's API is job submission, which is remote code execution in the cluster (ShadowRay, CVE-2023-48022). Ray's own token authentication closes that: the UI asks for the token once and keeps it in an HttpOnly `ray-authentication-token` cookie; API clients send `Authorization: Bearer `. Health checks (`/api/gcs_healthz`), the static UI and the login endpoint stay public. The same token gates every node's dashboard agent on 52365, which serves job submission and logs (Ray 2.54 added this; earlier versions left the agent open), apart from its `/api/healthz` and `/api/local_raylet_healthz`. The metrics port (20217) is not gated, so keep it and the agent port unmapped. **With `RAY_AUTH_MODE=disabled`, never map 8265 or 8266.** +All except Grafana, the dashboard front door and the inference variant's API front door are host-internal: the daemon reaches them on the docker bridge and leaves them unmapped. Unauthenticated, the Ray dashboard's API is job submission, which is remote code execution in the cluster (ShadowRay, CVE-2023-48022). Ray's own token authentication closes that: the UI asks for the token once and keeps it in an HttpOnly `ray-authentication-token` cookie; API clients send `Authorization: Bearer `. Health checks (`/api/gcs_healthz`), the static UI and the login endpoint stay public. The same token gates every node's dashboard agent on 52365, which serves job submission and logs (Ray 2.54 added this; earlier versions left the agent open), apart from its `/api/healthz` and `/api/local_raylet_healthz`. The metrics port (20217) is not gated, so keep it and the agent port unmapped. **With `RAY_AUTH_MODE=disabled`, never map 8265 or 8266.** The front door on 8266 skips the token prompt, the way Jupyter's link does: the console opens `https://-8266./?token=`, and nginx (`config/nginx/ray-dashboard.conf`, started by `/start.sh`) answers with that token as Ray's `ray-authentication-token` cookie and a redirect to the same path without it. nginx holds no secret and checks nothing; every request it passes on is still checked by Ray, so a wrong token gets Ray's usual prompt. Only URL-safe tokens (`A-Z a-z 0-9 . _ ~ -`) are taken from the link; any other token falls back to the prompt. As with Jupyter, anyone holding the link holds the cluster token. diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index ffd5c9f5..452d2b0f 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -30,21 +30,24 @@ RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ { [[ "$torch_after" == "$torch_before" ]] || { echo "vLLM replaced torch $torch_before with $torch_after"; exit 1; }; } && \ { [[ "$ray_after" == "$RAY_CLUSTER_RAY_VERSION" ]] || { echo "vLLM replaced Ray $RAY_CLUSTER_RAY_VERSION with $ray_after"; exit 1; }; } -COPY --chmod=644 runpod_vllm_auth.py wait_for_nodes.py /opt/runpod/inference/ +COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start -# The auth middleware rides vLLM's --middleware hook; fail the build if this -# vLLM no longer loads it, rather than serve with routes left open. -RUN register="$(python -c 'import importlib.util as u; print(u.find_spec("vllm").submodule_search_locations[0])')" && \ - register="$register/entrypoints/serve/middleware/register.py" && \ - { grep -q 'for middleware in args.middleware' "$register" || \ - { echo "vLLM no longer loads --middleware in $register"; exit 1; }; } && \ - PYTHONPATH=/opt/runpod/inference python -c 'import runpod_vllm_auth' - -# 8000 vLLM's OpenAI-compatible API on the head. Every route except /health, -# /ping and /metrics needs VLLM_API_KEY (else JUPYTER_PASSWORD). Map this one -# in the Runpod template. -EXPOSE 8000 +# The API front door on 8001: nginx checks the key, then proxies to vLLM on +# 127.0.0.1:8000. Spliced into the base nginx.conf's http block like the Ray +# dashboard's front door. The shipped key map accepts nothing; the start +# script writes the real one, root-only. +COPY --chmod=644 nginx/vllm-api.conf /etc/nginx/vllm-api.conf +COPY --chmod=600 nginx/vllm-api-key.map /etc/nginx/vllm-api-key.map +RUN sed -i 's|^http {$|&\n include /etc/nginx/vllm-api.conf;|' /etc/nginx/nginx.conf && \ + grep -q 'include /etc/nginx/vllm-api.conf;' /etc/nginx/nginx.conf && \ + nginx -t + +# 8001 vLLM's OpenAI-compatible API on the head, through nginx. Every route +# except /health and /ping needs VLLM_API_KEY (else JUPYTER_PASSWORD). +# Map this one in the Runpod template. vLLM itself (8000) listens on +# 127.0.0.1 only. +EXPOSE 8001 LABEL com.runpod.template.variant="ray-cluster-inference" diff --git a/official-templates/ray-cluster/inference/nginx/vllm-api-key.map b/official-templates/ray-cluster/inference/nginx/vllm-api-key.map new file mode 100644 index 00000000..4ca575d0 --- /dev/null +++ b/official-templates/ray-cluster/inference/nginx/vllm-api-key.map @@ -0,0 +1,5 @@ +# Which Authorization headers reach vLLM through the 8001 front door, included +# into vllm-api.conf's map. /opt/runpod/inference/start rewrites it on the head +# with the key, or with `default 1;` for VLLM_API_KEY=none. Until then, and on +# every pod that doesn't serve, nothing gets through. +default 0; diff --git a/official-templates/ray-cluster/inference/nginx/vllm-api.conf b/official-templates/ray-cluster/inference/nginx/vllm-api.conf new file mode 100644 index 00000000..d9f4f833 --- /dev/null +++ b/official-templates/ray-cluster/inference/nginx/vllm-api.conf @@ -0,0 +1,68 @@ +# vLLM API front door on 8001 for the inference variant, included into the +# base image's nginx http block. vLLM itself listens on 127.0.0.1:8000 only, so +# this is the one way in from outside the head pod, and it checks the key +# before vLLM sees the request: every route except /health and /ping needs +# `Authorization: Bearer `, whatever routes vLLM adds. While vLLM isn't +# serving (the model is loading, or it was not started), requests get 503. +# +# The accepted header lives in vllm-api-key.map, written by +# /opt/runpod/inference/start; the shipped one accepts nothing. + +map $http_authorization $vllm_authorized { + include /etc/nginx/vllm-api-key.map; +} + +map $http_upgrade $vllm_connection { + default upgrade; + "" close; +} + +server { + listen 8001; + + # Multimodal requests carry images and audio inline. + client_max_body_size 100m; + + # Stream tokens as vLLM produces them, and let long generations run. + proxy_http_version 1.1; + proxy_buffering off; + proxy_request_buffering off; + proxy_read_timeout 1h; + proxy_send_timeout 1h; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # The Realtime API is a WebSocket. + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $vllm_connection; + + # nginx's own 502 (vLLM not listening); vLLM's own errors pass through. + error_page 502 = @not_serving; + error_page 401 = @unauthorized; + + # Health checks stay public, as with vLLM's own --api-key. + location = /health { + proxy_pass http://127.0.0.1:8000; + } + location = /ping { + proxy_pass http://127.0.0.1:8000; + } + + location / { + if ($vllm_authorized = 0) { + return 401; + } + proxy_pass http://127.0.0.1:8000; + } + + location @unauthorized { + default_type application/json; + add_header WWW-Authenticate Bearer always; + return 401 '{"error": "Unauthorized"}\n'; + } + + location @not_serving { + default_type application/json; + add_header Retry-After 30 always; + return 503 '{"error": "vLLM is not serving yet: the model may still be loading. See the head pod logs."}\n'; + } +} diff --git a/official-templates/ray-cluster/inference/runpod_vllm_auth.py b/official-templates/ray-cluster/inference/runpod_vllm_auth.py deleted file mode 100644 index c19226fd..00000000 --- a/official-templates/ray-cluster/inference/runpod_vllm_auth.py +++ /dev/null @@ -1,81 +0,0 @@ -"""Require VLLM_API_KEY on every vLLM route except PUBLIC_PATHS. - -vLLM's own --api-key only guards /v1, /v2, /inference and /cohere. This is an -allowlist instead, so routes added upstream are guarded by default. Loaded via -`vllm serve --middleware`, which passes no arguments, hence the env read. - -Same module as official-templates/vllm/scripts/runpod_vllm_auth.py; keep the -two in sync. -""" - -import hashlib -import hmac -import json -import os - -# Exact matches only. -PUBLIC_PATHS = frozenset({"/health", "/ping", "/metrics"}) - -KEY_ENV = "VLLM_API_KEY" - -_UNAUTHORIZED = json.dumps({"error": "Unauthorized"}).encode() - - -def _digest(value: str) -> bytes: - return hashlib.sha256(value.encode("utf-8")).digest() - - -class BearerAuth: - def __init__(self, app): - self.app = app - key = os.environ.get(KEY_ENV, "") - if not key: - raise RuntimeError( - f"runpod_vllm_auth loaded but {KEY_ENV} is empty; refusing to " - "start vLLM without authentication" - ) - self._key_digest = _digest(key) - - def _authorized(self, scope) -> bool: - for name, value in scope.get("headers") or (): - if name.lower() != b"authorization": - continue - scheme, _, token = value.decode("latin-1").partition(" ") - if scheme.lower() != "bearer": - return False - return hmac.compare_digest(_digest(token), self._key_digest) - return False - - async def __call__(self, scope, receive, send): - kind = scope["type"] - if kind not in ("http", "websocket"): - return await self.app(scope, receive, send) - - # CORS preflight carries no credentials; vLLM's own check skips it too. - if kind == "http" and scope.get("method") == "OPTIONS": - return await self.app(scope, receive, send) - - root_path = scope.get("root_path", "") - path = scope["path"] - if root_path and path.startswith(root_path): - path = path[len(root_path):] - - if path in PUBLIC_PATHS or self._authorized(scope): - return await self.app(scope, receive, send) - - if kind == "websocket": - await send({"type": "websocket.close", "code": 1008}) - return - - await send( - { - "type": "http.response.start", - "status": 401, - "headers": [ - (b"content-type", b"application/json"), - (b"content-length", str(len(_UNAUTHORIZED)).encode()), - (b"www-authenticate", b"Bearer"), - ], - } - ) - await send({"type": "http.response.body", "body": _UNAUTHORIZED}) diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 1858896b..f0d95275 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -4,8 +4,10 @@ # # - Worker: nothing beyond Ray; vLLM runs from the head. # - Head: wait until NUM_NODES nodes have joined Ray, then `vllm serve -# $MODEL_REPO` on 8000 across the whole cluster: tensor parallelism is the -# GPUs per node, pipeline parallelism the node count. +# $MODEL_REPO` across the whole cluster: tensor parallelism is the GPUs per +# node, pipeline parallelism the node count. vLLM listens on +# 127.0.0.1:8000; nginx's front door on 8001 checks the key +# (/etc/nginx/vllm-api.conf). # - No NODE_RANK (a plain pod): `vllm serve` on this pod's GPUs, without Ray. # # Every path ends in /start.sh (SSH, Jupyter on the head, the dashboard front @@ -16,12 +18,21 @@ set -uo pipefail readonly INFERENCE_DIR=/opt/runpod/inference -readonly AUTH_MIDDLEWARE=runpod_vllm_auth.BearerAuth readonly VLLM_PORT=8000 +readonly FRONT_PORT=8001 +readonly KEY_MAP=/etc/nginx/vllm-api-key.map log() { echo "[ray-inference] $*"; } services() { exec /start.sh; } +# Reloads nginx if it is running already; otherwise /start.sh starts it with +# the current map. A reload missed in a race leaves the shipped map in force, +# which accepts nothing, so serve() reloads once more before starting vLLM. +reload_nginx() { + [[ -s /run/nginx.pid ]] && nginx -s reload 2> /dev/null + return 0 +} + if [[ -n "${NODE_RANK:-}" && "$NODE_RANK" != 0 ]]; then log "worker node: Ray only; vLLM runs from the head" services @@ -33,13 +44,11 @@ if [[ -z "${MODEL_REPO:-}" ]]; then fi # --- Authentication --------------------------------------------------------- # -# The middleware requires the key on every route except /health, /ping and -# /metrics; vLLM's own --api-key would leave routes such as /invocations open. # The key is VLLM_API_KEY (vLLM's own variable), else the head's # JUPYTER_PASSWORD (the console's password for the pod), used verbatim so it -# matches Jupyter's. With neither, vLLM is not started. The middleware and -# vLLM's own /v1 check both read the key back from VLLM_API_KEY, exported below. -# Pasted whitespace around VLLM_API_KEY is trimmed. +# matches Jupyter's. With neither, vLLM is not started. Pasted whitespace +# around VLLM_API_KEY is trimmed. nginx checks it on 8001 (vllm-api.conf); vLLM +# itself runs without one, reachable only from this pod. key=${VLLM_API_KEY:-} key="${key#"${key%%[![:space:]]*}"}" key="${key%"${key##*[![:space:]]}"}" @@ -52,17 +61,30 @@ else log "error: neither VLLM_API_KEY nor JUPYTER_PASSWORD is set, so vLLM was not started. Set VLLM_API_KEY, or VLLM_API_KEY=none to serve without authentication, and restart the pod." services fi -auth_args=() +# A header can't carry control characters, so such a key could never match. +if [[ "$key" == *[[:cntrl:]]* ]]; then + log "error: the key in $key_source contains control characters, so vLLM was not started" + services +fi if [[ "$key_source" == VLLM_API_KEY && "${key,,}" == none ]]; then - # Unset, or vLLM's own /v1 check would require the literal "none". - unset VLLM_API_KEY - log "warn: VLLM_API_KEY=none: vLLM on $VLLM_PORT answers every request without authentication" + map_entries='default 1;' + log "warn: VLLM_API_KEY=none: the API on $FRONT_PORT answers every request without authentication" else - export VLLM_API_KEY=$key - export PYTHONPATH="$INFERENCE_DIR${PYTHONPATH:+:$PYTHONPATH}" - auth_args=(--middleware "$AUTH_MIDDLEWARE") - log "authentication on (key from $key_source): every route except /health, /ping and /metrics needs 'Authorization: Bearer '" + # An nginx quoted string: only \ and " need escaping; map keys are + # literal, so a $ in the key is not a variable. + escaped=${key//\\/\\\\} + escaped=${escaped//\"/\\\"} + map_entries=$(printf 'default 0;\n"Bearer %s" 1;' "$escaped") + log "authentication on (key from $key_source): every route on $FRONT_PORT except /health and /ping needs 'Authorization: Bearer '" fi +# Root-only, written whole, then swapped in: nginx never reads half a map. +( + umask 077 + printf '%s\n' "$map_entries" > "$KEY_MAP.tmp" +) && mv "$KEY_MAP.tmp" "$KEY_MAP" +reload_nginx +# vLLM reads VLLM_API_KEY itself; nginx has already checked the key. +unset VLLM_API_KEY # --- Shape -------------------------------------------------------------------- # parallel_args=() @@ -103,17 +125,18 @@ read -ra extra_args <<< "${VLLM_EXTRA_ARGS:-}" for arg in "${extra_args[@]}"; do case "$arg" in --api-key | --api-key=*) - log "warn: VLLM_EXTRA_ARGS sets --api-key, and vLLM prints its arguments at startup, so that key is now in the pod logs. Set VLLM_API_KEY instead." + log "warn: VLLM_EXTRA_ARGS sets --api-key, and vLLM prints its arguments at startup, so that key is now in the pod logs. Set VLLM_API_KEY instead; nginx checks it on $FRONT_PORT." ;; *) ;; esac done # VLLM_EXTRA_ARGS follows the derived settings so it can override them; the -# listen address is last, so the documented port holds. +# listen address is last, so vLLM stays behind the front door. cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" - "${auth_args[@]}" --host 0.0.0.0 --port "$VLLM_PORT") -log "starting vLLM on $VLLM_PORT: ${cmd[*]}" + --host 127.0.0.1 --port "$VLLM_PORT") +reload_nginx +log "starting vLLM on 127.0.0.1:$VLLM_PORT, served on $FRONT_PORT: ${cmd[*]}" ( "${cmd[@]}" log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." From 8ea1b22c4247a1258d1f76fd58a098821a3af2e3 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Tue, 17 Nov 2026 16:57:19 -0500 Subject: [PATCH 03/24] feat(ray-cluster): scrape vLLM's metrics and load its dashboards on the head The inference variant's /post_start.sh runs the Ray image's hook, then adds a Prometheus `vllm` job for 127.0.0.1:8000/metrics (no key needed: only nginx's 8001 is reachable from outside). vLLM's example Grafana dashboards, vendored from vllm-project/vllm v0.32.0, load into a vLLM folder. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 + .../ray-cluster/inference/Dockerfile | 8 + .../vllm-performance-statistics.json | 1405 ++++++++++++++ .../dashboards/vllm-query-statistics.json | 1294 +++++++++++++ .../inference/config/dashboards/vllm.json | 1693 +++++++++++++++++ .../config/provisioning/dashboards/vllm.yml | 19 + .../ray-cluster/inference/post_start.sh | 41 + 7 files changed, 4462 insertions(+) create mode 100644 official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json create mode 100644 official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json create mode 100644 official-templates/ray-cluster/inference/config/dashboards/vllm.json create mode 100644 official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml create mode 100644 official-templates/ray-cluster/inference/post_start.sh diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index f1d50a2d..d87e9b14 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -65,6 +65,8 @@ The API is served on port **8001** by the base image's nginx (`inference/nginx/v vLLM runs beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if vLLM exits; restart the pod to serve again. Until vLLM is listening (the model is loading, or vLLM was not started), 8001 answers `503`; `/health` answers 200 once it can serve. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. +On the head, vLLM's metrics join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds a Prometheus `vllm` job that scrapes `127.0.0.1:8000/metrics` directly, with no key, since only nginx's 8001 is reachable from outside. Grafana loads vLLM's example dashboards (`vLLM`, `vLLM Performance Statistics`, `vLLM Query Statistics`, from vLLM's `examples/observability/` at the pinned version, in `inference/config/dashboards/`) into a **vLLM** folder. `RAY_CLUSTER_METRICS=0` leaves the job out with the rest of the head's stack. Re-vendor the dashboards when bumping `VLLM_VERSION`; their metric names follow vLLM's. + vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. ## Ports diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 452d2b0f..4fb53b3a 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -43,6 +43,14 @@ RUN sed -i 's|^http {$|&\n include /etc/nginx/vllm-api.conf;|' /etc/nginx/ngi grep -q 'include /etc/nginx/vllm-api.conf;' /etc/nginx/nginx.conf && \ nginx -t +# vLLM's metrics on the head's Prometheus + Grafana: this image's post-start +# hook runs the Ray image's (renamed /post_start.ray.sh), then adds a scrape +# job for 127.0.0.1:8000; vLLM's example dashboards load into a vLLM folder. +RUN mv /post_start.sh /post_start.ray.sh +COPY --chmod=755 post_start.sh /post_start.sh +COPY config/provisioning/dashboards/vllm.yml /etc/grafana/provisioning/dashboards/vllm.yml +COPY config/dashboards/ /opt/runpod/inference/grafana-dashboards/ + # 8001 vLLM's OpenAI-compatible API on the head, through nginx. Every route # except /health and /ping needs VLLM_API_KEY (else JUPYTER_PASSWORD). # Map this one in the Runpod template. vLLM itself (8000) listens on diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json b/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json new file mode 100644 index 00000000..661d3f14 --- /dev/null +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json @@ -0,0 +1,1405 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 9, + "panels": [], + "title": "Graph: E2E latency over time ", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "End-to-End latency of requests, showing average and key percentiles over time.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Latency", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 18, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 1, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:e2e_request_latency_seconds_sum[$__interval]) / rate(vllm:e2e_request_latency_seconds_count[$__interval])", + "format": "table", + "legendFormat": "E2E Latency", + "range": true, + "refId": "A" + } + ], + "title": "E2E Latency over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "99th percentile of End-to-End request latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "P99", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 1 + }, + "id": 5, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "E2E Latency (P99)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "90th percentile of End-to-End request latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "P90", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 1 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "E2E Latency (P90)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Average End-to-End request latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "Average", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 5 + }, + "id": 2, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "(sum(increase(vllm:e2e_request_latency_seconds_sum[$__range])) / sum(increase(vllm:e2e_request_latency_seconds_count[$__range])))", + "legendFormat": "Average E2E Latency", + "range": true, + "refId": "A" + } + ], + "title": "E2E Latency (Avg)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "50th percentile (median) of End-to-End request latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "P50", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 5 + }, + "id": 3, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "E2E Latency (P50)", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 8, + "panels": [], + "title": "Graph: TTFT(Time To First Token) over time ", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Time to first token (TTFT) latency, showing average and key percentiles over time.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Latency", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 18, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "rate(vllm:time_to_first_token_seconds_sum[$__interval]) / rate(vllm:time_to_first_token_seconds_count[$__interval])", + "format": "table", + "legendFormat": "TTFT (Avg)", + "range": true, + "refId": "A" + } + ], + "title": "TTFT Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "99th percentile of Time To First Token latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "P99", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 10 + }, + "id": 14, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket[$__range])))", + "legendFormat": "TTFT (p99)", + "range": true, + "refId": "A" + } + ], + "title": "TTFT (P99)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "90th percentile of Time To First Token latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "P90", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 10 + }, + "id": 13, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket[$__range])))", + "legendFormat": "TTFT (p90)", + "range": true, + "refId": "A" + } + ], + "title": "TTFT (P90)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Average Time To First Token latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "displayName": "Average", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 14 + }, + "id": 11, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "(sum(increase(vllm:time_to_first_token_seconds_sum[$__range])) / sum(increase(vllm:time_to_first_token_seconds_count[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TTFT (Avg)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "50th percentile (median) of Time To First Token latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "displayName": "P50", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 14 + }, + "id": 12, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orietitletChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TTFT (P50)", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 7, + "panels": [], + "title": "ITL (Iteration Latency / Time Per Output Token) over time.", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Iteration latency, or average time taken to generate a single output token, with percentiles.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Latency", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 17, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 19 + }, + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "rate(vllm:inter_token_latency_seconds_sum[$__interval]) / rate(vllm:inter_token_latency_seconds_count[$__interval])", + "legendFormat": "ITL (Avg)", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__interval])))", + "hide": false, + "instant": false, + "legendFormat": "ITL (p50)", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__interval])))", + "hide": false, + "instant": false, + "legendFormat": "ITL (p90)", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__interval])))", + "hide": false, + "instant": false, + "legendFormat": "ITL (p99)", + "range": true, + "refId": "D" + } + ], + "title": "ITL (Time Per Output Token) Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "90th percentile of Iteration Latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 19 + }, + "id": 18, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ITL (P90)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "99th percentile of Iteration Latency over the selected time range.\n\n", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 19 + }, + "id": 19, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ITL (P99)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Average Iteration Latency (time per output token) over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 23 + }, + "id": 16, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "(sum(increase(vllm:inter_token_latency_seconds_sum[$__range])) / sum(increase(vllm:inter_token_latency_seconds_count[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ITL (Avg)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "50th percentile (median) of Iteration Latency over the selected time range.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 23 + }, + "id": 17, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket[$__range])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "ITL (P50)", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 6, + "panels": [], + "title": "TPS (Tokens Per Second)", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Rate of tokens processed per second, including prompt and generation phases.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "tokens/sec (tps)" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 28 + }, + "id": 20, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "rate(vllm:generation_tokens_total[$__interval])", + "legendFormat": "Generation TPS", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:prompt_tokens_total[$__interval])", + "hide": false, + "instant": false, + "legendFormat": "Prompt TPS", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:iteration_tokens_total_count[$__interval])", + "hide": false, + "instant": false, + "legendFormat": "Overall Iteration TPS", + "range": true, + "refId": "C" + } + ], + "title": "TPS (Tokens Per Second) Over Time", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 40, + "tags": [], + "templating": { + "list": [ + { + "name": "DS_PROMETHEUS", + "type": "datasource", + "label": "datasource", + "query": "prometheus", + "refresh": 1, + "current": { + "text": "Prometheus", + "value": "prometheus" + } + }, + { + "current": { + "text": "avg : Average\n0.50 : P50\n0.90 : P90\n0.99 : P99\n0.999 : Max (Approx)", + "value": "avg : Average\n0.50 : P50\n0.90 : P90\n0.99 : P99\n0.999 : Max (Approx)" + }, + "label": "Aggregation", + "name": "agg_method", + "options": [ + { + "selected": true, + "text": "avg : Average\n0.50 : P50\n0.90 : P90\n0.99 : P99\n0.999 : Max (Approx)", + "value": "avg : Average\n0.50 : P50\n0.90 : P90\n0.99 : P99\n0.999 : Max (Approx)" + } + ], + "query": "avg : Average\n0.50 : P50\n0.90 : P90\n0.99 : P99\n0.999 : Max (Approx)", + "type": "custom" + }, + { + "current": { + "text": [ + "granite-33-2b-instruct" + ], + "value": [ + "granite-33-2b-instruct" + ] + }, + "definition": "label_values(vllm:generation_tokens_total,model_name)", + "includeAll": true, + "label": "Deployment_ID", + "multi": true, + "name": "Deployment_id", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(vllm:generation_tokens_total,model_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "type": "query" + } + ] + }, + "time": { + "from": "now-12h", + "to": "now" + }, + "timezone": "browser", + "uid": "performance-statistics", + "title": "vLLM Performance Statistics", + "version": 40, + "weekStart": "" +} diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json b/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json new file mode 100644 index 00000000..1c8f794f --- /dev/null +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json @@ -0,0 +1,1294 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "description": "High-level overview of VLLM model deployment behavior and key performance indicators. Designed for Data Scientists and Product Managers to monitor request volume, token throughput, and latency", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 20, + "panels": [], + "title": "Request Over Time", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "req/s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 0, + "y": 1 + }, + "id": 1, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (model_name) (\n rate(vllm:request_success_total{model_name=~\"$Deployment_id\"}[$__rate_interval])\n)", + "interval": "1", + "legendFormat": "{{model_name}}", + "range": true, + "refId": "A" + } + ], + "title": "Successful Requests Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "req/s" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 1 + }, + "id": 2, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum(rate(vllm:request_success_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Requests Avg Rate", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calcultaions": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 17, + "y": 1 + }, + "id": 3, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le, model_name) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "p50 Latency", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 4 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le, model_name) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "p90 Latency", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 17, + "y": 4 + }, + "id": 5, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le, model_name) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "p99 Latency", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 19, + "panels": [], + "title": "Size Distribution", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "fillOpacity": 80, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "stacking": { + "group": "A", + "mode": "none" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 0, + "y": 8 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum by (le, model_name) (rate(vllm:request_prompt_tokens_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "{{model_name}} le={{le}}", + "range": true, + "refId": "A" + } + ], + "title": "Input Token Size Distribution", + "type": "histogram" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "calculation ": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 8 + }, + "id": 9, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.90, sum by(le, model_name) (rate(vllm:request_prompt_tokens_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Input Token Size p90", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 17, + "y": 8 + }, + "id": 8, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum by(le, model_name) (rate(vllm:request_prompt_tokens_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Input Token Size p50", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calcultaion": { + "index": 0, + "text": "mean" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 11 + }, + "id": 7, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum(rate(vllm:prompt_tokens_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))\n/\nsum(rate(vllm:request_success_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Input Token Size Avg", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "Last (not null)" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 17, + "y": 11 + }, + "id": 10, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "histogram_quantile(0.99, sum by(le, model_name) (rate(vllm:request_prompt_tokens_bucket{model_name=~\"$Deployment_id\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Input Token Size p99", + "type": "stat" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 18, + "panels": [], + "title": "Input Token Over Time", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 0, + "y": 15 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum by (model_name) (rate(vllm:prompt_tokens_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "{{model_name}}", + "range": true, + "refId": "A" + } + ], + "title": "Input Tokens Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "mean" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 15 + }, + "id": 12, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum(rate(vllm:prompt_tokens_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Input Tokens/Sec Avg", + "type": "stat" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 17, + "panels": [], + "title": "Output Token Over Time", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 0, + "y": 22 + }, + "id": 13, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum by (model_name) (rate(vllm:generation_tokens_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "{{model_name}}", + "range": true, + "refId": "A" + } + ], + "title": "Output Tokens Over Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "Calculation": { + "index": 0, + "text": "mean" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 7, + "x": 10, + "y": 22 + }, + "id": 14, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum(rate(vllm:generation_tokens_total{model_name=~\"$Deployment_id\"}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Output Tokens/Sec Avg", + "type": "stat" + } + ], + "preload": false, + "schemaVersion": 40, + "tags": [], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "4184fc20-68a7-483a-8d9b-7caa59c680dd" + }, + "label": "datasource", + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "refresh": 1, + "type": "datasource" + }, + { + "current": { + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, + "definition": "label_values(vllm:request_success_total,model_name)", + "includeAll": true, + "label": "Deployment_ID", + "multi": true, + "name": "Deployment_id", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(vllm:request_success_total,model_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "sort": 1, + "type": "query" + }, + { + "current": { + "text": "All hours", + "value": "All hours" + }, + "hide": 2, + "label": "Rush Hours Only", + "name": "rush_hours", + "options": [ + { + "selected": true, + "text": "false", + "value": "All hours" + }, + { + "selected": false, + "text": "true", + "value": "Rush hours" + } + ], + "query": "false : All hours, true : Rush hours", + "type": "custom" + }, + { + "current": { + "text": "All", + "value": "All" + }, + "hide": 2, + "label": "Rush Hours Type", + "name": "rush_hours_type", + "options": [ + { + "selected": true, + "text": "^All__.*$", + "value": "All" + }, + { + "selected": false, + "text": "^Static__.*$", + "value": "Static" + }, + { + "selected": false, + "text": "^Dynamic__.*$", + "value": "Dynamic" + } + ], + "query": "^All__.*$ : All, ^Static__.*$ : Static, ^Dynamic__.*$ : Dynamic", + "type": "custom" + }, + { + "current": { + "text": "", + "value": "" + }, + "hide": 2, + "name": "query0", + "options": [], + "query": "", + "refresh": 1, + "regex": "", + "type": "query" + } + ] + }, + "time": { + "from": "now-12h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "vLLM Query Statistics", + "uid": "query-statistics4", + "version": 2, + "weekStart": "" +} diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm.json b/official-templates/ray-cluster/inference/config/dashboards/vllm.json new file mode 100644 index 00000000..efbf5d90 --- /dev/null +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm.json @@ -0,0 +1,1693 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Monitoring vLLM Inference Server", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "End to end request latency measured in seconds.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.9, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P90", + "range": true, + "refId": "C", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.5, sum by(le) (rate(vllm:e2e_request_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "D", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:e2e_request_latency_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])\n/\nrate(vllm:e2e_request_latency_seconds_count{model_name=\"$model_name\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "Average", + "range": true, + "refId": "E" + } + ], + "title": "E2E Request Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Number of tokens processed per second", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(vllm:prompt_tokens_total{model_name=\"$model_name\"}[$__rate_interval])", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "Prompt Tokens/Sec", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(vllm:generation_tokens_total{model_name=\"$model_name\"}[$__rate_interval])", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "Generation Tokens/Sec", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Token Throughput", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Inter-token latency in seconds, measured between consecutive streamed outputs. It approximates TPOT when each output contains one token, but differs from request-level TPOT under speculative decoding or varying aggregation weights.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.9, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P90", + "range": true, + "refId": "C", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.5, sum by(le) (rate(vllm:inter_token_latency_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "D", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:inter_token_latency_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])\n/\nrate(vllm:inter_token_latency_seconds_count{model_name=\"$model_name\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "Mean", + "range": true, + "refId": "E" + } + ], + "title": "Inter Token Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Per-request Time Per Output Token (TPOT) in seconds, computed as (end-to-end latency - TTFT) divided by the number of output tokens minus one. Requests with no more than one output token are recorded as zero; vllm bench serve excludes these requests from its TPOT statistics.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 48 + }, + "id": 17, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:request_time_per_output_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le) (rate(vllm:request_time_per_output_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.9, sum by(le) (rate(vllm:request_time_per_output_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P90", + "range": true, + "refId": "C", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.5, sum by(le) (rate(vllm:request_time_per_output_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "D", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:request_time_per_output_token_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])\n/\nrate(vllm:request_time_per_output_token_seconds_count{model_name=\"$model_name\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "Mean", + "range": true, + "refId": "E" + } + ], + "title": "Time Per Output Token (TPOT)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Number of requests in RUNNING, WAITING, and SWAPPED state", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "vllm:num_requests_running{model_name=\"$model_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Num Running", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "vllm:num_requests_waiting{model_name=\"$model_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Num Waiting", + "range": true, + "refId": "C", + "useBackend": false + } + ], + "title": "Scheduler State", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "P50, P90, P95, and P99 TTFT latency in seconds.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.99, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.9, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P90", + "range": true, + "refId": "C", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "histogram_quantile(0.5, sum by(le) (rate(vllm:time_to_first_token_seconds_bucket{model_name=\"$model_name\"}[$__rate_interval])))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "D", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:time_to_first_token_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])\n/\nrate(vllm:time_to_first_token_seconds_count{model_name=\"$model_name\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "Average", + "range": true, + "refId": "E" + } + ], + "title": "Time To First Token Latency", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Percentage of used cache blocks by vLLM.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "vllm:kv_cache_usage_perc{model_name=\"$model_name\"}", + "instant": false, + "legendFormat": "GPU Cache Usage", + "range": true, + "refId": "A" + } + ], + "title": "Cache Utilization", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Heatmap of request prompt length", + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 12, + "options": { + "calculate": false, + "cellGap": 1, + "cellValues": { + "unit": "none" + }, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "min": 0, + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Spectral", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-09 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto", + "value": "Request count" + }, + "tooltip": { + "mode": "single", + "showColorScale": false, + "yHistogram": true + }, + "yAxis": { + "axisLabel": "Prompt Length", + "axisPlacement": "left", + "reverse": false, + "unit": "none" + } + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(le) (increase(vllm:request_prompt_tokens_bucket{model_name=\"$model_name\"}[$__rate_interval]))", + "format": "heatmap", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "{{le}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Request Prompt Length", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Heatmap of request generation length", + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 13, + "options": { + "calculate": false, + "cellGap": 1, + "cellValues": { + "unit": "none" + }, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "min": 0, + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Spectral", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-09 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto", + "value": "Request count" + }, + "tooltip": { + "mode": "single", + "showColorScale": false, + "yHistogram": true + }, + "yAxis": { + "axisLabel": "Generation Length", + "axisPlacement": "left", + "reverse": false, + "unit": "none" + } + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(le) (increase(vllm:request_generation_tokens_bucket{model_name=\"$model_name\"}[$__rate_interval]))", + "format": "heatmap", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "{{le}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Request Generation Length", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Number of finished requests by their finish reason: either an EOS token was generated or the max sequence length was reached.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(finished_reason) (increase(vllm:request_success_total{model_name=\"$model_name\"}[$__rate_interval]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "interval": "", + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Finish Reason", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "seconds", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "rate(vllm:request_queue_time_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Queue Time", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "rate(vllm:request_prefill_time_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Prefill", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(vllm:request_decode_time_seconds_sum{model_name=\"$model_name\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "Decode", + "range": true, + "refId": "B" + } + ], + "title": "Requests Prefill and Decode Time", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "rate(vllm:request_max_num_generation_tokens_sum{model_name=\"$model_name\"}[$__rate_interval])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Tokens", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Max Generation Token in Sequence Group", + "type": "timeseries" + } + ], + "refresh": "", + "schemaVersion": 39, + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "prometheus", + "value": "edx8memhpd9tsa" + }, + "hide": 0, + "includeAll": false, + "label": "datasource", + "multi": false, + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "/share/datasets/public_models/Meta-Llama-3-8B-Instruct", + "value": "/share/datasets/public_models/Meta-Llama-3-8B-Instruct" + }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "definition": "label_values(model_name)", + "hide": 0, + "includeAll": false, + "label": "model_name", + "multi": false, + "name": "model_name", + "options": [], + "query": { + "query": "label_values(model_name)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "vLLM", + "uid": "b281712d-8bff-41ef-9f3f-71ad43c05e9b", + "version": 8, + "weekStart": "" +} diff --git a/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml b/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml new file mode 100644 index 00000000..beb886f8 --- /dev/null +++ b/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml @@ -0,0 +1,19 @@ +apiVersion: 1 + +# vLLM's example Grafana dashboards, vendored from vllm-project/vllm at the +# image's VLLM_VERSION (examples/observability/: prometheus_grafana/grafana.json +# and dashboards/grafana/*.json), retitled with a "vLLM" prefix and their export +# ids cleared, otherwise unchanged. They pick the Prometheus datasource +# through their DS_PROMETHEUS variable and read the head's `vllm` scrape job +# (post_start.sh). +providers: + - name: vllm-dashboards + orgId: 1 + folder: vLLM + type: file + disableDeletion: false + updateIntervalSeconds: 30 + allowUiUpdates: true + options: + path: /opt/runpod/inference/grafana-dashboards + foldersFromFilesStructure: false diff --git a/official-templates/ray-cluster/inference/post_start.sh b/official-templates/ray-cluster/inference/post_start.sh new file mode 100644 index 00000000..22b4a6aa --- /dev/null +++ b/official-templates/ray-cluster/inference/post_start.sh @@ -0,0 +1,41 @@ +#!/bin/bash +# ---------------------------------------------------------------------------- # +# ray-cluster inference variant post-start hook +# +# Invoked by the shared /start.sh (`execute_script "/post_start.sh"`). Runs the +# Ray image's own hook (/post_start.ray.sh, renamed at build time: monitoring +# bringup and the Ray scrape job), then, on the head, adds a Prometheus job +# for vLLM's metrics. vLLM listens on 127.0.0.1:8000 with no key (the key is +# checked by nginx on 8001), so the head's Prometheus scrapes it directly. +# Until vLLM is up, the target is simply down. +# +# Never hard-fails the pod: no `set -e`, always exits 0. +# ---------------------------------------------------------------------------- # +set +e + +log() { echo "[ray-inference] $*"; } + +PROM_CONFIG=/etc/prometheus/prometheus.yml + +/post_start.ray.sh + +# The head is rank 0, as for Ray's hook; vLLM serves only there. +if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" ]]; then + exit 0 +fi + +if [[ ! -f "$PROM_CONFIG" ]]; then + log "note: $PROM_CONFIG absent; skipping vLLM scrape wiring" +elif grep -q "job_name: vllm" "$PROM_CONFIG"; then + log "vLLM scrape job already present" +else + log "adding vLLM scrape job (127.0.0.1:8000)" + { + echo " - job_name: vllm" + echo " static_configs:" + echo " - targets: ['127.0.0.1:8000']" + } >> "$PROM_CONFIG" + # Prometheus runs without --web.enable-lifecycle, so restart to reload. + supervisorctl restart prometheus > /dev/null 2>&1 +fi +exit 0 From cb468ec84c653348818a496e0b707dd22cf551bb Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Tue, 17 Nov 2026 20:44:14 -0500 Subject: [PATCH 04/24] fix(ray-cluster): don't log an unset MODEL_REPO as an error A pod without MODEL_REPO is an interactive pod, not a failure, and the GPU smoke test's log scan fails any boot that logs "error". Worded like start.sh's "JUPYTER_PASSWORD is not set; skipping JupyterLab" instead. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- official-templates/ray-cluster/inference/start.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index d87e9b14..f7330a76 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -55,7 +55,7 @@ Configuration, all environment variables: | Variable | Default | Effect | |---|---|---| -| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`. Unset: the head logs an error and stays up for interactive use. | +| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`. Unset: the head logs that it is skipping vLLM and stays up for interactive use. | | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | | `VLLM_API_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route except `/health` and `/ping`. With neither set, the head logs an error and does not start vLLM. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index f0d95275..58a9fe92 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -38,8 +38,10 @@ if [[ -n "${NODE_RANK:-}" && "$NODE_RANK" != 0 ]]; then services fi +# Not set is a choice (an interactive pod), not a failure, so it's worded like +# start.sh's "JUPYTER_PASSWORD is not set; skipping JupyterLab". if [[ -z "${MODEL_REPO:-}" ]]; then - log "error: MODEL_REPO is not set, so vLLM was not started. Set it to a Hugging Face model, such as Qwen/Qwen3-235B-A22B, and restart the pod. The pod stays up for interactive use." + log "MODEL_REPO is not set; skipping vLLM. To serve a model, set it to a Hugging Face model, such as Qwen/Qwen3-235B-A22B, and restart the pod. The pod stays up for interactive use." services fi From 4e50354878e6d5a9bbfc8b5b172075fc82a5dc74 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 09:42:17 -0500 Subject: [PATCH 05/24] feat(ray-cluster): serve the inference API through LiteLLM's proxy LiteLLM's proxy (1.108.11, the LTS line) now serves the API on 8001 in front of vLLM, which stays on 127.0.0.1:8000. It runs in its own venv from a hash-locked requirements file. The master key is LITELLM_MASTER_KEY, else the head's JUPYTER_PASSWORD; LITELLM_MASTER_KEY=none turns auth off. No database and no admin UI. The nginx front door is gone. The image also removes the base nginx's 8001 server, which proxied to localhost:8000 with no auth and would have exposed vLLM (and held the port LiteLLM needs); the build fails if anything in nginx still listens on 8001. The head's Prometheus scrapes LiteLLM's /metrics with the master key from a root-only file, besides vLLM's, with the raw-key `hashed_api_key` label excluded. LiteLLM's "Prod v2" dashboard joins vLLM's in an Inference folder. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 26 +- .../ray-cluster/inference/Dockerfile | 60 +- .../inference/config/dashboards/litellm.json | 827 +++++ .../provisioning/dashboards/inference.yml | 22 + .../config/provisioning/dashboards/vllm.yml | 19 - .../inference/litellm/requirements.in | 15 + .../inference/litellm/requirements.txt | 3122 +++++++++++++++++ .../inference/nginx/vllm-api-key.map | 5 - .../ray-cluster/inference/nginx/vllm-api.conf | 68 - .../ray-cluster/inference/post_start.sh | 24 +- .../ray-cluster/inference/start.sh | 128 +- 11 files changed, 4136 insertions(+), 180 deletions(-) create mode 100644 official-templates/ray-cluster/inference/config/dashboards/litellm.json create mode 100644 official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml delete mode 100644 official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml create mode 100644 official-templates/ray-cluster/inference/litellm/requirements.in create mode 100644 official-templates/ray-cluster/inference/litellm/requirements.txt delete mode 100644 official-templates/ray-cluster/inference/nginx/vllm-api-key.map delete mode 100644 official-templates/ray-cluster/inference/nginx/vllm-api.conf diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index f7330a76..54265712 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -45,29 +45,33 @@ It also logs a warning if the installed Ray differs from the version the image w ## Inference variant -`runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): +`runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0 behind LiteLLM's proxy, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): - **Worker:** joins Ray and runs nothing else. -- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count. Every node needs the same GPU count. -- **No `NODE_RANK`** (a plain pod): `vllm serve` on that pod's GPUs, without Ray. +- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on `127.0.0.1:8000` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count (every node needs the same GPU count), and LiteLLM's proxy on **8001** in front of it. +- **No `NODE_RANK`** (a plain pod): the same on that pod's GPUs, without Ray. Configuration, all environment variables: | Variable | Default | Effect | |---|---|---| -| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`. Unset: the head logs that it is skipping vLLM and stays up for interactive use. | +| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`; also the model name clients send. Unset: the head logs that it is skipping vLLM and stays up for interactive use. | | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | -| `VLLM_API_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route except `/health` and `/ping`. With neither set, the head logs an error and does not start vLLM. `none` turns authentication off. | +| `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 8001 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`. | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` is refused (LiteLLM can't send it). | -The API is served on port **8001** by the base image's nginx (`inference/nginx/vllm-api.conf`), which checks the key before proxying to vLLM on `127.0.0.1:8000`; vLLM itself is not reachable from outside the head pod. nginx checks every route except `/health` and `/ping`, so routes vLLM's own `--api-key` leaves open, such as `/invocations` and `/metrics`, need the key too, as do routes a future vLLM adds. The start script writes the accepted header to `/etc/nginx/vllm-api-key.map` (root-only) and reloads nginx; the shipped map accepts nothing, so a pod that never sets a key never serves. The key falls back to the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too; set `VLLM_API_KEY` to use a separate key. +The API on 8001 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod; the inference image also removes the base nginx's 8001 server, which proxied to `localhost:8000` with no auth and would otherwise have exposed vLLM. LiteLLM runs with only a master key and no database: -vLLM runs beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if vLLM exits; restart the pod to serve again. Until vLLM is listening (the model is loading, or vLLM was not started), 8001 answers `503`; `/health` answers 200 once it can serve. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. +- the master key is `LITELLM_MASTER_KEY`, else the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too. Any string works (no `sk-` prefix needed), except a publicly known default such as `sk-1234`, which LiteLLM refuses to start with; +- a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; +- the admin UI is disabled (`DISABLE_ADMIN_UI`; it needs the database), and LiteLLM uses its bundled model price map instead of fetching one. -On the head, vLLM's metrics join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds a Prometheus `vllm` job that scrapes `127.0.0.1:8000/metrics` directly, with no key, since only nginx's 8001 is reachable from outside. Grafana loads vLLM's example dashboards (`vLLM`, `vLLM Performance Statistics`, `vLLM Query Statistics`, from vLLM's `examples/observability/` at the pinned version, in `inference/config/dashboards/`) into a **vLLM** folder. `RAY_CLUSTER_METRICS=0` leaves the job out with the rest of the head's stack. Re-vendor the dashboards when bumping `VLLM_VERSION`; their metric names follow vLLM's. +vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. Until vLLM has loaded the model, requests get LiteLLM's `500` with an upstream connection error. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. -vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. +On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:8001/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. + +vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray, or if any nginx server still listens on 8001. ## Ports @@ -79,7 +83,7 @@ vLLM pins torch exactly, so the variant is built only on the Ray build whose tor | 20217 | Ray metrics (every node) | host scrape; the head's Prometheus | | 52365 | Ray dashboard agent (every node), token-authenticated | the head's dashboard, for jobs and logs | | 8889 | Grafana, token-authenticated (inherited from `pytorch-cluster`) | cluster owner's browser; map this in the Runpod template | -| 8001 | vLLM API front door (nginx, head; inference variant only), key-authenticated | API clients; map this in the inference template. vLLM itself listens on `127.0.0.1:8000` | +| 8001 | Inference API: LiteLLM's proxy in front of vLLM (head; inference variant only), key-authenticated | API clients; map this in the inference template. vLLM itself listens on `127.0.0.1:8000` | All except Grafana, the dashboard front door and the inference variant's API front door are host-internal: the daemon reaches them on the docker bridge and leaves them unmapped. Unauthenticated, the Ray dashboard's API is job submission, which is remote code execution in the cluster (ShadowRay, CVE-2023-48022). Ray's own token authentication closes that: the UI asks for the token once and keeps it in an HttpOnly `ray-authentication-token` cookie; API clients send `Authorization: Bearer `. Health checks (`/api/gcs_healthz`), the static UI and the login endpoint stay public. The same token gates every node's dashboard agent on 52365, which serves job submission and logs (Ray 2.54 added this; earlier versions left the agent open), apart from its `/api/healthz` and `/api/local_raylet_healthz`. The metrics port (20217) is not gated, so keep it and the agent port unmapped. **With `RAY_AUTH_MODE=disabled`, never map 8265 or 8266.** diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 4fb53b3a..36eafef0 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -1,7 +1,7 @@ # The `ray-cluster` inference variant: the ray-cluster image plus vLLM, serving -# one Hugging Face model across every node of the cluster, configured only -# with environment variables (MODEL_REPO, HF_TOKEN, VLLM_API_KEY, -# MAX_MODEL_LENGTH, VLLM_EXTRA_ARGS). See README.md. +# one Hugging Face model across every node of the cluster behind LiteLLM's +# proxy, configured only with environment variables (MODEL_REPO, HF_TOKEN, +# LITELLM_MASTER_KEY, MAX_MODEL_LENGTH, VLLM_EXTRA_ARGS). See README.md. # # Built FROM the ray-cluster target of the same bake run (the `ray-cluster` # context, see docker-bake.hcl), so it keeps contract v1 with runpod/host @@ -33,28 +33,46 @@ RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start -# The API front door on 8001: nginx checks the key, then proxies to vLLM on -# 127.0.0.1:8000. Spliced into the base nginx.conf's http block like the Ray -# dashboard's front door. The shipped key map accepts nothing; the start -# script writes the real one, root-only. -COPY --chmod=644 nginx/vllm-api.conf /etc/nginx/vllm-api.conf -COPY --chmod=600 nginx/vllm-api-key.map /etc/nginx/vllm-api-key.map -RUN sed -i 's|^http {$|&\n include /etc/nginx/vllm-api.conf;|' /etc/nginx/nginx.conf && \ - grep -q 'include /etc/nginx/vllm-api.conf;' /etc/nginx/nginx.conf && \ - nginx -t - -# vLLM's metrics on the head's Prometheus + Grafana: this image's post-start -# hook runs the Ray image's (renamed /post_start.ray.sh), then adds a scrape -# job for 127.0.0.1:8000; vLLM's example dashboards load into a vLLM folder. +# The base nginx.conf proxies 8001 to localhost:8000 (a VS Code server slot). +# Here 8000 is vLLM, so that block would serve vLLM on 8001 with no key, and +# it would hold the port LiteLLM needs. Remove it, and fail the build if any +# nginx server still listens on 8001. +RUN python3 - <<'EOF' +import re +path = "/etc/nginx/nginx.conf" +conf = open(path).read() +# The base's server blocks nest one level of braces (location), and the 8001 +# one is preceded by a comment line. +block = re.compile(r"\n[ \t]*(#[^\n]*\n[ \t]*)?server \{(?:[^{}]|\{[^{}]*\})*?listen 8001;(?:[^{}]|\{[^{}]*\})*?\n[ \t]*\}") +conf, n = block.subn("", conf) +assert n == 1, f"expected one 8001 server block in {path}, found {n}" +open(path, "w").write(conf) +EOF +RUN ! grep -rqE 'listen[[:space:]]+8001' /etc/nginx/ && nginx -t + +# LiteLLM's proxy, the API on 8001 in front of vLLM (which listens on +# 127.0.0.1:8000 only), in its own venv so its pins never touch vLLM's, Ray's +# or torch's. Hash-locked: every package is checked against litellm/ +# requirements.txt, whose hashes were taken when the lock was made. +COPY litellm/requirements.txt /tmp/litellm-requirements.txt +RUN python -m venv /opt/litellm && \ + /opt/litellm/bin/pip install --no-cache-dir --require-hashes -r /tmp/litellm-requirements.txt && \ + rm /tmp/litellm-requirements.txt && \ + /opt/litellm/bin/python -c 'import litellm.proxy.proxy_server, prometheus_client' + +# vLLM's and LiteLLM's metrics on the head's Prometheus + Grafana: this +# image's post-start hook runs the Ray image's (renamed /post_start.ray.sh), +# then adds their scrape jobs; their example dashboards load into an Inference +# folder. RUN mv /post_start.sh /post_start.ray.sh COPY --chmod=755 post_start.sh /post_start.sh -COPY config/provisioning/dashboards/vllm.yml /etc/grafana/provisioning/dashboards/vllm.yml +COPY config/provisioning/dashboards/inference.yml /etc/grafana/provisioning/dashboards/inference.yml COPY config/dashboards/ /opt/runpod/inference/grafana-dashboards/ -# 8001 vLLM's OpenAI-compatible API on the head, through nginx. Every route -# except /health and /ping needs VLLM_API_KEY (else JUPYTER_PASSWORD). -# Map this one in the Runpod template. vLLM itself (8000) listens on -# 127.0.0.1 only. +# 8001 the OpenAI-compatible API on the head: LiteLLM, in front of vLLM. +# Every route except LiteLLM's health checks needs LITELLM_MASTER_KEY +# (else JUPYTER_PASSWORD). Map this one in the Runpod template. vLLM +# itself (8000) listens on 127.0.0.1 only. EXPOSE 8001 LABEL com.runpod.template.variant="ray-cluster-inference" diff --git a/official-templates/ray-cluster/inference/config/dashboards/litellm.json b/official-templates/ray-cluster/inference/config/dashboards/litellm.json new file mode 100644 index 00000000..5b1b6777 --- /dev/null +++ b/official-templates/ray-cluster/inference/config/dashboards/litellm.json @@ -0,0 +1,827 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 3, + "panels": [], + "title": "LiteLLM Proxy Level Metrics", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Total requests per second made to proxy - success + failure ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 1, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sum(rate(litellm_proxy_total_requests_metric_total[2m]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Proxy - Requests per second (success + failure)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Failures per second by Exception Class", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sum(rate(litellm_proxy_failed_requests_metric_total[2m])) by (exception_class)", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Proxy Failure Responses / Second By Exception Class", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Average Response latency (seconds)", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "sum(rate(litellm_request_total_latency_metric_sum[2m]))/sum(rate(litellm_request_total_latency_metric_count[2m]))" + }, + "properties": [ + { + "id": "displayName", + "value": "Average Latency (seconds)" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "histogram_quantile(0.5, sum(rate(litellm_request_total_latency_metric_bucket[2m])) by (le))" + }, + "properties": [ + { + "id": "displayName", + "value": "Median Latency (seconds)" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sum(rate(litellm_request_total_latency_metric_sum[2m]))/sum(rate(litellm_request_total_latency_metric_count[2m]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.5, sum(rate(litellm_request_total_latency_metric_bucket[2m])) by (le))", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "Median latency seconds" + } + ], + "title": "Proxy - Average & Median Response Latency (seconds)", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 7, + "panels": [], + "title": "LLM API Metrics", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "x-ratelimit-remaining-requests returning from LLM APIs", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk(5, sort(litellm_remaining_requests_metric))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "x-ratelimit-remaining-requests", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "x-ratelimit-remaining-tokens from LLM API ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "topk(5, sort(litellm_remaining_tokens_metric))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "x-ratelimit-remaining-tokens", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 4, + "panels": [], + "title": "LiteLLM Metrics by Virtual Key and Team", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Requests per second by Key Alias (keys are LiteLLM Virtual Keys). If key is None - means no Alias Set ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 27 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(litellm_proxy_total_requests_metric_total[2m])) by (api_key_alias)\n", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Requests per second by Key Alias", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Requests per second by Team Alias. If team is None - means no team alias Set ", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 27 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.3.0-76761.patch01-77040", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(litellm_proxy_total_requests_metric_total[2m])) by (team_alias)\n", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Requests per second by Team Alias", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 40, + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "prometheus", + "value": "edx8memhpd9tsb" + }, + "hide": 0, + "includeAll": false, + "label": "datasource", + "multi": false, + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + } + ] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "LiteLLM", + "uid": "be059pwgrlg5cf", + "version": 17, + "weekStart": "" +} diff --git a/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml b/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml new file mode 100644 index 00000000..1267e3fc --- /dev/null +++ b/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml @@ -0,0 +1,22 @@ +apiVersion: 1 + +# The inference stack's example Grafana dashboards, vendored at the image's +# pinned versions, retitled and with their export ids cleared, otherwise +# unchanged. They pick the Prometheus datasource through their DS_PROMETHEUS +# variable and read the head's `vllm` and `litellm` scrape jobs (post_start.sh). +# - vllm*.json: vllm-project/vllm examples/observability/ (prometheus_grafana/ +# grafana.json and dashboards/grafana/*.json) at VLLM_VERSION; +# - litellm.json: BerriAI/litellm cookbook/litellm_proxy_server/ +# grafana_dashboard/dashboard_v2/grafana_dashboard.json at the version in +# litellm/requirements.in. +providers: + - name: inference-dashboards + orgId: 1 + folder: Inference + type: file + disableDeletion: false + updateIntervalSeconds: 30 + allowUiUpdates: true + options: + path: /opt/runpod/inference/grafana-dashboards + foldersFromFilesStructure: false diff --git a/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml b/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml deleted file mode 100644 index beb886f8..00000000 --- a/official-templates/ray-cluster/inference/config/provisioning/dashboards/vllm.yml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: 1 - -# vLLM's example Grafana dashboards, vendored from vllm-project/vllm at the -# image's VLLM_VERSION (examples/observability/: prometheus_grafana/grafana.json -# and dashboards/grafana/*.json), retitled with a "vLLM" prefix and their export -# ids cleared, otherwise unchanged. They pick the Prometheus datasource -# through their DS_PROMETHEUS variable and read the head's `vllm` scrape job -# (post_start.sh). -providers: - - name: vllm-dashboards - orgId: 1 - folder: vLLM - type: file - disableDeletion: false - updateIntervalSeconds: 30 - allowUiUpdates: true - options: - path: /opt/runpod/inference/grafana-dashboards - foldersFromFilesStructure: false diff --git a/official-templates/ray-cluster/inference/litellm/requirements.in b/official-templates/ray-cluster/inference/litellm/requirements.in new file mode 100644 index 00000000..0dcb4432 --- /dev/null +++ b/official-templates/ray-cluster/inference/litellm/requirements.in @@ -0,0 +1,15 @@ +# LiteLLM's proxy, the inference variant's API on 8001, in its own venv +# (/opt/litellm) so its pins never touch vLLM's, Ray's or torch's. +# 1.108.x is LiteLLM's LTS line. The `proxy-runtime` extra is left out (cloud +# SDKs, tracing vendors); prometheus-client is the one piece of it we use. +# prisma comes from the `extra_proxy` extra, see below. +# +# Re-lock after any change, hash-pinned for the image's platform: +# uv pip compile requirements.in --generate-hashes --python-version 3.12 \ +# --python-platform x86_64-manylinux_2_28 --no-header -o requirements.txt +# then restore the header of requirements.txt. +litellm[proxy]==1.108.11 +prometheus-client +# Not used as a database: LiteLLM's error handler imports it to classify +# exceptions, and without it every auth failure becomes a 500. +prisma>=0.11.0,<1.0 diff --git a/official-templates/ray-cluster/inference/litellm/requirements.txt b/official-templates/ray-cluster/inference/litellm/requirements.txt new file mode 100644 index 00000000..baf50155 --- /dev/null +++ b/official-templates/ray-cluster/inference/litellm/requirements.txt @@ -0,0 +1,3122 @@ +# Hash-locked from requirements.in; installed with --require-hashes. Don't +# edit by hand: re-lock as requirements.in describes. +aiohappyeyeballs==2.7.1 \ + --hash=sha256:065665c041c42a5938ed220bdcd7230f22527fbec085e1853d2402c8a3615d9d \ + --hash=sha256:9243213661e29250eb41368e5daa826fc017156c3b8a11440826b2e3ed376472 + # via aiohttp +aiohttp==3.14.5 \ + --hash=sha256:0133c3c3b54a0bf1e71fa5c1ad95c93f07fd54e24ef1fe182f5122e1573d2bf1 \ + --hash=sha256:038c2c7e8caa26b6c8423779b5eaf1893904048a512c19b32fe841ffa5592b50 \ + --hash=sha256:0684952aeae1f5dbfe02d46039338513b94009baecd15d8e4098a357c4c4a2a6 \ + --hash=sha256:0790ec66fa4013e83c53b9025a45d454723da1a2fce28b3208c9b32d08af162f \ + --hash=sha256:083673c7a94c3ea035caaa5ca04288bdb44887abfe1f5ba23294e6a4b03efd2d \ + --hash=sha256:09e0eb18c7e0c8777e2f9149de63799195b9b3ca1b5c81ba6f32f2c6b8628210 \ + --hash=sha256:09ec102b4b8c9a920275733bbc11fdbb615efe6f9231a06007c0218d336fb77a \ + --hash=sha256:0a8ea271867e360ac985ae607f4a23ad9a38414b9aca1d49ec98839ae660e49f \ + --hash=sha256:0e6f16f5e49c4b8267988c05ab07760d7064cea57d077c3d068d04b0fbb992cb \ + --hash=sha256:1061b364556e8172e8d46b0b183adeeb73e8c42d30ebc745591e1bd89acad52e \ + --hash=sha256:1220353657ad49493551f089ce02f1a348fd57ffd585bfec77f2f3c4fe3a7346 \ + --hash=sha256:137351bf20bbed9a65e839f4a4452ac377389bdb2f2857d2acffef38f5e9f2d1 \ + --hash=sha256:149fb56caf7acb67073126f675d0958d9c4b3125fcd3f6d4877df98aa8a97ce9 \ + --hash=sha256:14f04769cfefe4734016a856a83af36133cd17779cef9ae817f812b8ba9d6d51 \ + --hash=sha256:15a310d3c71398e3d7bfc93a1a73fbe664315cd9e9016b8efc1cff85eeab7155 \ + --hash=sha256:1612fa5857b37bf32e5c1eaeefb96e3b01e9c70679eec81f0934e8a600080863 \ + --hash=sha256:16c8abd5bca220a47efe667d26f8460124c81810787e79ee87b242677563d9dd \ + --hash=sha256:19e2ba471507c34f8252402ab50f5ab512398b9ea8c8f1cb26beb3f75793ba30 \ + --hash=sha256:1aead151c3abbac6b32942e452020cb66d7efc099d253cc6c20f748e926c858b \ + --hash=sha256:1b438b73c38111818d0c9d6a5c2bfed8584c8e503a49ef085d70e874ec846738 \ + --hash=sha256:1b5416552740edf07234cc9437d0706f2acb67b93c198670b1a68e1b2b587dec \ + --hash=sha256:1d2d981b53dd09a319e3570ef8cc3bbc3ef86f5a7abef0f6b2bff3867db3a9e7 \ + --hash=sha256:1eb8167961ec4dfcc8cb9dd50bd0ee72519f7ef496be95203e49e27b01618382 \ + --hash=sha256:1ffa3a523a36d8628f98c06492ae16a31a23d14c0b4ec721757b477319f656d6 \ + --hash=sha256:20064a177a070d789ee64a50b01a9161d3468e989baacfc6c714aa685c4b332f \ + --hash=sha256:20726f9782d5c2744c1c66255842d1d163bb3edcf768b8de25216bf47f7b6ccf \ + --hash=sha256:20f085697d7e911f1f73c43ed03fafbed1e7121797e2eb5428efa80398060584 \ + --hash=sha256:225c579c23b68b343cccea27a7e06e3bd8ec23a09c30b427eb3f1e4ca6239b20 \ + --hash=sha256:24409db442e2fb6e766bc7f3943851a8381dec3098140e43bb2e843b79e31b12 \ + --hash=sha256:248d779ad720b49d4fb355720e60c9e5f444f95887bc16974fea48fc56c41789 \ + --hash=sha256:2528cb4c6b92008c76ac9ac6298624069bb2db91ff4929905512d1d84485f658 \ + --hash=sha256:276a4fc00b1d9ae492b802763a789c5b86328b989c5ea169f2faa447d6a11c7c \ + --hash=sha256:27c2322e03f66101acb09869ce1cf1efc04994ee95e1735b69827bf8c8b9d781 \ + --hash=sha256:293d3ae7c6a0ed176a42e59a1b5fde825ead65c835360f734148e96729f928d2 \ + --hash=sha256:2cc38a4f2b516bef1714e690df87a0e043faf1a7693c82d860091684453d5111 \ + --hash=sha256:3093b72c215bda16ce961a6d073f6e71d46e022962a9d5d457c5d4d421c78b57 \ + --hash=sha256:32e8fa6644e541fcd7e02430588c7fc93b602c1778ea0bc345505db76b61cfb4 \ + --hash=sha256:330900acd0dc4cb8b27f9c127fbaad770964845338493e7906ae3822e82dbf8d \ + --hash=sha256:33f706574e32c6e694f352a856e05caf18f7f2c871b3e87b41c55ea452b409ab \ + --hash=sha256:3ae800a20947e2c2e53088047d021e6bf7d51560cc49f6a0737a1f79d2e3a13c \ + --hash=sha256:3be7dd397d64ca3e1869626fa9318aaebb54b7bf93bc72d7a205448d83e4f748 \ + --hash=sha256:3e0eb43bed3c6801a6cee315195377789e90b2a72c2277a475b578535312488d \ + --hash=sha256:3e51a27980c3788e6e6b3325d694fdd4898087fa8a86b2763af77b39353da41e \ + --hash=sha256:3edbece0379b8b4aaa67619b8aa2399bb66fce372cd5911098a434ea77220aa0 \ + --hash=sha256:3f2dcc00191fd563e9075181a14ec31d7dd63223ced7582cc70a15a499de0c79 \ + --hash=sha256:42b5e616946dbaf505e2bff18c9af2cd4ef9e7ef300ee58a6e951a5b7cf147ae \ + --hash=sha256:42f320d4a5b00b9af0bddcfec5407dc6f2d9816f006b2f79ebbaa31f16895df3 \ + --hash=sha256:43351bdb5e4c3cb7d1772368e988534e869a74db7778079a83782c11c69535c7 \ + --hash=sha256:43e1b7994a8b038125f722bff07492ef501110722c2727c408995d9fb864c421 \ + --hash=sha256:4887d130a7bbfed3a85493bb5a25e5b5b558d40c1d986dd16970d2bb26d63793 \ + --hash=sha256:4f07fe3ac408d8b3f768be471dc3f56d43843c47d97c66120534467a15ead197 \ + --hash=sha256:50343c1757b4b6f6708eeaf24534b32f19dfb99fb1b762c00420867a62fc81e0 \ + --hash=sha256:50983e3be33d8c0942ab88cec3905b10602f64c469b20153c48c5d4e558dd016 \ + --hash=sha256:50a195903119008fe9cc68710535eb37f556ffffd6a7759afe70a2c145587045 \ + --hash=sha256:5558a7f5a05af9ecf744af91e5baefc436f93c9333e656c27ec253f9a6bbe178 \ + --hash=sha256:56572c42e3ecd636de8d2c3dd54cf5fc939cb5c32eb56297f176a0d366fac622 \ + --hash=sha256:56d9828f204331a5ca8850fcfe2bcce95a149f1f223f60cc7216e5524978e480 \ + --hash=sha256:579f97d5120f2971876d2ddca2968135f6944d00c44c3a6590ad7d86ca9b403f \ + --hash=sha256:5af42135fdfebdadbc2bcd9c0842a48ccf0d62794c36a260b21dc4b94d1e0119 \ + --hash=sha256:5ba14a839fbe87cf7c12a6b5661c05f324a296eb8363141edb3944ba63d4c9d3 \ + --hash=sha256:5c76f1802bab718a68ac3cce447160605c734551f95c67ae90fa1132b215cb29 \ + --hash=sha256:5e8f97c0488ffda3082766ac0f2c8150a9a58c4d05788330e479cfd449b37939 \ + --hash=sha256:5f3e96071686755d9cd3600c3880183eb94b012178e92746d68101800f0ed8a3 \ + --hash=sha256:5fb6a6e919bfb703227bc1ce6579281b84b1a2ba57deb9794dfdbec7dcd1e40c \ + --hash=sha256:602c1e9b718a3275c580149f947e7fac65044c0a20e599553fb12e9700da9eca \ + --hash=sha256:657291433bf4dd3142f3abac495764cd47d0c7c92087751e6666c6447e65fcef \ + --hash=sha256:6774814fd5c338e72ee0da5cbb9432816df450e69c019f72b5d29bdec2a1792d \ + --hash=sha256:6da32b5ff3fd78d244e37300463434c7145162bfd2b6e9e915ab164da37f7343 \ + --hash=sha256:6e1d8637cf73eebc92eba2e11d4cfff98a3b562f2505bd75bba766d908926e8d \ + --hash=sha256:6e4251c0ba4624a68a2c11471a1ac54c3306876c21f0ae86de085cc9241c8905 \ + --hash=sha256:6f275c11d1aa6d4c458e05a68be084efe3c55a113d99e3f46a318098e52948fc \ + --hash=sha256:6f967dde489ca6a8c02d093ab245d2cbf50ccb5c36adf0188b17b0ca39d24b67 \ + --hash=sha256:6fdcd6af7e2e51d1ba1b4bea16e97b074bcb7b5dd0246a9d8201341bb28085a0 \ + --hash=sha256:70cb4008ac2ed1e0ca9e824deb4b53d3aa0d939109698ebf1e723a84337bd794 \ + --hash=sha256:7457580535e019e1247ea35d6a02bf081ad30c26d0cbc210c93f6c3ab67a0835 \ + --hash=sha256:74b0a9c8270f9b0a11410e124ff8d4f18bfc1f1837440ec84da5ae7b50927b5d \ + --hash=sha256:74efb69332b85675b1eabd760a8cfc2e2cf42c60607c66f88014c1bdfb40942d \ + --hash=sha256:755933b107ea7a6a9ac916f635a70595a5b1a32fac10a8ff0b9f2ab88555550c \ + --hash=sha256:7779cd97e61ebe583ec2f1c5616cdd038aa08a4453b1848c67842176d054948e \ + --hash=sha256:788ecaa9c10533b786ce5ba70c4f2df78ad41819fd00a6c99d92b66f9a32e1da \ + --hash=sha256:7bd8ac754ebd6733a3e2a0dd1674c4d8ab086196803fd8dcd776f07b4e2607d9 \ + --hash=sha256:81c2b3dfd56c62bee6108e4852d5970b4cf9086390b6983f52b666e878c1f115 \ + --hash=sha256:823c910f046f23f4c713b8d99a2242dc65f591cb45ee86418fa11762a3c2963c \ + --hash=sha256:82c7583cd3dfdc7dcc927835b4f6c7faae7ecc1ba3ca5879321621ae2e6f8e84 \ + --hash=sha256:8966ecac808dd5f473c9c4cefd10cd3ffda71c18a4d3493b7c7d2ae1803bf2cc \ + --hash=sha256:8df7d481654ac96fe1ba9a02a9f67770fdd367823e0d5ef01b922725c4bd2cfa \ + --hash=sha256:8e317e0fb6b16212c881d2205a7d87414c29acd69320b3aa6dce9d9c7b86fe4f \ + --hash=sha256:932ce7e694bbc29b2bf6f64f2343c27d148d4997c771d01bdade4639b6749ff4 \ + --hash=sha256:939042d5cda21d41a6f512e7cc8b8e33a2aebff863352251da495fbd91b673b5 \ + --hash=sha256:94684b879ac1d71e4238850c99b62dc1b28d9086b156a2555f082010b85a865c \ + --hash=sha256:96a2e584f0b9ed8f1fa33211397dcf67bb7069866402cb405d191c2f0defb9a3 \ + --hash=sha256:9ad7e6aa38c20da1be697874349c4c273c8a03b7887169665081706398d0439a \ + --hash=sha256:9b42db919715e91eb76acf3bc492a9a7ccd8bd9adc6745c1412b689735269f14 \ + --hash=sha256:9bab2045550c4fe0f7baf89574db1b455c195750702ba96fef1f16972b146617 \ + --hash=sha256:9bf1d5dcc15204d9ec8b8ea4c18fd66e6b80e5de1f4ecbafb3a2f2740f8039d4 \ + --hash=sha256:9c061aa954daaf57d2a4b8374f9fca621ef0e1b603584431c220c22458c59b6d \ + --hash=sha256:9c428eb2bd8817588d16a0ab898aa4eb5d141f896aa2b394cc79a4cf61d9a8e2 \ + --hash=sha256:9cc882cf8619109583c906b4d4a85d6a111a98afa34b7a450d1e08118d016820 \ + --hash=sha256:9ce66feae6ac65327379460380549bf1b8df8e17c4e25df2a2bcf168272e3bed \ + --hash=sha256:a23fe35d776bc03cb495938b9594450d047e3bc08c5255315a82323e9cb7d2dd \ + --hash=sha256:a2c473a355f9239efcb72c92d5abfd8fcdb0cc78c8e9af607e72ca12dbb36593 \ + --hash=sha256:a63afd1f757de949028387e65a7127b61ad0f775432dbb0e62816ae619fe69ac \ + --hash=sha256:a6d02b4c38de03d9c7617813433e6a0fb6b522797974177d69d9dad431900833 \ + --hash=sha256:a7d470cf7b206e6359fc77b1b860632fde400d5a2ed59cd0181b93a686bc81ee \ + --hash=sha256:a95529a92a446db351675f4aab518feaf5e99842f63f5dd17160c2b74f382db3 \ + --hash=sha256:a9918e58faf62ba2c7147927d06057aec78f42475aff5048047ec47e7265a600 \ + --hash=sha256:a9d3983bd6ab7aa1cfd573544ae98df9b6cb6912a5185a198263e024a636861d \ + --hash=sha256:ab52d8f1fc1b64821c1fbad64a647ed6203627004059a6d1ed4f0858a1499703 \ + --hash=sha256:abfda5cb094a829f7bc25216a32f7db2e85cc65bd59910f8e7b40b3d9b224764 \ + --hash=sha256:adbeee7d6fd4cf5fe0aece2fb3edc4243615d3180430ba8149d01a90670cac99 \ + --hash=sha256:ae53924aa853a7a2ca20ed4142c7c6b56338e4d4cd999e2980075b9efc2e257a \ + --hash=sha256:b032a0023eb41d768ce77d83210ab2a3c389bc0b09313273c7e1eca48c10a755 \ + --hash=sha256:b1b8ece1e71132d2afba4dbc0c3d62c766e25165990b25db1196c04969eb3d84 \ + --hash=sha256:b2966998927d7bed9db12c0a4647b0c7b179755878fc9c357fe1ffd3e3b0c1a5 \ + --hash=sha256:b3cc509327c7b27f6f4727a8830f4004f6df7766e179f2f4b8e54e65c0bec5d3 \ + --hash=sha256:b7806e804889231b0e06469fd4a5c06313d1c0a3377322b6d9237fa5e0fe4167 \ + --hash=sha256:bea559ad70218d230663e4210875735076a9bfea5994cef34a55a25faeaf2544 \ + --hash=sha256:bf163cc701f3d4ac43ba7d97771bf5fd955220ef5500ef3ee847bc0ecfbf4ec1 \ + --hash=sha256:c147451b4a58e7050f7f7394e6c467867c84161560001f9ad4fb2d1446743946 \ + --hash=sha256:c172db893e516e1358e65a95ee20b7ce7173963eefe318b6ab2a2220688b999e \ + --hash=sha256:c1d60eafd9c7e8e74abd03a5b00df44e7febfe6d9b89b559c0a6551eef0699d4 \ + --hash=sha256:c2c30484dd1417ef98b51021ffa2cc0d7f3c78918adaaaab7e70817335ab3e02 \ + --hash=sha256:c32e26310cc10e547f53cd13d39a369034f69dcb7d749d5cb0e5f67bc196b6ba \ + --hash=sha256:c5ed596aedb9c42afd3fe0aae3117725378ac73d2cc5ddc735056fbdb96c5d02 \ + --hash=sha256:c8859a013ae0de1074660992139a1a440df3e6b219b86cf0d3f11c2692bb4fe3 \ + --hash=sha256:c8c4478bef6d57fcfda15dae461ea3c9f06aa7b257c58df3f2300174ccbb185a \ + --hash=sha256:cb11a971a3aea10f9b8373be628f1df932964fc6c6b174516d318a48c3ac4412 \ + --hash=sha256:cb131d775a1573c1aee66656bd78b023577bbdb6cb8349a07773bd4f73e68a6e \ + --hash=sha256:cd88b01f3d37b7a2a34f91d98f14720206f1ea3d540843fab2d649dd5fb91fec \ + --hash=sha256:d05e94cdfe0d15d0206f970722d2554780ce562787b21b218b275447f8751319 \ + --hash=sha256:d079c0a0135c36e7beb6f1c88087c8f108dc5891cdd0b5eafa778421bda70ed2 \ + --hash=sha256:d3112585250b199296c26ca6e0131640b6a8d01bab8b232d2eb3763ed469de11 \ + --hash=sha256:d418ce2af40c6bb685b3f663e9e8de27cb0a22431d8e88a167348d7f01878073 \ + --hash=sha256:d51db97c96384fbfcaf8f4c65922183a68b94f891c3c10c862ef5f6df2adbb1f \ + --hash=sha256:d94e44be379e569758fee8a9a58431cfc3c2598c708b92b1cfe96c66b4c94aef \ + --hash=sha256:dab9ac5a67c8d1f070c00fa8fccb7cbd1b8dcc1a8d6b42f37540df9b3d4cc603 \ + --hash=sha256:dbf53ae2601b7fd5a93c3944deea3a78d40f495226d582c35ef7a433425ce2b2 \ + --hash=sha256:dca3fa8d8a0a26679862eccb0b1a9151b2b9f1cd2c212e7a6335778faaff5833 \ + --hash=sha256:df37b620684e19b5e25724412518ccafc3b1a49cdac706fdbd2f983fad943450 \ + --hash=sha256:e1cc2bfaee8c214f06080a7c7d5772419b8a1108e8e5349236189811823fb02a \ + --hash=sha256:e29347c142cf6e99e0dff5e2995ead1d50fa3b51bf37a7c726a7ccfe5419745a \ + --hash=sha256:e4f5cf4dc72a71c4cfa9751b4950be22f733626670230d46e7d606592aa22d59 \ + --hash=sha256:e724a7b6091f0b1ac064f9d1b15ff9ec52e6033a86cdae649e5f086e32a3c0db \ + --hash=sha256:e87046c8ff77a8decdb6a41d8ab25824b47531b2da933aeab0c1e21c7acff329 \ + --hash=sha256:e95c8def4b81c5d68d5cf1f54c07acd7c0d2577af244e5b6da802120825737c6 \ + --hash=sha256:eb324e2009fb54db30a071dad7caf6998ee2879c4704007efb244514dad1fec1 \ + --hash=sha256:ef60869969180ec2464f1349aff07138ae35ca2200f0946cb3552e49e8f301a8 \ + --hash=sha256:ef692a24087a699c0a4a26af45e746e0c1eae2116f6d8a5ff91d8aae2b867b45 \ + --hash=sha256:efc21a454892828368b11c2c780de0ff8bc991f73f6b99c6b66e56205470929b \ + --hash=sha256:f001b571ead90ca1770f1e616db255351a1703317f20374c361ef22f12c06d09 \ + --hash=sha256:f2a7966bda23dd85051f1661ce0ace38d6890e05ec6c357ecae9d2479cba377e \ + --hash=sha256:f2ebb54b3f932210503072f09974b4fb574d823e497a944adfdcd140a6a00255 \ + --hash=sha256:f2ed8b64dc0c651c0f5a9c926777719770021251b8f336d97c4b80b660836ce1 \ + --hash=sha256:f375db73a39f5cf83696d500e21a67f418dc9a988955756f254be8f03b7b3651 \ + --hash=sha256:f59c7673465908cbe506117176156c127f29f917677afceada34957179221d91 \ + --hash=sha256:f8d40ce41991e9d56fab4f5dc4a51fe59bc3b5c77c27f4b148963064d00232e8 \ + --hash=sha256:f9033b43f511f27547c557dcaba0177649e10a3725336ccd2cce0fdc1dc4850d \ + --hash=sha256:fba47bc2c3d7303c3d027c6cf4d07626c37b1314ac81f5820c31032e0ca1f677 \ + --hash=sha256:fbdc5ec49f9ca3cd24955cf3520b10a4d4c901ba2572094c84274e9e7eb30534 \ + --hash=sha256:fce9523df31cea6284f3e2c479876750d7687cf671d7b25d32b19effc0e86441 \ + --hash=sha256:ff75a7537413a86e7cafe98e0e1d6e3dc4b15c6349896e7d5c6b881bfdb6d550 + # via litellm +aiosignal==1.4.0 \ + --hash=sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e \ + --hash=sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7 + # via aiohttp +annotated-doc==0.0.7 \ + --hash=sha256:0a30ef8f5322a4173720ae6712dc9a5e58f5a19868f3f167b4b5778db066c2b5 \ + --hash=sha256:6bc31bbbec6dfaaedc1676dbc11dbda96fe22a2b5c400e9ebad113fec44a9dc6 + # via fastapi +annotated-types==0.8.0 \ + --hash=sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7 \ + --hash=sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0 + # via pydantic +anyio==4.16.0 \ + --hash=sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb \ + --hash=sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026 + # via + # fastapi + # httpx + # httpx2 + # mcp + # openai + # sse-starlette + # starlette +apscheduler==3.11.3 \ + --hash=sha256:bbeb2ec02d23d3c06a6c07ed7f0f3939ada6680eb121fae809a69bb42c537a30 \ + --hash=sha256:cd2fcc9330039a81a5893472ad49facf23a6d5604cbe1d918c835c6de7834d5a + # via litellm +attrs==26.1.0 \ + --hash=sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309 \ + --hash=sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32 + # via + # aiohttp + # jsonschema + # referencing +azure-core==1.41.0 \ + --hash=sha256:522b4011e8180b1a3dcd2024396a4e7fe9ac37fb8597db47163d230b5efe892d \ + --hash=sha256:f46ff5dfcd230f25cf1c19e8a34b8dc08a337b2503e268bb600a16c00db8ad5a + # via + # azure-identity + # azure-storage-blob +azure-identity==1.27.0 \ + --hash=sha256:6a4c50e25e8e9a47b324a95ad024897e56cb3c6241e0094e93b126a2bf71edc5 \ + --hash=sha256:92fd2a93c0d2f777dac6c04e5fd7d5734f6643582b983544ef66b4575844e46d + # via litellm +azure-storage-blob==12.31.1 \ + --hash=sha256:0d6e5b860a1357efc602db04cfa7c9950ac86126edcf7db89320cde281555fe5 \ + --hash=sha256:9e012d5f4ab658b7cb8a4581329d7a7aa2bf5f39b4d63baeefaae7f9e90fe6f0 + # via litellm +backoff==2.2.1 \ + --hash=sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba \ + --hash=sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8 + # via litellm +boto3==1.44.5 \ + --hash=sha256:667b344e25d2bcbb7c42fcf6b92a07bb1d73ee9d6d12c3a7873ec4c490b6fb64 \ + --hash=sha256:70c3e0409794b29ec1900bcaff0695b73234a2d32ffaed35045b94caa26212a5 + # via litellm +botocore==1.44.5 \ + --hash=sha256:8f16a56d1dff125dd65322ae021efa7ba5195a6db5102b96862566055b748921 \ + --hash=sha256:a988f39e3a4484def0b8010f41128f71157da0515a4804fccce4739aa8f216da + # via + # boto3 + # s3transfer +certifi==2026.10.23 \ + --hash=sha256:a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd \ + --hash=sha256:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1 + # via + # httpcore + # httpx + # litellm + # requests +cffi==2.1.1 \ + --hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \ + --hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \ + --hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \ + --hash=sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0 \ + --hash=sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6 \ + --hash=sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971 \ + --hash=sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c \ + --hash=sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d \ + --hash=sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9 \ + --hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \ + --hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \ + --hash=sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80 \ + --hash=sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f \ + --hash=sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1 \ + --hash=sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29 \ + --hash=sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8 \ + --hash=sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c \ + --hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \ + --hash=sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48 \ + --hash=sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813 \ + --hash=sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac \ + --hash=sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632 \ + --hash=sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6 \ + --hash=sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1 \ + --hash=sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659 \ + --hash=sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688 \ + --hash=sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004 \ + --hash=sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0 \ + --hash=sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062 \ + --hash=sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779 \ + --hash=sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94 \ + --hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \ + --hash=sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab \ + --hash=sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac \ + --hash=sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6 \ + --hash=sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676 \ + --hash=sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1 \ + --hash=sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9 \ + --hash=sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf \ + --hash=sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13 \ + --hash=sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e \ + --hash=sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e \ + --hash=sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973 \ + --hash=sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527 \ + --hash=sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72 \ + --hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \ + --hash=sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c \ + --hash=sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990 \ + --hash=sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd \ + --hash=sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9 \ + --hash=sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94 \ + --hash=sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3 \ + --hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \ + --hash=sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41 \ + --hash=sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5 \ + --hash=sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c \ + --hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \ + --hash=sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4 \ + --hash=sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e \ + --hash=sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6 \ + --hash=sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98 \ + --hash=sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b \ + --hash=sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1 \ + --hash=sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03 \ + --hash=sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af \ + --hash=sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231 \ + --hash=sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2 \ + --hash=sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3 \ + --hash=sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836 \ + --hash=sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5 \ + --hash=sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399 \ + --hash=sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96 \ + --hash=sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e \ + --hash=sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be \ + --hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \ + --hash=sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc \ + --hash=sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455 \ + --hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \ + --hash=sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12 \ + --hash=sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b \ + --hash=sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7 \ + --hash=sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692 \ + --hash=sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54 \ + --hash=sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3 \ + --hash=sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b \ + --hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \ + --hash=sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d \ + --hash=sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358 \ + --hash=sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a \ + --hash=sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7 \ + --hash=sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc \ + --hash=sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960 \ + --hash=sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125 \ + --hash=sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb \ + --hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \ + --hash=sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa \ + --hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf \ + --hash=sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3 \ + --hash=sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4 \ + --hash=sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264 + # via + # cryptography + # pynacl + # pyroscope-io + # soundfile +charset-normalizer==3.5.2 \ + --hash=sha256:01077390b03f7988f11d700a2194e69b119741a86b1a638b1db88891e3eced8e \ + --hash=sha256:01b0c0d2262a9e28e8484a278c7e1b5d650e3ac8cf2683d2967e25899f208bdf \ + --hash=sha256:04851f73ae72b8413dddadb16a49dfee95263553741fd42d546f7d66907e6be5 \ + --hash=sha256:0521c5665880b33d603717defa76c094048900010897909952397feb3039da56 \ + --hash=sha256:0774bf9bf620249fee3e0b8b9fd3065de213be30f3aa94ce2494b3b638949e26 \ + --hash=sha256:0891b9d3903c5571c03771ca669a4b0ec5618ca722a5c957d3d29cd4e5062848 \ + --hash=sha256:0c951d5e6dd9c2ff60609476752bee49da4206adde960ebc247766937f72e718 \ + --hash=sha256:0fed1d06615f022ee3b13caf5e8b180cfea32bb2c5aded8a9d44277afc040f93 \ + --hash=sha256:114e4d0c92d618409ed82a99e22b5c5e768fe995f2973f78265f4524f49d4640 \ + --hash=sha256:11912e4bb14baae7c5d8791aa55ba0a3a03ec6729073307b0f57270abaa713d3 \ + --hash=sha256:11a4d68a6ecda3292cb1e50239e111543ba5d709bb62a6b4ea1afcfa729d8875 \ + --hash=sha256:124fbf1a8ff966d87ae05bb8bd45a71f966055ed8bba320d0c7cf450bc5f4d0e \ + --hash=sha256:1461ac396c4fdb983a675f20aa555624f0ee18ac83d832b9244ffff3d8055275 \ + --hash=sha256:1503bccbeb36d5527790c3930327704c39af22de3112f1b1666a9f3ce15ee204 \ + --hash=sha256:15bb4005af6320d259dc7593ca84a38d7fe06a421dbcf7b910ae23979101e787 \ + --hash=sha256:15c44f7edfd477b06f517a5cc317fc1707edb9de2c865f43d4b6513907473234 \ + --hash=sha256:16fa0eccf81304b79c5cd87f9271c3b85dd9dd99245e4422ae9c0dd45e0f99d3 \ + --hash=sha256:183b88127acdb4fabe59d951ab424faf1af7b63cdbb5f776186c1ea2ffcaed98 \ + --hash=sha256:195c26fb65950f8fce54e26349852b7bdd7c5f120aeefbcc440b8a20faaed4a3 \ + --hash=sha256:1afb975bd5d68d5ce9f6b6d44fdf2f7e34b895a35e95708a7a91b20a3b51d187 \ + --hash=sha256:1b4cbc7c3491ccb4aa17fcd8165649d01cf39f76de1696da8631b5f71b85401d \ + --hash=sha256:1bc0baf5ef96b6ede57d47f4b8fe4d9d84019c3bfcbeb20a41edc6a6ee341f1f \ + --hash=sha256:1c50fe28bbc2ced33386f298650d91218076c05420e6cbd790b913adc41659e7 \ + --hash=sha256:1db38f4c5496827c1a501846d64d14c3b80c7e6714e406cd7dc36a9899fa1011 \ + --hash=sha256:211d5a3eb6af8f513b8d4ca19a8c1b7accab1b5f0d3175f9826b03c1a920dc1f \ + --hash=sha256:23851fb4e1b85ed3f6c2a27b777cdfe2e19fb5b38429a8faf38c7542b7665869 \ + --hash=sha256:254eb48b9fa5ee9898a3c445825a1f340fe53712a098904b39b0bddba8ea3cb1 \ + --hash=sha256:2625388c6c754520c37abaf3b41eb34d1cc4a373f457898f08606c8e362b891d \ + --hash=sha256:281cb91036248400f4cc957495cccd44c275c2e0c5854f7e45ac5cf7dc193847 \ + --hash=sha256:28a15fdad492a99b6eccfaaed66ef3f74050680545ea61ec8b2f4c538f1f1320 \ + --hash=sha256:28b4f0d66fb834ff90f28209ac7bce77868c45d8c93e26f906709d9b7c2e1af9 \ + --hash=sha256:2a925889534b3748302dae5dead07cc13480de1dac3aea80a941b729b471ef93 \ + --hash=sha256:2b7b3bbfb4fe8ef40600792d762fbaa9057559f9d3fad209525b7a22b99e91fd \ + --hash=sha256:2c9ad19a6cfcd5ea5c0d41161d22f9df1dcc277e9bef2751391334546a314c00 \ + --hash=sha256:2cc961b171b3f3440f410489ab3573e86aea8736134ebbb40ea1338b7f0831bc \ + --hash=sha256:2ce45c6627b22c47e390bc91a41c3d13032192e699fa0bea96e9671b373d69b0 \ + --hash=sha256:2e06a3a98f916dd41d27f3105e02e7a40181c98c94b9158733d03a6f80506c09 \ + --hash=sha256:304d5463e65a35d7bb0850550e0780395395f6fcf452f04db7d5ca7cecc425ac \ + --hash=sha256:304d8e4d493af723536393eee0c689eb7813f4a474c8b479dee63f1fdd98f621 \ + --hash=sha256:30fcd120b732aa79317f08dee04d7de0847822e4cf7ee0e9f445bb958832252c \ + --hash=sha256:31f3930700408d211f13378ccbe1c40845d8da54bd0681fac3a9b5aae81c7aa8 \ + --hash=sha256:34276fd796040bf0993ab33a369aa572e6979c7aab225a88893667ad8eac8f7a \ + --hash=sha256:355ad8011081dec5412240c087a9a0c9d4d5039f3ed11a3f13e18c2b29b56c51 \ + --hash=sha256:38a873987f3be698494da8b2e3085e29da02da7b633dce73e79c699a113d7bf0 \ + --hash=sha256:39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef \ + --hash=sha256:3d14b50de6bf4d0edf857a9386836846f982b8f524e188e2e68b96d702bcf4aa \ + --hash=sha256:3d21b8b13c7592db2ac5e544a6d83187b995257472b0c9e8351b6d507ae37ed6 \ + --hash=sha256:3d31298449090ab8d47b7b1b2a555ff73cac7ed438a08b7ac160980c7ebed649 \ + --hash=sha256:3ddacd27458c45bdacd6bd6db644bfb730efbf9e830310186e3045c9c5be8fb2 \ + --hash=sha256:3df041de8887954562c9b261cba85ca0e9ded74048daf125f45edcfaa4832229 \ + --hash=sha256:40ab6bffa02ae10a0581e6c198be7d2d8ca5c2a0c64e4ed3465d766df457573e \ + --hash=sha256:4275811936e2f06feff5e598fb42a1b7ae852da8e39605211892b56b81a34efd \ + --hash=sha256:443eae2bf318abeaf6f15d785138f71fd6de770e99a92158b8b814265e079115 \ + --hash=sha256:447441e76ec720b15e64418d32e092297340387053047c7c694f579efb0ee1d9 \ + --hash=sha256:4495c5002a7b28557e7e222e77e0b661183e432b7d6d2e788101e3f240e05b8c \ + --hash=sha256:44bd4fbb29dfbeba60e7d2bd000c59e4b21ddb3cc53912b14048d37092706d7c \ + --hash=sha256:4685902cf26edf013ed7a3da0f426ebba7a00ebb9541386d835afbf002c11cab \ + --hash=sha256:498dc3188ca05a68231ac3fdbfc7f57eb67e1343c30e0fea17f8218c1599b253 \ + --hash=sha256:4c2b5031f63e331e3839b40aed2dd6f191e9c07edbde303e7876846ea1946995 \ + --hash=sha256:4d48f2d08b9de5864e2c8744d4461b862fb149a18274abc8b698c45975573438 \ + --hash=sha256:4f87960d57feabfb618e4e0af6e7371645fa26a277860739d6e5d6e0012c92f0 \ + --hash=sha256:50e3adfb96fc189eb27b1cf62d3b598b89b4bb0420d93a3d3e42e137409011be \ + --hash=sha256:51cf45226a9b588d0d2b4880c62d686934b63ab0bd79ca23ab0e9762eb27441b \ + --hash=sha256:52aa6992700996af31f375de0c6bacd402b0097fe40b53c426b9f51a90ebabc7 \ + --hash=sha256:55ea99acb17b9325618de155a0cd6a2e8f5d10be008113e1d433bbb58db543b2 \ + --hash=sha256:56bc200a365efb37383b7852e4cc5898d3b2da5987289b543956cf8cad71018a \ + --hash=sha256:588461c2e8384d309bd63e5826019b6977bc66d629b99ac8737bb795d7b2cb5a \ + --hash=sha256:58ca3755ee7ff7f59b57789ec9833c9de9ea275405cdd240eda1f193112e398a \ + --hash=sha256:58f361dcbab699cf8f42db3f47c8e7fd1036f138c23a5d08de9fde5f425a730c \ + --hash=sha256:598a11a2c7ebaa5334bf698bf29568c9c390abac6a154d8170fedecd1cea38c5 \ + --hash=sha256:59f63901b0031c3136cf64704dcb21de0bbae62ce2c9529bc39d27665463de37 \ + --hash=sha256:5cde776b7cc66e4f6c99612cea4aa7269aa65863f7a15841b2c264f103822f4e \ + --hash=sha256:5e2b6b57e9733d39f0c9fd3185efa6b8e29652c4cd8fe94180272cf6ed9a78c4 \ + --hash=sha256:5fb29fb8cd1a46c27a1bf9613ad5ec2599310d46b4025d9556404a6b6a292800 \ + --hash=sha256:6045373d5a89a5ec71afde535db987ca28e76dfa276c2d4c818265b375d4b055 \ + --hash=sha256:619799369eeef6366ed3e8755a5670f4f2f0fb6b30a0fd7264dc0fdc2357058e \ + --hash=sha256:62588a277bfb59def052abd940703fa35107152bf479781a878617d60faf8fb5 \ + --hash=sha256:62603db9a7caa0802eaa28c1c46fecd7b3a263a774069c24c3c28c302448721c \ + --hash=sha256:65cd72beeeca9d3aaea1201e5923859f308f952f9c71de93f06063c79f0f7a3b \ + --hash=sha256:68eb192d85ab8e5f6ec69c2bc6ac0179fbf04a5ac1569d12fbef74883fe102d0 \ + --hash=sha256:6bd128f206a7752ae1f2ab6c61bf8a24ba28913a10df8b14c2637b973ff97a80 \ + --hash=sha256:6be488a102b8cf28d0391d8c4ba7748938ae28b78ad901f8585520fca33ead1a \ + --hash=sha256:7218e8f32b0956cfcd048fd42d9d5779809745ca1d86113ca56f66e7ae1549c4 \ + --hash=sha256:7441d755b7ab94f8d4eb3e43ec05482d760842fd263d003a99102d742cd835e2 \ + --hash=sha256:749e97e1b32313717a565abbe321bc2190bc8b35f1a67e4cdbc7c56c8d8ffe58 \ + --hash=sha256:75a3ceed0724d625d64b86ca20aba182e4df462e04c2414fc941c0f523f06aac \ + --hash=sha256:780fbe7cab297b81dad9fb8dc5eb003c0468ffb0d9e5f65068c53a34661a96bc \ + --hash=sha256:78456a747de8dc58360ffa581f30a002baf5aa28cb262536545e91f113ed7639 \ + --hash=sha256:7967d08cf06dee78443b874f98c98036f624f3a4e73e11f9f64f5be4d25393cf \ + --hash=sha256:7a881931aa470808df94a8c380eed2bbbc76cd9dc622310f99665658c821eb6d \ + --hash=sha256:7dcd882da75ef9adf94903b1e3b9419e8aa8fb4c7396822b834b9ef7fb96954f \ + --hash=sha256:7e841fb9010836c992c9f12fcbd43a831de93a5f726fc1ccd8ca1d0268c5014c \ + --hash=sha256:7fdde2c9fd9e3eca40631e024664cf2584272cc8f96308cbe5fdfc930f51d8bc \ + --hash=sha256:8024d00c3faf3fc0c16e07a69f4405e8eac7cc0ab15f65fe6cf43827c4cf72b4 \ + --hash=sha256:80d02b6f04e92601a081dd97b23d3128033098bff5d35d392ddcc0476ea11253 \ + --hash=sha256:838dcc90063569a0448120554591a1d6c4a4ffe11babf048908793154ab86ade \ + --hash=sha256:849df64e889b2e17230d58410a03dba311a65b163508fd33679b2b737d4b7858 \ + --hash=sha256:87475fabc8d9996fd9c27debb395e642e8c838d78a00b6e932227a0e06b81e26 \ + --hash=sha256:87e50a3e7cb90af586b6c5faf23e302a970415ac73bd7bd90a515a04b427ef96 \ + --hash=sha256:89b53f3cda69831909888e0494f4fa0bcd3537e3e138dabeb620bd6ad946bae8 \ + --hash=sha256:8a893cc101149f80a653f82062ebc95b34525a2614382e1da5458fe7c6997249 \ + --hash=sha256:8b2bfab86aa71ae13aa41a6a26aab338e0db2b8bc75434b05aea89e011ff35a4 \ + --hash=sha256:8d86d6fc60743dc916eb79e2eb1ec4818e21e427731543af40a3021851174a13 \ + --hash=sha256:915563965d418f986e7e145accc592eae9e1a1be3566ff98a05d7a9ec42a76e1 \ + --hash=sha256:92888bb3187c5ba50500b00b3b310c9f2c651709d28036077680cb5255450a03 \ + --hash=sha256:93223adc95033dd47133a46ccfc316a0139176fd79085762e27202ec56018f03 \ + --hash=sha256:9373ad13ef0d2c0fb761e04e55bfdee5a08b52cef2c882c8fbe9935b1517152e \ + --hash=sha256:9409a8bf35cf78353942504b24a57de3d75b708997a1e4bd8db71ac8633ce364 \ + --hash=sha256:9b7f416ff0978e2f2249330527f0ad6fa02f4932e6199692d3b52da2048c19e4 \ + --hash=sha256:9bde855991b7e362c146535e3136a50bfaffc0487d38b33ca7e5edefc6e23849 \ + --hash=sha256:9cae88599c7219005d879f98e5ed53341e9a122af585e1091200358a3003d2a0 \ + --hash=sha256:9cf9b1a857e25c4baceeb3624e92a56df3668f398c4acba74e174d81fb4d1d3a \ + --hash=sha256:9f56f72050826f63dcee7a7f55b0a77168cb3bfc553fd405e7f8f9ece75a4036 \ + --hash=sha256:a090bb2c68df85450502e3e20d665e3a5af9c65a84d6508ed477badd49166fd3 \ + --hash=sha256:a192e2c40070d92c3ccf777e3a5c4ff515573cd2bb7ed0c537fdadbbec5bbf21 \ + --hash=sha256:a19a731138fc27d5682277d3b9df22855cea1239bce7fcec5f78f42ef2d1f3c3 \ + --hash=sha256:a66c3bc5ab1f0ff2164fc9965ddd611ff0802173f4b9d24554c563f6ab7e1d6e \ + --hash=sha256:a815775b6c38d4e0ff7bcffbeba67feded90202bb6a226b8dd35f1c855217413 \ + --hash=sha256:a89012d6d5476ee112d20d998570ed58df2260a852afb1758809cd6900411d21 \ + --hash=sha256:ae4f5fea5b8b8ccff88238cc8569303e5ee95efae67fa62922a311397a71f346 \ + --hash=sha256:b6856554c4f44d79fc2307d5768854310a8f0096e501c75637542c82292b0429 \ + --hash=sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685 \ + --hash=sha256:b736353c0a625bbd5fcec108576e2385db3496f4f771f785ff32e108d3c3bc45 \ + --hash=sha256:b7fd005a73d9e657273b7a10dc71a9e03c8fb9ee6999798d6918ce095b81ac7f \ + --hash=sha256:b91363207bd9dc966a691e959bb47f64b30f7ac4b072be9968b366982f7db77c \ + --hash=sha256:ba0b1d2620edf869789c3879223f52bf2afc5d31b3cb47cc57b3a12c05e2aa9d \ + --hash=sha256:bbbfc8e28816f19d7c0f1816664980c0a9875d01b27cdf8eedddb639d9e108ad \ + --hash=sha256:bd16aabe4a02a297c23417aa17ac6299dbd8c49f673bcd645b4929b11f5a4400 \ + --hash=sha256:c0afc6800ba57ccc350374c5bd6150419915d95ce93cdbab2d783d75eaf30ecb \ + --hash=sha256:c6708715abcf3c73b99508253e961a9967f02fe536532834149574eda6de0d1c \ + --hash=sha256:c7c9ab723cde841fefb34efbad91e87f00a674b1fe1cd0784fde742bf2c154dc \ + --hash=sha256:c8f3d67aeaf55f017982b73683f0e7342ba2f6635a78f69ce89ebb26aa411e5c \ + --hash=sha256:c9790464842f85f437dbbb54417eda1e0e6bfc52dd8d22d6fd1c994b73b2dc74 \ + --hash=sha256:ca403d7e4798f525fdfc78e258820419cbbd0f0ecbab9de7840e3c017cf6b8cf \ + --hash=sha256:d008d90a7f2471519aef0c90dfbe73b3e6e4d5e66ac48e19154c17e89e98b604 \ + --hash=sha256:d19fbd981a488e22cd04883659ca6b08f50b5974f9fd7c95655ef6a043e5893f \ + --hash=sha256:d1befeed746d247c81127bb14de9dc3d30edb6e5976d34f83f86ed262b1d9105 \ + --hash=sha256:d2374b62878abb00cd8309b32af6c0b715cd02dec0ca74ef12e5069bdc64144a \ + --hash=sha256:d376bbd28b3a8999db1a103b3b388aee6f1ddeb3e51bc2172993efdcd86e064d \ + --hash=sha256:d4a7319f304a774bed22115bc891618e45f85065ab44ea6acd07d274e750519a \ + --hash=sha256:d6734d2ef8a50fbf8445c139477da401f50d62a0606bf00e20ec6d87773fefb1 \ + --hash=sha256:d760fe2a4d7c3b226cb9026d6a842868d52a7901bd98420e1baf14e80da85cf5 \ + --hash=sha256:d913de495d90407cd859d263bee2e5d1a4ed3eb6573c04e70d9ec619a7cbed7f \ + --hash=sha256:db19d07e2e0129e974a0e65d0064fc222a446cd5122c2fd4184d2af9fc734a9e \ + --hash=sha256:dca9ab98072a5a54ebacebdc45f53e645336b320c667410b061be1ca588ae709 \ + --hash=sha256:ddc7dacc8ece3a182e7f15cb862d1fd616b46d076cb1ae9dd232b2c38b655874 \ + --hash=sha256:ddf19c062bea7a0cc80f519243d2c01dd091be0cf952a0750d4ad576709559f5 \ + --hash=sha256:def79fa35ef0cef8d2accec024f4fdc7ead3012ff02f5215c783f39f03ef8cfc \ + --hash=sha256:df29a0a7107f7011e77f4eebdddec4c7331e24d787a0b21a46d63bdf7445da95 \ + --hash=sha256:e09a3942ecbdee5cce73ea9d42da82b81b72ac1bf031ce069b93b5adf4eac8cd \ + --hash=sha256:e242bb1c5e76e97dfa9e7f209a71e93a01d7f19ffdd5cfbb2e2d55b4f08f8ab0 \ + --hash=sha256:e243bd13217235fc7290c621941c3f5cc8b66e4872495be821d7436ba2fb838d \ + --hash=sha256:e2af3aad578aa6bd1384bcf4750fc285e5a9de53f40b7d41e5a0bf748edeb2b3 \ + --hash=sha256:e4e81e09c1578b8df602e3db08b0b3ea0a6947ad612f52bf8dc5ea8d47691f0c \ + --hash=sha256:e54da4baf05720032d527874d40b65fa4d7e5c6c6a43d0c3adbeffcaf275a2b3 \ + --hash=sha256:e80e6c2f55656b4824d72065abb4ddd6a525c74bd78a0aab5d9fc2cf4fb5af50 \ + --hash=sha256:ed2a239c0ea213acc1908150a3037257083c7c083128f1a4cec2ec4b97dca491 \ + --hash=sha256:ed905975ab14056a2e5eb1c376cb2e1ebc5396baf84163939c518556fccde9f5 \ + --hash=sha256:ee21e28f0430bd6dc9086c6e525d5e818a44a5ad19720c8a0ef766792f3eb5e5 \ + --hash=sha256:ee43c17b173d46a3212baa6ead3ae258eeabdae48c263a01ccf0218c366dd655 \ + --hash=sha256:ef4fcbf3327382cd4c9f540babd61248208af7b93eec4de397b4d5f58a09e288 \ + --hash=sha256:eff0ac9dbe711a4aee69bf04a83896aa9b85f19641264053a9f6d48573abb7dd \ + --hash=sha256:f0aa869112ef88429ae17820d99c3dd9504c9e9c671d3c246f3d7442cb051084 \ + --hash=sha256:f3c96f633825733f735c5a9cf21d21a257d8e1edf0b1cee0a064b9c424ca0f7d \ + --hash=sha256:f5833ad231be5eb6553de524a70f48d71b2c8563101750531e0b80184e175cd4 \ + --hash=sha256:f5ec61164adcec446f8969a3358ec3f9b26bbda3b9213e5586d219afa8df2915 \ + --hash=sha256:f7d486c83842422badd511868fd8a9a20e9407ace71564b6af47ce7e60a336c1 \ + --hash=sha256:fb9e68df06293761f9fe66ade60a9bc6d0f5e42b8acf2939a9158af86ab0e5bd \ + --hash=sha256:fc14a032f813bf5fe624d991960ea83e9715adc27e4c1830a2361eb1d02ac341 \ + --hash=sha256:fcff63213e8e6e47770541a4607175404f47cbb3ebea7b6058cc82d524a0e424 \ + --hash=sha256:fd1fbe0f116b6e55da77aca2c6ddcddcfac2186cbf78bdebf40fc156efca389d \ + --hash=sha256:fe9753dfee015c570d73df76f899f18444d41388bffcde097deba51c4fadbb9f + # via requests +click==8.5.1 \ + --hash=sha256:8bb5376d2006950386f8c6427613334a2acadc5f559cb80e638d00b4df957e37 \ + --hash=sha256:9bbfada76703fd1d784b83eea012e3e8c6a001a876543ef104fa56aaaeb072b4 + # via + # granian + # huggingface-hub + # litellm + # prisma + # rq + # uvicorn +croniter==7.0.0 \ + --hash=sha256:92090bce3cef195a037a46b78430c4cdd6250e90671d9d7dcd9e486147daaca4 \ + --hash=sha256:a0b2568303c774f6a4ea2d4ce2e72b1ee911029c7070d64a1befe05cdb107f5a + # via rq +cryptography==50.0.2 \ + --hash=sha256:0ddc924c04591c2811ca024d62ecad4f7f6f08af8939c211438f48a16bd23602 \ + --hash=sha256:0ec5f09541743261e66e291b4a0cbf0fb2997aeaab6d9e9c740b9dba1b58d1c2 \ + --hash=sha256:0ecbc5652bdb6fc9eaf89a7d196e20941adfe812f43bc4ca05d9150496821047 \ + --hash=sha256:1981f1db4630889b9ef7803fadef12b056f428cb6b85c27ba57b774793b6093c \ + --hash=sha256:1ba34f04897fcdaa73f74145c25f3ec146fbd56593853e88adc2e811303c5f42 \ + --hash=sha256:241449bf940a5d27309bd317e6f9a2af6932113818bb2b8f5c59ddc7ef16da18 \ + --hash=sha256:25784ce8b9621c90c643efb9e1e2162ab3b0224cae446ad5e70e7fcb1ce18b51 \ + --hash=sha256:3dc4fd8058cea1644971207d530e1a03a184a805ffc8ebdddf0599d78a331b81 \ + --hash=sha256:4061c0079120205fb760c58acab6443e217307dcf05e3702cf970e0689972856 \ + --hash=sha256:4a20ce1e5cb4284a86692fdcba7cb8754185c6b2e5c56fcef3751cf451d3cdc2 \ + --hash=sha256:4e81d95e5bafc2d6e34e4bed780e53e4d5b9a2f928573428aa4d35fbec1eb0de \ + --hash=sha256:58a0c478eeca76fe5e07993c5a0703def34a6dc6a0cda4f5564639b33112ffe7 \ + --hash=sha256:58ddb5a8e3179d12f19e4ea34d2d32e9d63a4baa142c875c1eb59f41b7243acd \ + --hash=sha256:630ebfea3bf689d075f82316324ff7433dc447fe6bc1bfc76524b74b4a9567d2 \ + --hash=sha256:6f8700550aa1474a91e5dc07049c46f98b423b5b1ddd0483e0b51362eeeaf5be \ + --hash=sha256:78198641e5be9521beea5aa782bb551a58068d10e6eb04c9c680c1b69f2e7d45 \ + --hash=sha256:79def8d059362e7831389ed3be0ecdf58a89386e1271e35dd9f5af84e81bffd0 \ + --hash=sha256:7a8701d6b584d76e909e3d305b7d126b41439876a5aaf76cddc67fc230eafa2e \ + --hash=sha256:7afa5a6602a9f29af1f3a2965f831bae7c9d5d597b7cbb716d41ab3b7d89879c \ + --hash=sha256:7b46165bb56eb4704e2eaaf86f3c940d19154535d9b0ca7d6d590b04060e00d5 \ + --hash=sha256:7b75de3c8b3be1cdb1052747c929440c3eea46c1bc2cb8a6e3a48388e9b7b452 \ + --hash=sha256:7c6d0330c472d96f6a6afe24d80dfdf15176c33096f0a4397ae4c60f3dd3be48 \ + --hash=sha256:828d49b0ff5a0e3975865571c5d91dbbdd0d38d8289b249a163e9425413a5e05 \ + --hash=sha256:84f964e537f916e2cc85199e5a88742e964939b575ac8598b3f9d6cc416cdaf1 \ + --hash=sha256:85d0d9a31b9098e98534226d5686b47264b95e62ce459dc2e62fdfc809f9fe93 \ + --hash=sha256:87e9ce85beb6b328ba370cc6e6aea483c92617b4c95b1d33a49297eb662bfb04 \ + --hash=sha256:8c71ba2cd31fc93748c38e1b613200ff1c2665cbfd5341fe3a61cfde35a1430e \ + --hash=sha256:92e665960f25fcdc73725b9cec7a3824f279ba97a98653afe9ffac2e43668f67 \ + --hash=sha256:94e5e9f108ee10471288214d3d233fbfbb492840a8457eb85178d643ddeb32c7 \ + --hash=sha256:9c8402a82ea0dc4ceeab793db05f0fafa8ca139ca34fcde5df0f596103c74107 \ + --hash=sha256:9dab55f57c74c3cad24c323bacbbd04be4705ba6eb0d92e920b1fc4837ed5079 \ + --hash=sha256:a582ab2ae1d34f67112cadc86702774c9ea4374df6bca6afe672817203c99134 \ + --hash=sha256:a6557e5f38e065ca9fbdaf7cfc7435ecb1d113aa81a022d1b51921ee7432e227 \ + --hash=sha256:a9f7355e6fab51f6c369b86fb7571cffa05edee2c2121e0380a37fb9ac1cd5c1 \ + --hash=sha256:ab50ee449bf968271e820086f10a33d101dd060370abc10bcd22279be2656539 \ + --hash=sha256:ac9ed99d81760c62fe89d5f0815cdfa1ba9a35141cf30f1c2d044f04b4803d2e \ + --hash=sha256:b13478603dcd0a2479ff8e87e2c19a7d525734686fe3c49542472293a204212d \ + --hash=sha256:c423ab384a46c4dff7217b2ea5ba2e11cffdeab6441acd04cf65a369caf0366c \ + --hash=sha256:c5e67125c7dca78d199ec4e116aa93dbb83494808ecbb8211a2cb09b1bf41dbd \ + --hash=sha256:c71be1cbfa5cd9a41ee452acf1eccd82b2c05950358b106ec8ceb83411d1a020 \ + --hash=sha256:cbc8738fd8526d80f35cb3a40d41f41a2e7030bb3b18b09a6778ef63d291c2fd \ + --hash=sha256:ce47f66801c20ec6c6632453bb5960fe38939e9306970b48b3a5a26de7745d94 \ + --hash=sha256:d370b8d1dfcdf7130178137f6fbee6140774a1acc6cacefc4b42643ec11d0a3a \ + --hash=sha256:d38cdff612d06fa6a32840d5e1b1f7a27cee4a349aa9085d94a67789d6bfd408 \ + --hash=sha256:d8947001be83df1394050758ce0e745dd74fb134eef0a4b5124208dfc3a68c37 \ + --hash=sha256:deb9fde5c60e437ee4821bc9bc39ff31b42135c27e1dc61ef0a629389c1de62e \ + --hash=sha256:dfe9763530994147d9af1def057a5b9658b00e8f8fe8743d144d1e0911c2e454 \ + --hash=sha256:e105ab60406787da31fccc883fc0f733af1efd78f0136a4599692c4083a73d0c \ + --hash=sha256:e275096ea1e60cc595cda2836fd4a6c725d1125108b868be17f53684d164e2cc \ + --hash=sha256:edc3342adf8f697fc5f59c887a304356f147b397809440ed64e2fa6af2f50f37 \ + --hash=sha256:ee247f5c245c9a2fe7c8e2214e295918838e44e00a45a6718451e4004219e767 \ + --hash=sha256:eef4c2f3423810b3070ab391f85436d2f8bbfcb286ac15cbc73190b3563b1f1a \ + --hash=sha256:f21e8a22c8605750c7af886bab299a363721264061b4ac0a30efb73cfd58efc5 \ + --hash=sha256:f265528741e048bce55c3463ed721fb0aa45a5888d8add8cfeccb3035451bbdc \ + --hash=sha256:f2f9bd7f90c64fe89253f0a2c05e3c4856072660429ce8831b4235bf29403a67 \ + --hash=sha256:f785f6161f202ab04d8ca194158968798e480ca058943907972da5f12e2881e8 \ + --hash=sha256:f9f6143a8c75945eb960d9eb98905a441394abfa24afaae239d514ffb2586480 \ + --hash=sha256:fa8f5efb344d6908a1ce62f4a24e2e5780f825d6f53f5f50ec5ffacac72936cb \ + --hash=sha256:fdd28f912fccfec1846a94e2e1e8f9b0012f557f0c46fe4f3eb0d7a87afcf90b + # via + # azure-identity + # azure-storage-blob + # litellm + # msal + # pyjwt +dnspython==2.9.2 \ + --hash=sha256:8d4d39a513e649d634004ce4d39ade2352efcea472a0247535a5c2d18a9d7ba9 \ + --hash=sha256:af15f7d385a6ae2fb35a796fde2138004c8c42c7389090e2addc83e3b3340fd8 + # via email-validator +email-validator==2.4.0 \ + --hash=sha256:4454e41c4e1c6b6caee34a1dc71d5e736791562be8fd179b02e298f796522684 \ + --hash=sha256:be487bc50bc3bd832a98515a55a15649d9bec06d954fa178663190714b6c4ee1 + # via pydantic +expression==5.8.0 \ + --hash=sha256:2286e4ff71802420a69b235fa78fffdd21f404958524c1cb95133419f7f64e5f \ + --hash=sha256:3420f0ed06e2282f1f030ab8eefb70f06ed62365cd1988ad3b7c6525db9df179 + # via litellm +fastapi==0.164.0 \ + --hash=sha256:3db1b4b146924d284b33bd6b9ca244c8bd0560d5e3526591447fd3abe4383989 \ + --hash=sha256:6ec63b74a112a6acc22c87f29bb8cb209002050cfeb4f993b959e6caea65c468 + # via + # fastapi-sso + # litellm +fastapi-sso==0.23.0 \ + --hash=sha256:7dd537adc836142e8b64def86a901fead21c9d42d4001872a18e6f9316bc4ec0 \ + --hash=sha256:be2858b30603a6337ad59aba82049099f5536ebc1eb41b036ad498a95f06ce29 + # via litellm +fastuuid==0.14.0 \ + --hash=sha256:05a8dde1f395e0c9b4be515b7a521403d1e8349443e7641761af07c7ad1624b1 \ + --hash=sha256:0737606764b29785566f968bd8005eace73d3666bd0862f33a760796e26d1ede \ + --hash=sha256:089c18018fdbdda88a6dafd7d139f8703a1e7c799618e33ea25eb52503d28a11 \ + --hash=sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995 \ + --hash=sha256:09378a05020e3e4883dfdab438926f31fea15fd17604908f3d39cbeb22a0b4dc \ + --hash=sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796 \ + --hash=sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed \ + --hash=sha256:12ac85024637586a5b69645e7ed986f7535106ed3013640a393a03e461740cb7 \ + --hash=sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab \ + --hash=sha256:139d7ff12bb400b4a0c76be64c28cbe2e2edf60b09826cbfd85f33ed3d0bbe8b \ + --hash=sha256:13ec4f2c3b04271f62be2e1ce7e95ad2dd1cf97e94503a3760db739afbd48f00 \ + --hash=sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26 \ + --hash=sha256:193ca10ff553cf3cc461572da83b5780fc0e3eea28659c16f89ae5202f3958d4 \ + --hash=sha256:1a771f135ab4523eb786e95493803942a5d1fc1610915f131b363f55af53b219 \ + --hash=sha256:1bf539a7a95f35b419f9ad105d5a8a35036df35fdafae48fb2fd2e5f318f0d75 \ + --hash=sha256:1ca61b592120cf314cfd66e662a5b54a578c5a15b26305e1b8b618a6f22df714 \ + --hash=sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b \ + --hash=sha256:1e690d48f923c253f28151b3a6b4e335f2b06bf669c68a02665bc150b7839e94 \ + --hash=sha256:2b29e23c97e77c3a9514d70ce343571e469098ac7f5a269320a0f0b3e193ab36 \ + --hash=sha256:2dce5d0756f046fa792a40763f36accd7e466525c5710d2195a038f93ff96346 \ + --hash=sha256:2ec3d94e13712a133137b2805073b65ecef4a47217d5bac15d8ac62376cefdb4 \ + --hash=sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8 \ + --hash=sha256:2fc37479517d4d70c08696960fad85494a8a7a0af4e93e9a00af04d74c59f9e3 \ + --hash=sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87 \ + --hash=sha256:3964bab460c528692c70ab6b2e469dd7a7b152fbe8c18616c58d34c93a6cf8d4 \ + --hash=sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8 \ + --hash=sha256:448aa6833f7a84bfe37dd47e33df83250f404d591eb83527fa2cac8d1e57d7f3 \ + --hash=sha256:47c821f2dfe95909ead0085d4cb18d5149bca704a2b03e03fb3f81a5202d8cea \ + --hash=sha256:4edc56b877d960b4eda2c4232f953a61490c3134da94f3c28af129fb9c62a4f6 \ + --hash=sha256:5816d41f81782b209843e52fdef757a361b448d782452d96abedc53d545da722 \ + --hash=sha256:6e6243d40f6c793c3e2ee14c13769e341b90be5ef0c23c82fa6515a96145181a \ + --hash=sha256:6fbc49a86173e7f074b1a9ec8cf12ca0d54d8070a85a06ebf0e76c309b84f0d0 \ + --hash=sha256:73657c9f778aba530bc96a943d30e1a7c80edb8278df77894fe9457540df4f85 \ + --hash=sha256:73946cb950c8caf65127d4e9a325e2b6be0442a224fd51ba3b6ac44e1912ce34 \ + --hash=sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021 \ + --hash=sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a \ + --hash=sha256:7a3c0bca61eacc1843ea97b288d6789fbad7400d16db24e36a66c28c268cfe3d \ + --hash=sha256:7f2f3efade4937fae4e77efae1af571902263de7b78a0aee1a1653795a093b2a \ + --hash=sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09 \ + --hash=sha256:83cffc144dc93eb604b87b179837f2ce2af44871a7b323f2bfed40e8acb40ba8 \ + --hash=sha256:84b0779c5abbdec2a9511d5ffbfcd2e53079bf889824b32be170c0d8ef5fc74c \ + --hash=sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176 \ + --hash=sha256:9a133bf9cc78fdbd1179cb58a59ad0100aa32d8675508150f3658814aeefeaa4 \ + --hash=sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc \ + --hash=sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad \ + --hash=sha256:a6f46790d59ab38c6aa0e35c681c0484b50dc0acf9e2679c005d61e019313c24 \ + --hash=sha256:a8a0dfea3972200f72d4c7df02c8ac70bad1bb4c58d7e0ec1e6f341679073a7f \ + --hash=sha256:aa75b6657ec129d0abded3bec745e6f7ab642e6dba3a5272a68247e85f5f316f \ + --hash=sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f \ + --hash=sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741 \ + --hash=sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5 \ + --hash=sha256:ae64ba730d179f439b0736208b4c279b8bc9c089b102aec23f86512ea458c8a4 \ + --hash=sha256:af5967c666b7d6a377098849b07f83462c4fedbafcf8eb8bc8ff05dcbe8aa209 \ + --hash=sha256:b2fdd48b5e4236df145a149d7125badb28e0a383372add3fbaac9a6b7a394470 \ + --hash=sha256:b852a870a61cfc26c884af205d502881a2e59cc07076b60ab4a951cc0c94d1ad \ + --hash=sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057 \ + --hash=sha256:bbb0c4b15d66b435d2538f3827f05e44e2baafcc003dd7d8472dc67807ab8fd8 \ + --hash=sha256:bcc96ee819c282e7c09b2eed2b9bd13084e3b749fdb2faf58c318d498df2efbe \ + --hash=sha256:c0a94245afae4d7af8c43b3159d5e3934c53f47140be0be624b96acd672ceb73 \ + --hash=sha256:c0eb25f0fd935e376ac4334927a59e7c823b36062080e2e13acbaf2af15db836 \ + --hash=sha256:c3091e63acf42f56a6f74dc65cfdb6f99bfc79b5913c8a9ac498eb7ca09770a8 \ + --hash=sha256:c501561e025b7aea3508719c5801c360c711d5218fc4ad5d77bf1c37c1a75779 \ + --hash=sha256:c7502d6f54cd08024c3ea9b3514e2d6f190feb2f46e6dbcd3747882264bb5f7b \ + --hash=sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d \ + --hash=sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022 \ + --hash=sha256:cd5a7f648d4365b41dbf0e38fe8da4884e57bed4e77c83598e076ac0c93995e7 \ + --hash=sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070 \ + --hash=sha256:d31f8c257046b5617fc6af9c69be066d2412bdef1edaa4bdf6a214cf57806105 \ + --hash=sha256:d55b7e96531216fc4f071909e33e35e5bfa47962ae67d9e84b00a04d6e8b7173 \ + --hash=sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397 \ + --hash=sha256:de01280eabcd82f7542828ecd67ebf1551d37203ecdfd7ab1f2e534edb78d505 \ + --hash=sha256:df61342889d0f5e7a32f7284e55ef95103f2110fee433c2ae7c2c0956d76ac8a \ + --hash=sha256:e0976c0dff7e222513d206e06341503f07423aceb1db0b83ff6851c008ceee06 \ + --hash=sha256:e150eab56c95dc9e3fefc234a0eedb342fac433dacc273cd4d150a5b0871e1fa \ + --hash=sha256:e23fc6a83f112de4be0cc1990e5b127c27663ae43f866353166f87df58e73d06 \ + --hash=sha256:ec27778c6ca3393ef662e2762dba8af13f4ec1aaa32d08d77f71f2a70ae9feb8 \ + --hash=sha256:f54d5b36c56a2d5e1a31e73b950b28a0d83eb0c37b91d10408875a5a29494bad \ + --hash=sha256:f74631b8322d2780ebcf2d2d75d58045c3e9378625ec51865fe0b5620800c39d + # via litellm +filelock==4.2.12 \ + --hash=sha256:21decfec02f116ed4c954433cdb31f28c3b346b784543177b6d7059da2702ee9 \ + --hash=sha256:7e7da24d3ac39268b0f156e56870001de44886318f092f9d851e692f7114d6dd + # via + # huggingface-hub + # litellm +frozenlist==1.8.0 \ + --hash=sha256:0325024fe97f94c41c08872db482cf8ac4800d80e79222c6b0b7b162d5b13686 \ + --hash=sha256:032efa2674356903cd0261c4317a561a6850f3ac864a63fc1583147fb05a79b0 \ + --hash=sha256:03ae967b4e297f58f8c774c7eabcce57fe3c2434817d4385c50661845a058121 \ + --hash=sha256:06be8f67f39c8b1dc671f5d83aaefd3358ae5cdcf8314552c57e7ed3e6475bdd \ + --hash=sha256:073f8bf8becba60aa931eb3bc420b217bb7d5b8f4750e6f8b3be7f3da85d38b7 \ + --hash=sha256:07cdca25a91a4386d2e76ad992916a85038a9b97561bf7a3fd12d5d9ce31870c \ + --hash=sha256:09474e9831bc2b2199fad6da3c14c7b0fbdd377cce9d3d77131be28906cb7d84 \ + --hash=sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d \ + --hash=sha256:0f96534f8bfebc1a394209427d0f8a63d343c9779cda6fc25e8e121b5fd8555b \ + --hash=sha256:102e6314ca4da683dca92e3b1355490fed5f313b768500084fbe6371fddfdb79 \ + --hash=sha256:11847b53d722050808926e785df837353bd4d75f1d494377e59b23594d834967 \ + --hash=sha256:119fb2a1bd47307e899c2fac7f28e85b9a543864df47aa7ec9d3c1b4545f096f \ + --hash=sha256:13d23a45c4cebade99340c4165bd90eeb4a56c6d8a9d8aa49568cac19a6d0dc4 \ + --hash=sha256:154e55ec0655291b5dd1b8731c637ecdb50975a2ae70c606d100750a540082f7 \ + --hash=sha256:168c0969a329b416119507ba30b9ea13688fafffac1b7822802537569a1cb0ef \ + --hash=sha256:17c883ab0ab67200b5f964d2b9ed6b00971917d5d8a92df149dc2c9779208ee9 \ + --hash=sha256:1a7607e17ad33361677adcd1443edf6f5da0ce5e5377b798fba20fae194825f3 \ + --hash=sha256:1a7fa382a4a223773ed64242dbe1c9c326ec09457e6b8428efb4118c685c3dfd \ + --hash=sha256:1aa77cb5697069af47472e39612976ed05343ff2e84a3dcf15437b232cbfd087 \ + --hash=sha256:1b9290cf81e95e93fdf90548ce9d3c1211cf574b8e3f4b3b7cb0537cf2227068 \ + --hash=sha256:20e63c9493d33ee48536600d1a5c95eefc870cd71e7ab037763d1fbb89cc51e7 \ + --hash=sha256:21900c48ae04d13d416f0e1e0c4d81f7931f73a9dfa0b7a8746fb2fe7dd970ed \ + --hash=sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b \ + --hash=sha256:2552f44204b744fba866e573be4c1f9048d6a324dfe14475103fd51613eb1d1f \ + --hash=sha256:27c6e8077956cf73eadd514be8fb04d77fc946a7fe9f7fe167648b0b9085cc25 \ + --hash=sha256:28bd570e8e189d7f7b001966435f9dac6718324b5be2990ac496cf1ea9ddb7fe \ + --hash=sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143 \ + --hash=sha256:29548f9b5b5e3460ce7378144c3010363d8035cea44bc0bf02d57f5a685e084e \ + --hash=sha256:2c5dcbbc55383e5883246d11fd179782a9d07a986c40f49abe89ddf865913930 \ + --hash=sha256:2dc43a022e555de94c3b68a4ef0b11c4f747d12c024a520c7101709a2144fb37 \ + --hash=sha256:2f05983daecab868a31e1da44462873306d3cbfd76d1f0b5b69c473d21dbb128 \ + --hash=sha256:33139dc858c580ea50e7e60a1b0ea003efa1fd42e6ec7fdbad78fff65fad2fd2 \ + --hash=sha256:332db6b2563333c5671fecacd085141b5800cb866be16d5e3eb15a2086476675 \ + --hash=sha256:33f48f51a446114bc5d251fb2954ab0164d5be02ad3382abcbfe07e2531d650f \ + --hash=sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746 \ + --hash=sha256:342c97bf697ac5480c0a7ec73cd700ecfa5a8a40ac923bd035484616efecc2df \ + --hash=sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8 \ + --hash=sha256:39ecbc32f1390387d2aa4f5a995e465e9e2f79ba3adcac92d68e3e0afae6657c \ + --hash=sha256:3e0761f4d1a44f1d1a47996511752cf3dcec5bbdd9cc2b4fe595caf97754b7a0 \ + --hash=sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad \ + --hash=sha256:3ef2d026f16a2b1866e1d86fc4e1291e1ed8a387b2c333809419a2f8b3a77b82 \ + --hash=sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29 \ + --hash=sha256:42145cd2748ca39f32801dad54aeea10039da6f86e303659db90db1c4b614c8c \ + --hash=sha256:4314debad13beb564b708b4a496020e5306c7333fa9a3ab90374169a20ffab30 \ + --hash=sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf \ + --hash=sha256:44389d135b3ff43ba8cc89ff7f51f5a0bb6b63d829c8300f79a2fe4fe61bcc62 \ + --hash=sha256:48e6d3f4ec5c7273dfe83ff27c91083c6c9065af655dc2684d2c200c94308bb5 \ + --hash=sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383 \ + --hash=sha256:4970ece02dbc8c3a92fcc5228e36a3e933a01a999f7094ff7c23fbd2beeaa67c \ + --hash=sha256:4e0c11f2cc6717e0a741f84a527c52616140741cd812a50422f83dc31749fb52 \ + --hash=sha256:50066c3997d0091c411a66e710f4e11752251e6d2d73d70d8d5d4c76442a199d \ + --hash=sha256:517279f58009d0b1f2e7c1b130b377a349405da3f7621ed6bfae50b10adf20c1 \ + --hash=sha256:54b2077180eb7f83dd52c40b2750d0a9f175e06a42e3213ce047219de902717a \ + --hash=sha256:5500ef82073f599ac84d888e3a8c1f77ac831183244bfd7f11eaa0289fb30714 \ + --hash=sha256:581ef5194c48035a7de2aefc72ac6539823bb71508189e5de01d60c9dcd5fa65 \ + --hash=sha256:59a6a5876ca59d1b63af8cd5e7ffffb024c3dc1e9cf9301b21a2e76286505c95 \ + --hash=sha256:5a3a935c3a4e89c733303a2d5a7c257ea44af3a56c8202df486b7f5de40f37e1 \ + --hash=sha256:5c1c8e78426e59b3f8005e9b19f6ff46e5845895adbde20ece9218319eca6506 \ + --hash=sha256:5d63a068f978fc69421fb0e6eb91a9603187527c86b7cd3f534a5b77a592b888 \ + --hash=sha256:667c3777ca571e5dbeb76f331562ff98b957431df140b54c85fd4d52eea8d8f6 \ + --hash=sha256:6da155091429aeba16851ecb10a9104a108bcd32f6c1642867eadaee401c1c41 \ + --hash=sha256:6dc4126390929823e2d2d9dc79ab4046ed74680360fc5f38b585c12c66cdf459 \ + --hash=sha256:7398c222d1d405e796970320036b1b563892b65809d9e5261487bb2c7f7b5c6a \ + --hash=sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608 \ + --hash=sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa \ + --hash=sha256:778a11b15673f6f1df23d9586f83c4846c471a8af693a22e066508b77d201ec8 \ + --hash=sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1 \ + --hash=sha256:799345ab092bee59f01a915620b5d014698547afd011e691a208637312db9186 \ + --hash=sha256:7bf6cdf8e07c8151fba6fe85735441240ec7f619f935a5205953d58009aef8c6 \ + --hash=sha256:8009897cdef112072f93a0efdce29cd819e717fd2f649ee3016efd3cd885a7ed \ + --hash=sha256:80f85f0a7cc86e7a54c46d99c9e1318ff01f4687c172ede30fd52d19d1da1c8e \ + --hash=sha256:8585e3bb2cdea02fc88ffa245069c36555557ad3609e83be0ec71f54fd4abb52 \ + --hash=sha256:878be833caa6a3821caf85eb39c5ba92d28e85df26d57afb06b35b2efd937231 \ + --hash=sha256:8a76ea0f0b9dfa06f254ee06053d93a600865b3274358ca48a352ce4f0798450 \ + --hash=sha256:8b7b94a067d1c504ee0b16def57ad5738701e4ba10cec90529f13fa03c833496 \ + --hash=sha256:8d92f1a84bb12d9e56f818b3a746f3efba93c1b63c8387a73dde655e1e42282a \ + --hash=sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3 \ + --hash=sha256:92db2bf818d5cc8d9c1f1fc56b897662e24ea5adb36ad1f1d82875bd64e03c24 \ + --hash=sha256:940d4a017dbfed9daf46a3b086e1d2167e7012ee297fef9e1c545c4d022f5178 \ + --hash=sha256:957e7c38f250991e48a9a73e6423db1bb9dd14e722a10f6b8bb8e16a0f55f695 \ + --hash=sha256:96153e77a591c8adc2ee805756c61f59fef4cf4073a9275ee86fe8cba41241f7 \ + --hash=sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4 \ + --hash=sha256:97260ff46b207a82a7567b581ab4190bd4dfa09f4db8a8b49d1a958f6aa4940e \ + --hash=sha256:974b28cf63cc99dfb2188d8d222bc6843656188164848c4f679e63dae4b0708e \ + --hash=sha256:9ff15928d62a0b80bb875655c39bf517938c7d589554cbd2669be42d97c2cb61 \ + --hash=sha256:a6483e309ca809f1efd154b4d37dc6d9f61037d6c6a81c2dc7a15cb22c8c5dca \ + --hash=sha256:a88f062f072d1589b7b46e951698950e7da00442fc1cacbe17e19e025dc327ad \ + --hash=sha256:ac913f8403b36a2c8610bbfd25b8013488533e71e62b4b4adce9c86c8cea905b \ + --hash=sha256:adbeebaebae3526afc3c96fad434367cafbfd1b25d72369a9e5858453b1bb71a \ + --hash=sha256:b2a095d45c5d46e5e79ba1e5b9cb787f541a8dee0433836cea4b96a2c439dcd8 \ + --hash=sha256:b3210649ee28062ea6099cfda39e147fa1bc039583c8ee4481cb7811e2448c51 \ + --hash=sha256:b37f6d31b3dcea7deb5e9696e529a6aa4a898adc33db82da12e4c60a7c4d2011 \ + --hash=sha256:b4dec9482a65c54a5044486847b8a66bf10c9cb4926d42927ec4e8fd5db7fed8 \ + --hash=sha256:b4f3b365f31c6cd4af24545ca0a244a53688cad8834e32f56831c4923b50a103 \ + --hash=sha256:b6db2185db9be0a04fecf2f241c70b63b1a242e2805be291855078f2b404dd6b \ + --hash=sha256:b9be22a69a014bc47e78072d0ecae716f5eb56c15238acca0f43d6eb8e4a5bda \ + --hash=sha256:bac9c42ba2ac65ddc115d930c78d24ab8d4f465fd3fc473cdedfccadb9429806 \ + --hash=sha256:bf0a7e10b077bf5fb9380ad3ae8ce20ef919a6ad93b4552896419ac7e1d8e042 \ + --hash=sha256:c23c3ff005322a6e16f71bf8692fcf4d5a304aaafe1e262c98c6d4adc7be863e \ + --hash=sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b \ + --hash=sha256:c7366fe1418a6133d5aa824ee53d406550110984de7637d65a178010f759c6ef \ + --hash=sha256:c8d1634419f39ea6f5c427ea2f90ca85126b54b50837f31497f3bf38266e853d \ + --hash=sha256:c9a63152fe95756b85f31186bddf42e4c02c6321207fd6601a1c89ebac4fe567 \ + --hash=sha256:cb89a7f2de3602cfed448095bab3f178399646ab7c61454315089787df07733a \ + --hash=sha256:cba69cb73723c3f329622e34bdbf5ce1f80c21c290ff04256cff1cd3c2036ed2 \ + --hash=sha256:cee686f1f4cadeb2136007ddedd0aaf928ab95216e7691c63e50a8ec066336d0 \ + --hash=sha256:cf253e0e1c3ceb4aaff6df637ce033ff6535fb8c70a764a8f46aafd3d6ab798e \ + --hash=sha256:d1eaff1d00c7751b7c6662e9c5ba6eb2c17a2306ba5e2a37f24ddf3cc953402b \ + --hash=sha256:d3bb933317c52d7ea5004a1c442eef86f426886fba134ef8cf4226ea6ee1821d \ + --hash=sha256:d4d3214a0f8394edfa3e303136d0575eece0745ff2b47bd2cb2e66dd92d4351a \ + --hash=sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52 \ + --hash=sha256:d8b7138e5cd0647e4523d6685b0eac5d4be9a184ae9634492f25c6eb38c12a47 \ + --hash=sha256:db1e72ede2d0d7ccb213f218df6a078a9c09a7de257c2fe8fcef16d5925230b1 \ + --hash=sha256:e25ac20a2ef37e91c1b39938b591457666a0fa835c7783c3a8f33ea42870db94 \ + --hash=sha256:e2de870d16a7a53901e41b64ffdf26f2fbb8917b3e6ebf398098d72c5b20bd7f \ + --hash=sha256:e4a3408834f65da56c83528fb52ce7911484f0d1eaf7b761fc66001db1646eff \ + --hash=sha256:eaa352d7047a31d87dafcacbabe89df0aa506abb5b1b85a2fb91bc3faa02d822 \ + --hash=sha256:eab8145831a0d56ec9c4139b6c3e594c7a83c2c8be25d5bcf2d86136a532287a \ + --hash=sha256:ec3cc8c5d4084591b4237c0a272cc4f50a5b03396a47d9caaf76f5d7b38a4f11 \ + --hash=sha256:edee74874ce20a373d62dc28b0b18b93f645633c2943fd90ee9d898550770581 \ + --hash=sha256:eefdba20de0d938cec6a89bd4d70f346a03108a19b9df4248d3cf0d88f1b0f51 \ + --hash=sha256:ef2b7b394f208233e471abc541cc6991f907ffd47dc72584acee3147899d6565 \ + --hash=sha256:f21f00a91358803399890ab167098c131ec2ddd5f8f5fd5fe9c9f2c6fcd91e40 \ + --hash=sha256:f4be2e3d8bc8aabd566f8d5b8ba7ecc09249d74ba3c9ed52e54dc23a293f0b92 \ + --hash=sha256:f57fb59d9f385710aa7060e89410aeb5058b99e62f4d16b08b91986b9a2140c2 \ + --hash=sha256:f6292f1de555ffcc675941d65fffffb0a5bcd992905015f85d0592201793e0e5 \ + --hash=sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4 \ + --hash=sha256:fa47e444b8ba08fffd1c18e8cdb9a75db1b6a27f17507522834ad13ed5922b93 \ + --hash=sha256:fb30f9626572a76dfe4293c7194a09fb1fe93ba94c7d4f720dfae3b646b45027 \ + --hash=sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd + # via + # aiohttp + # aiosignal +fsspec==2026.9.0 \ + --hash=sha256:0f08147951c8cb31d844c3547d631053b127863b60be04cf06e121333ee0e2fe \ + --hash=sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f + # via huggingface-hub +granian==2.8.8 \ + --hash=sha256:00f377b591a843b03d4b785226693ac7e7caf5e1b12585c652b97a59dcddbcd2 \ + --hash=sha256:07348dcf7813022bb4e67d079db9f7bf64513530e12d2795e0bab1df7f6e071b \ + --hash=sha256:08be2f1ada6095e060ef3d71a880b5f0379c1d2b47bf935fa18195da4bdfd065 \ + --hash=sha256:0993ee477deaec3c597556813c160b990583cc2079c39d323b29ceaa2727e42c \ + --hash=sha256:09c5f6a2264dcbfecdb3a80f6091b064a98e4cc775b0a36a1cd90f64821462c4 \ + --hash=sha256:0a3810dc580afe97190be2fcf3f90e8fff3061ae0067d921ded41a827d18ff49 \ + --hash=sha256:0de844e57f875476e7397bd0702014fcdf6b0206f8829d18f0f1ae05704f4f4d \ + --hash=sha256:0df71dd3593f2562e988684edb2bf19d651441806336cc498c88fd2baecb67a2 \ + --hash=sha256:10ecc0023424f6cb6158990d2e448a45a618f7abee476addb1b454f5e426a53e \ + --hash=sha256:13c2ee0019f4ea2622f7e997fb1b6d7191c50f6bb664300dd44885f6f7470863 \ + --hash=sha256:144fd59f8a80a50a9fded071e8a162e19e01e9e7aa19426f703a1bba17dd0d90 \ + --hash=sha256:157b0319ab168381a1e6d0396211f3b01e2996a76c4ab358411d35eef6122d07 \ + --hash=sha256:157f878003aaf768daa3f4747ac83930d0bb3611e8befe8c05abe7443b21e315 \ + --hash=sha256:1932238e80feee132ea37d6b654493287fffa6119426cd1ce60b1c832dc7348d \ + --hash=sha256:19d7beab602b9f8f78a72a06a05e207591b5c6d2f6f350a346a12c7d1697c2f5 \ + --hash=sha256:1dc2f2685bcf190d2523a8d1618ab48c048fe150276639c4841cd7405b0a797f \ + --hash=sha256:21d5525497308ce041cafde5403c48f6421fda78feb12c738e9b0c89f7528854 \ + --hash=sha256:22819b3754891e36b137020cfdde937fde943cb2b095482517468376ddcffc08 \ + --hash=sha256:249f4de88ae3f6d23e481dc89fd95e99339240323ffef95c116a9218e923ae47 \ + --hash=sha256:256a23d91676fb48774bceea19eb529af58a36180aec50d52ac30b079e1ac605 \ + --hash=sha256:2f813cb7b3e6b1743abc093151f67e680b2a627ce2f4a22b125857ebb0e58d40 \ + --hash=sha256:3349f7ddcf15f0fe4b57790b171bd0b9b6be5e06fc0e9031b57b4a0cc325f91a \ + --hash=sha256:36d77ec59fa2d4696e14d1ff512d5987bf5452122112c652b6ade63a90602e82 \ + --hash=sha256:36df9a2891e3fe301570d595ecd088b9c92d51a60703c472988cdf53212a92c5 \ + --hash=sha256:3757fac245bfbbe26b12b2d9ed09e0d71a16a8ea90d5d34b7611e2b06d5f38ff \ + --hash=sha256:3a39151ef2ddf8320f6e6e428f3f8acd7d36592ad7b23668c526167023994ee6 \ + --hash=sha256:41f1257dad91304f4755f74b325df141cc1abe9a42bb99c41790552be86cf026 \ + --hash=sha256:4537864050abd0312e91eeca38d4402b64d8543ea06ea51191e9d3350432b2ff \ + --hash=sha256:45649e53deee67d723c68e6de6a89e35b788b9c0ab85670e0c4b7ecddcca8b3b \ + --hash=sha256:4cb2f8c96713d3de425687c4a303641118122dea78ef78b87e07fe07c4fad8d7 \ + --hash=sha256:4f6e1400cc0a9976072a8dd755769583e279c5e500005a94d9a955576c492330 \ + --hash=sha256:508377a0eafe20d547608d170d3973aac839318cc72b5fe48db7dd6e34aa6fbc \ + --hash=sha256:529f1b66134f5bb03e8840496e2e20cc9253fb0b9d8a5ba8925a2d96e7a7237e \ + --hash=sha256:561e88ff5c0c826798632dbf95c36c61822f66d0eea92bd27dc057502ac1a0eb \ + --hash=sha256:697f670a2cadcaa1534747ab3d3860a6ba1a61f9d05d1895ebb782687489ac5a \ + --hash=sha256:6d5355341b5afa5abc833ad70d300b91abd66e23166cd8f01330165ece49be67 \ + --hash=sha256:6f37536041a695c3b4d95ca73bcf8fff2b9feef438819b9fb269cbfb16f6ed58 \ + --hash=sha256:75ccb904bd8d444848a50988c50b06de1973ef9b3738f5e2054f9b5890958b0d \ + --hash=sha256:7d5590870615b88e4e7b824295a1974434892b8a1cd760ebc4b3372fbd3b0874 \ + --hash=sha256:804bffe530929c0593e641e3de98d930d9f055ebc7b318c719fac431b64f2a30 \ + --hash=sha256:83693da43bf6682cc0fbf3da2cd64c369602615c235dd8e0ae7d6d7cbe555c97 \ + --hash=sha256:869687a1729416fd7a91ae04796e791fde890ceff598c5e08d7fb756faaf952b \ + --hash=sha256:87f87a78d635f8964fd201a2d12a5cccd050fa3cb7a9b18b2978c90143e951ed \ + --hash=sha256:8c6ec1c9eb668c4dfd8849c85bc4d01eb1a68487dbb38870ab74234e3151cffb \ + --hash=sha256:9c6cf41b8d5023148bfe491de4826d5563094f82cc96fac791eb85e6fa242c72 \ + --hash=sha256:9da36711f816f320da38033a9cbdb97405cf8d5a69384029c8da42e367f214fd \ + --hash=sha256:9ed12d449ce67312ae76c8a4c4642fe77e22df67bcfa0c31da6686584385d23a \ + --hash=sha256:a04f2461f311afede886c8a3cbeb667ea4a1888a30cc48867b3e8f8657fb4836 \ + --hash=sha256:a11052fbcc1ee17974d2f382ba4045d96507a2c43758ac4474af4b0e660019e3 \ + --hash=sha256:a49e339fcf9e6412bc4080da9179b89952e76afca0f967462b78b1da35593459 \ + --hash=sha256:a9b4203cb1cf22ac95c10d67e6b5dd87075918b7faf22ade1065a7e7e7584949 \ + --hash=sha256:ac093a1f2fb27bf13e4ddc8497d5467e10ac61003eeceed92f2714faa9241370 \ + --hash=sha256:ac0f059785cb6ede6e4207fb1fda7d92065e041c9c5decaaacde9b42cb6ea0c4 \ + --hash=sha256:b71a16320929a345d429eb7bc84dc834fb66d9ae8ba445a5e9cfa42577b0756c \ + --hash=sha256:b7d4dabf3b41f670dcfc63f49cff3ad617c5c915b82d16d1559a97ca60af5a03 \ + --hash=sha256:b86934ee573c6f5ab5233fe4a1223ae10a0d34f7dba74518111c78e560386b1f \ + --hash=sha256:ba0f19ef2337bd2456795077d861d98f7d841d16a527033ee98c4dc4717f35f0 \ + --hash=sha256:bb6b74e3d531a18f824b45653544c15641b9492a44434d0ae451ed009901646f \ + --hash=sha256:bd1cf1100ef116193f1e54953191e2408916e1a81d7e02853389144a52dc710d \ + --hash=sha256:c0c923aeec3570d850b6f702e0fad8382d4720a93f126bed9bebd93d72c5101b \ + --hash=sha256:c1e30cb484edcb661a43a92d2534a3aff1a647f50f0202e62d13be3f19531350 \ + --hash=sha256:c282c9ff0b7baf087240fe034e52abb7b1334e5fbd445faaaec8e6c7bfd5b99f \ + --hash=sha256:c3e8a681edb84f24ba2897af701aca5421746d02099591c6a1b95250bec7f180 \ + --hash=sha256:cb7236f42ae4fae8be8f8a9f34b4a1ac60df1b0d6ab45fd278fbed3345977e03 \ + --hash=sha256:d05127c503c09b774b08c3835e1a4b17e280135432b08236d299140955f1575b \ + --hash=sha256:d0a38015eb6b27831c79c212a1ab938854bb33acb40e4cb9aff31dedff09de6b \ + --hash=sha256:d118003cf21b1691acd9840e8e5dca6c6e4bbe009c21ee4fd69eca9d71a51c5d \ + --hash=sha256:d154f197650959d1e32b8811709ca009fa6ece08361dcffcd28d43e348487a5a \ + --hash=sha256:d2836d8c5254b614a4b6fc8ddf07ddd121bd3ef47eeba14d12f346f45db1378a \ + --hash=sha256:d31d282060919958b51617059d89a35a139b2c35e92974c7c097d979c0c3f505 \ + --hash=sha256:d45efa5e8d73eabc021c0b1ca0489d389737ef639e0ce0887e1d310d16d54b8b \ + --hash=sha256:d57fdcdae49d398847381c13901485bf4757144d2f01206238d1f2c5ae40f07f \ + --hash=sha256:d9bc7e1b7a218da91f4ac084c452be25e9807c507cc5410083c1071924566249 \ + --hash=sha256:dfe7e768e2e41d1f2d4480c65c4ce0c910171f7a48eba07990b8fc9502211503 \ + --hash=sha256:e24ced16e3546718964f3d4ad67f096bb1b6b94687bf8b7567b149bba3b27bc3 \ + --hash=sha256:e354a6c97bd40c746a5b707f607b09aba551ec8b3b05d5332eb4830af367c028 \ + --hash=sha256:e37387574207a424077649e2faca8a2e2eb1d480562dc88a28a5a15ab95cb55d \ + --hash=sha256:e783ff71123541471d7ebd1d362d959e3e81ea4e212921def62d9f52ab4a4f7a \ + --hash=sha256:ea81f367d85c136d21ed3b8b49d2d17abde24f4b804bbc77252279590ec58381 \ + --hash=sha256:ec91357dbcb3bbb982fd467378fb0c259411eb286e88620673f3982e884dda9c \ + --hash=sha256:ee9b1e164da2c90aaa2f1d14ab74c3eb46ecb68fabe731fc17e339cf57c1434f \ + --hash=sha256:ef4518293638cd78cfee902f73bef300c0c4beb17bc5feb3161ad8cdb7dfcdb6 \ + --hash=sha256:f1cbef2ca5d0584a0ea9bd8e7e00a35673a73ab0cae51887fd35ebd533c484e4 \ + --hash=sha256:f29542839b962325dc71338fea04d2e04997e4b8e1f96a5c836a621ee246bb8b \ + --hash=sha256:f35d65aeb77678b95df5ba1be79f7e7cf127d1b929e9a3accefbca63a5ea5a9d \ + --hash=sha256:f532f1a0699d171898ebe9b4896bfc7e240bf2bb41b51a2fc089dac944bc701d \ + --hash=sha256:fcd49dff8cb949e8d9d5f5e8110e2afcc15c4850a01d5f590c7dd222d4e461e7 \ + --hash=sha256:fd7c366eb96c823af687fc5994fedfb4edf3cac61822e9da4dccb53029f83eb1 \ + --hash=sha256:fd96761e26a937a2ed76ec3de7a1717e74c2959df70507eeb467bd1e477e3454 + # via litellm +gunicorn==23.0.0 \ + --hash=sha256:ec400d38950de4dfd418cff8328b2c8faed0edb0d517d3394e457c317908ca4d \ + --hash=sha256:f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec + # via litellm +h11==0.16.0 \ + --hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \ + --hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86 + # via + # httpcore + # httpcore2 + # uvicorn +h2==4.4.1 \ + --hash=sha256:0e25f1462b23c9cb82d9eb02e28bc706dac2a68cb457c6a0d74d63c8a2a5d0e6 \ + --hash=sha256:4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516 + # via httpx +hf-xet==1.8.0 \ + --hash=sha256:07a06d7481702616726c2d8578cfb00052a5b3f21beed6a674592bc837a10330 \ + --hash=sha256:10ed23b51dacf7917d64f335c25048deb470efa755e9989b218fc0531386138e \ + --hash=sha256:1ebaf248c9bef8bb0c9d1d8d71db1fdf0cac14f922cc7a936a81adbf12eb5f01 \ + --hash=sha256:23c262e9f5e137b18dadbce60becfeea84156b0d43119c320bffe260d32cd2fa \ + --hash=sha256:29dab7c904cd1914a0439c6e1306c12c7497c8bd32290fbe563ebf51ca4b6d6d \ + --hash=sha256:3e8934784425781f0f779b91044df441f3a7af4dab47375d7e3aeaecbb8eecb4 \ + --hash=sha256:3ecfe2934448cca55a4c42732b60f985266aecb241905945219b3d388aceb7ba \ + --hash=sha256:42b66fdc688eaa4ff3eb77dc9275e5a0f1258ecc9fdd083ddaf43bb49bec925b \ + --hash=sha256:56735c2d4f416d7473fc986586b26a8756e067832ca4b7fdaad32a0d6f2ce740 \ + --hash=sha256:62b056aedb89ac809f78940baf465fe553b70c8b25ee56890fbab3039fffec1b \ + --hash=sha256:7edeb21c5d381903ee5f4857fc746fa7b52a4b374035e8811ecfb67ee27add0c \ + --hash=sha256:8800e3444770f2c630b361bc6d5c6ebb770b7830646cf632fbb79d0e5bbc9e7f \ + --hash=sha256:92188598dedc1e1f5609bd718d4db8687a6c89915553912571e2f587892eecec \ + --hash=sha256:a584a7b3268da62f23c3187cc7201ca01f7b610985a36b1b6119c66bccb0383c \ + --hash=sha256:c74e3751cbcdae9222c5170e8d788e83201a03dc5e5f4308a20f17a5b6023b56 \ + --hash=sha256:e00d8f60170cd3dd55d98306e41dbaf28b27ff1bcfefbfa84279d197221be83e \ + --hash=sha256:f42940869572dc2b05dfe06f4cc398c6291503e086ddc4eddfb7a6ab9409ad01 + # via huggingface-hub +hiredis==3.5.0 \ + --hash=sha256:0037e3af5f457d47d29eb3dda70302758385670a3378be7daf8c5049403a172f \ + --hash=sha256:0188f80503cdfb9fc66e29f177e864280aa4e2dec50c7a66cfb29a3f08c129c6 \ + --hash=sha256:03f9b755123e10bf4c25f1ab67bd5223d461c63acb670c0bbe1588c4330d86d6 \ + --hash=sha256:0c55c415af16dbc4158a2a7854063089383aa2504febea5b48d20267ff4892e5 \ + --hash=sha256:0dc22d8c05468603e8fdd821189bd83e657f180b1af88720b51bdc71448f4346 \ + --hash=sha256:0f09667f00035ccfb83b942018b5e84dc560774372fb237b9f7f757d72603c37 \ + --hash=sha256:10dff7baff891c8ec4174e0d228cad7deefaf827a90d89184aa695437557ce70 \ + --hash=sha256:1134ddc5f1b2a754adacc2c988485f9db0f5ae479b9a87472b9fdd4c4312a8f7 \ + --hash=sha256:1286a8a950b6364ab5f87a173e41b39eaa090294fc120f5cbff9cfcf6d92fad2 \ + --hash=sha256:1453cbd66450be310fdf2c6eb2e1d89b7379ca0e396acc14345621eaf68d2be3 \ + --hash=sha256:185fdce9552b768ee6c10585c0358a8264d9fbc5e78bfd58f0a89fff0da44f44 \ + --hash=sha256:18a8bbb37efb39da559ea7ab1619a56bc051c4490506795d8686f56ca1063224 \ + --hash=sha256:1ad14a185ece13a456dd8da27b7acd4105b4a2fccbdf54d86a3d455d6df7ffae \ + --hash=sha256:1dd0db7d759ea43f0c37c6d841b8e9ea652bdec5e4f542872f773eef3cfcbfe4 \ + --hash=sha256:1df3e11d7366026c4780324a5a0347dce84db2a5adc02e34d3232015854dd7c8 \ + --hash=sha256:231ec55363134d1036094b70b039cd2adef45d694deac635d437e9edfb5f2164 \ + --hash=sha256:2574a6ef312eb81f7a198e321fb10df7bbf10c3adb31d25af8f390e26f5ea43c \ + --hash=sha256:29812df61589038cc6d58e8349b95c1da56a6380820f93d5b41ffc9c7f4c5cb0 \ + --hash=sha256:2bd58ca4b34f7e86fe1de666073081973f26fc75fc7e2551d76b21f49a235855 \ + --hash=sha256:2d1c87ba3303efdf259d119fa4ab28a79c8f2edae4b2d04cae7d44f75196864b \ + --hash=sha256:2e838fc213f1db0a69b2e15995ab35919fdd4f4108118454169c0b671ef9a5e7 \ + --hash=sha256:2f1c2968ba739fccf94746247c10c869183530c99d0bdd5bddfaa28f0cbbe3fe \ + --hash=sha256:328855d933ad0e25d731374ebb3fdbd18e9e748f8b7e04980ca6c720a59dbdbd \ + --hash=sha256:33f988f062da42e167d7887a4cc6df5e48727700d1c9966ee2e761db844a02e8 \ + --hash=sha256:392506b5ad5d926b764d6a5663a3833a0110fd9256ff86ac31f53ccd4971941c \ + --hash=sha256:3bc5378fe7a1a8226a42d31f05f6a553ac471dd495f38dbd3967a38794b4acc0 \ + --hash=sha256:3bfc25df64806e739bcec2c604c2336774e4744f68e01d0d6a257c9b8244f380 \ + --hash=sha256:3dc0b74b106f56a6129ea7fea856e5c4f0ada96f26b079a4c2ea7c6e1cf1a5a6 \ + --hash=sha256:4045981d900beaf6305921f605da40b66ad8f809128092026f1827e56971a06a \ + --hash=sha256:43a7b471185ee560ac8b4070b6d7d0b022e298749e4bd0dc95e11321701c9de0 \ + --hash=sha256:46259a135ab298fe5197b039afc9d1783a67fb374d95ec096624aeac66ca51ec \ + --hash=sha256:48634663d477efe8b8b76497e123d85d3ad1606cb919a833a4d447f00ff6a8c8 \ + --hash=sha256:4fde6c6d67154c7ff84fd73c7aa9c5c03b9ea6ca0202fda5bd0c79ab99e51171 \ + --hash=sha256:5001493d8ef9d699eb43bbc39a564796c2af4777cd1a198f0168814551596311 \ + --hash=sha256:5201151dfc4098f81485aeac651cbfb402c8aea92607a5ddef5bbff5097d10e6 \ + --hash=sha256:54733f0088369b834677dbb5368e2a4bd16fadfaa43882de4dc13e2466a00b8b \ + --hash=sha256:54d6669b57e7e8a01acd2db718529fcc2fef2762b251ef6c9032d05418a258a0 \ + --hash=sha256:5556c12e6c62cb96162135594876e48db98ae3951afac8ef38831ac779d7bd01 \ + --hash=sha256:55776bd0c298ddd4c07342e212fa50b3e753353c763b1b112a220ea99d2616a8 \ + --hash=sha256:57f8112850e333a2efb12e8db1b7b0ac7585950a1e325b0c7693d98c361dc775 \ + --hash=sha256:583de475ceaa052a8353a91d30c33b42a3267a4455550714935b52575a9d3211 \ + --hash=sha256:588d083aace7439afa652e201df7388aeb1a5d3230ffe26fb297cfc6c7f216de \ + --hash=sha256:58b4cde9eceb336b808ca8832bd2943df8ff0d6c0c7d1a2001a45010731c471b \ + --hash=sha256:5d7639f8769908176bca3eaaf099f9aa182718b14f364380f5feeb1ff3ea2734 \ + --hash=sha256:601bfcb5655e85a79e2ded96ab0159cbac3a20ef991c468e8c9d2e374dc8cf54 \ + --hash=sha256:60b9f1ab9d366f19d53da2c844fed58ea2e7ef3d394db95647ed87e07a2456ce \ + --hash=sha256:63d42b94b9800904249fdd9be9eb37f31677ba400d921d000dabfc5c0ce415cf \ + --hash=sha256:672e92fbbbe353697828f6c590802b5ae2d8c97bb78726ba4d107f87b0e6289c \ + --hash=sha256:6b2a3ae55fca9fe7e5ed23ec0310581dd5310d9c66b7420d821bf2d30fa3a4c6 \ + --hash=sha256:6bfdf75a934c7d73e660b9ebea3ade761f6c2c67b6725dc71e556fceb0f95194 \ + --hash=sha256:6dd3b5eed6b208a6583ba75c54b01ac82bd547ea29835eee75837ca2348c158a \ + --hash=sha256:70fa3bef2838607e9fa911ce6d8cf256350d16057d249e2e4de2c877bc83fd09 \ + --hash=sha256:7485db3f95ad46346ed702b99e380c2a61652bf5a8246dc101b8cc3f236dafd2 \ + --hash=sha256:7a47c7136637df55cc021038de2a37c7e8a1183e6331ea4874ce65ea3adf7bce \ + --hash=sha256:7a772106e40bac797bfe551d7295b518be2787b78815a45f28af5c3641d4460e \ + --hash=sha256:7d0ccc663f871efb4ee52ad7ddc72780fb965df47caec38a2ef1995a9eada8b6 \ + --hash=sha256:7d217165dac546d7781b169c77573f8ef743eacca755ab44568e180b95ab44ae \ + --hash=sha256:7e007e08e6f66ce9fa56ec04eb86fab8e2b9c6e87ed9041d8f2c7df5c93354fe \ + --hash=sha256:808ca3e2bbaf4e82bc57508b3ac2a662a0317a1b12762b48d8bcaf31c631c966 \ + --hash=sha256:86bca28fd6f7f9cb9577a6d4ae38bf55104c0da8ff0fdcca0f5336b6fafd4629 \ + --hash=sha256:879c774ac16276219d7f9013d28851a72338c703ddaf8509c20592537acedb25 \ + --hash=sha256:894391ee4f5465fa1f3e6a0a323c76bb7884eda2698a40f8157d6a96fa268899 \ + --hash=sha256:89da7176d210039116b01b913ea98e6222c920816992cd6e3af2352275047255 \ + --hash=sha256:8f2e4e3af78c3d8a8d800a1d252024185943ca210f1089daf20188526491b8a9 \ + --hash=sha256:9132be543d677159d0e6c44bc86c887f2a07f47c163178aca02bc3c0851dfa50 \ + --hash=sha256:926d270b5a2dcd75f91ecbe784e42f515ae8fdfa57bf28031bc6d21accff5e3f \ + --hash=sha256:92ee5f3fde72816784f12bfec4278a56f158e5a622a353663980b1f00c4eee64 \ + --hash=sha256:931f585f15c1b165dbf6fcc781fb8975d36b99e6de5524485ab9c1164a3f0f91 \ + --hash=sha256:942771ff3d4121b242c8f3c55ba2c28bae06af426ad459b751bbc905c3c6e944 \ + --hash=sha256:95343058583782388564cd0756089a13c827e34abe938720cba102e756df547f \ + --hash=sha256:95d40b0b233222f0e011136ec80dc5282be6e1ccdb49d7b941f9398224f7102d \ + --hash=sha256:9684eb9f45daafc2a9212115c7dbf25426eb4469fe635eec6f7f4493c24d30d3 \ + --hash=sha256:9af8aab9ddbe5cfbc9d7972e8eba459ece6b4ec062071d7e3959a71098854788 \ + --hash=sha256:9d7f99fd94460f9bd83b042c9c5a05f746dbb55f116430b4daf93ee290246bfe \ + --hash=sha256:9dc666937514d4518cc776aa2e079b79e9710536d3d65974c12b5ca257baf14c \ + --hash=sha256:9f985c9c80aaad4800f5a47a29c4d92725ca019a950672bdafd5f7047bbcc207 \ + --hash=sha256:a148b7fb5b6b258fd5f6cdcf0296b6905c9ff43d9607a00860ed14d3bd4a2944 \ + --hash=sha256:a188c39bf426e14b91f71ec9ec54ef1c2377c1cf38a4c2b5d8b506e59f10e14a \ + --hash=sha256:a2c7fbf6f70c8e3e3f6693cd52774f48e149fe2709828643ca0207021852540f \ + --hash=sha256:a460f459fb8d892aceaf8a1ea60b23d207c21933ab11b730a7a77288dc78dbd4 \ + --hash=sha256:a50e8d4dd3459357a95da3e749cccb544ed8d716e71bde48cb4c1e92095abc0a \ + --hash=sha256:a59975d62a1f7c55d49828fa3515824cc31993379a8f915cc20b5dd27e4c0d29 \ + --hash=sha256:a640ea213249eddca5ba90b8d42c79642bf6beeee51a8eebc9044b392f5c102b \ + --hash=sha256:a890b8956729b366ef533249a1db8709714dbb02b6a292a40f1383a54cef0945 \ + --hash=sha256:a8c6df1dd76b93e94197f7195f4035f7b45ebbd1c89a67887d4f9c19d74fdbe0 \ + --hash=sha256:a9ef58e5a9c80a2159c25c6fe5f856734c4e80201b4cecd513f3bd9117d90417 \ + --hash=sha256:ae897c05c38267e550acc085cd45f1fa2d0f793abe2ab334f38e18b4e8c5c39d \ + --hash=sha256:b116b8efa40a1789244129bc2dee9f8dc973d6a48d9331c919308034b27520da \ + --hash=sha256:b253d6921b3a039a10dff5e3ea2c2e4c5c4f25d88eb5ba47858b6e4fe13ed99f \ + --hash=sha256:b4411b17db1e12fb9ff5e3f5b74292739887ad288039e98f8d804378b435abd1 \ + --hash=sha256:b5b5f0e4114cf972d24ad651537d1b2e20449d6db006c6f09eeac58436886960 \ + --hash=sha256:c043397db3bbb062d275dc3e7adf68544cd1ead1e2c9ab1bc30c616038b3ecd7 \ + --hash=sha256:c0b902612627b307dbab51ea556f82b61763fe42d43026e81060ca7ac8642df3 \ + --hash=sha256:c107d375d5a5687297f99669617b2055e375df41f83ac976ac6aca2bc33c415e \ + --hash=sha256:c227592cc56b7df247abe4755c26723965be68972be2149fa441ac33d82131ba \ + --hash=sha256:c2ccb190ef81bcff7ef9650968782d446a899740fb478ec8f21988ce37d2dff6 \ + --hash=sha256:c360575e546aa093b3bff6634e8c916cd5b52ca766f51b49474acda219dd3c88 \ + --hash=sha256:c404af8da2fadfbb538195f7ce1a31e1d71900c573879b6f1475415dd474f822 \ + --hash=sha256:c5e8ea62c81282bb845a96460158190259a17a82124d876bb2291d01006fe83e \ + --hash=sha256:c73535d109c0d1f4a95f40dfb667c8baa722acc84187d128551706e8229d7223 \ + --hash=sha256:cafaf4406d3a6bb1990b8437b94ed592dd81bbb5e99fed6f5290801cac93a8d6 \ + --hash=sha256:cc91b554353429715cb5e76d8f7c21ec40608831af2c16f9f93dd7462aa87107 \ + --hash=sha256:ceb80b8c9bf8e818dbd934e1fa6eb8c002a82eaf9f323fa0e47da0b750d9e0de \ + --hash=sha256:cf61715d357c58996163ccedb972eec208a882b95bf04a90a95ef0486af5022e \ + --hash=sha256:d4f3360d8254ff3b58854705f70b01bf72ca550a4943ac76ef0f569239f05970 \ + --hash=sha256:d86562ec68af7e5f332d7e4433c0892e6661082beba0718501c9e7ecbac63078 \ + --hash=sha256:dc892768e5fc87566919856cf5a5df189cb45a70c1eaa412c8ae8028202aa015 \ + --hash=sha256:dd26a99b1f703c870a9ce0a96615bd2530fcf04c1ba5dedca100e32bbf38d67e \ + --hash=sha256:dd328ff8bc665f82a42b1f9561789f72ebb90147dbd3413c0990fc8837f7cc8d \ + --hash=sha256:ddc4eb264753d7f8d4b68cc164b509824d0d6c84119f896e209c9a679df3b386 \ + --hash=sha256:de694f45570bb9102904558a50e2ef82963413f37b0300c8f937f2f06d601ad1 \ + --hash=sha256:e115862e4e1a22aa78048117f88c21a35291dfbf9ce511359d97bd4abcbb9ebb \ + --hash=sha256:e1170deb21494371005b4beb9451d904cf3adb2b8b62230b1c51f38267feedf3 \ + --hash=sha256:e1590dbc3fbb78715c9673db04c0ff37c0d1b97660740064146ae3ce68e604fb \ + --hash=sha256:ead3b37e15075aa2064b9c1c114cbb1b153a3ab0300fd8a69d3cf11a1ec742b0 \ + --hash=sha256:eb9c5d20a593a19a5b9d3a5ce3ff7689adba2cd859cfb49a4aab53154210515f \ + --hash=sha256:ec5e911cfaa57cba61158839c0079bf9524571b4f03023c236bc86ac79a2c229 \ + --hash=sha256:ef139e9d52843cc91ed3aa1659544ba10b19dfe48e30dac3b21e1f9a14640a22 \ + --hash=sha256:efe53f63d31f53088492f9e1a4f81fb84d8cf75541927679670ff0bdaf17e11f \ + --hash=sha256:f10b854dc1894b5a664b66508f0a0e3e935cf6560481ffac378d12138647fd32 \ + --hash=sha256:f5d97b54ce858857c12c3b60a89563dc1938fb4837fafa877cd870e05f4a2990 \ + --hash=sha256:f6335c0d65104fd2f62fdff813067e72fdbcd4c9924066921ab931ef82591730 \ + --hash=sha256:f714f562792f9777926d1cc0675445147b99ff2e3b951baf109d05195131eb10 \ + --hash=sha256:fbd9de72a958fcdc70633d0fbab3b8010555471c746f39ea48976a4da1680e4a \ + --hash=sha256:fc5e619354f5ddc7381d244e0b00125180a7910a747ec3582bd4bc569da8e357 \ + --hash=sha256:fca8f8974588f3563decb8812df201f08cd2ac1d4bb84fca295ff820cfbf0524 \ + --hash=sha256:fcc7542689996df026486d75a29080e102c6b7131c064e22b762949f44d5e4c2 + # via litellm +hpack==4.2.0 \ + --hash=sha256:0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0 \ + --hash=sha256:858ac0b02280fa582b5080d68db0899c62a80375e0e5413a74970c5e518b6986 + # via h2 +httpcore==1.0.9 \ + --hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \ + --hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8 + # via httpx +httpcore2==2.16.2 \ + --hash=sha256:16051ae2a42f776007543f32de9349a317b23d2cbb4e1456b4bac0e88b87419a \ + --hash=sha256:6c519d0f7b44f7269fa9bbb4d2763db395a4a2370f046d8e8e0a4b38227815d2 + # via httpx2 +httpx==0.28.1 \ + --hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \ + --hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad + # via + # fastapi-sso + # huggingface-hub + # litellm + # prisma +httpx2==2.16.2 \ + --hash=sha256:748b615678f07d8e3b183efe81ad13b655ca88bfc56ce4589219b2d442860574 \ + --hash=sha256:f05c13aade4c45dbf1c9060647a1058f0acad62398fad96e741269edb33d46f5 + # via + # litellm + # mcp + # openai +huggingface-hub==1.33.0 \ + --hash=sha256:04e434b06e100eddbce9a6e817d72693a7884b10a79bd67ab48080d5c07eb899 \ + --hash=sha256:367be21a201db9523eddf8aeac7048f2602c1b308691c97640d5e72ed188007e + # via + # litellm + # tokenizers +hyperframe==6.1.0 \ + --hash=sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5 \ + --hash=sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08 + # via h2 +idna==3.20 \ + --hash=sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44 \ + --hash=sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c + # via + # anyio + # email-validator + # httpx + # httpx2 + # requests + # yarl +importlib-metadata==8.9.0 \ + --hash=sha256:58850626cef4bd2df100378b0f2aea9724a7b92f10770d547725b047078f99ee \ + --hash=sha256:e0f761b6ea91ced3b0844c14c9d955224d538105921f8e6754c00f6ca79fba7f + # via litellm +inquirerpy==0.3.4 \ + --hash=sha256:89d2ada0111f337483cb41ae31073108b2ec1e618a49d7110b0d7ade89fc197e \ + --hash=sha256:c65fdfbac1fa00e3ee4fb10679f4d3ed7a012abf4833910e63c295827fe2a7d4 + # via litellm +isodate==0.7.2 \ + --hash=sha256:28009937d8031054830160fce6d409ed342816b543597cece116d966c6d99e15 \ + --hash=sha256:4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6 + # via azure-storage-blob +jinja2==3.1.6 \ + --hash=sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d \ + --hash=sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67 + # via + # litellm + # prisma +jiter==0.19.0 \ + --hash=sha256:0282eae10bbccfabcb6001ced6a20abc5e05e26c6316e7729c8fc1510bd3b8e1 \ + --hash=sha256:050dd505e407c028aa76b9b4a379a06f79f484c3b256d99a7fea118d863c9a79 \ + --hash=sha256:093add0b9c12cfa04920cb9fcdc9845ff580fb374ca6a645f6d74f471a5d25f7 \ + --hash=sha256:0956b5f58b804221dfb929c120e6d4032138fed20c1cc0ef683a2d1326255e46 \ + --hash=sha256:10e863d52095bc1106d22a4b9285bbe722a56d7f3e65f9a5d09ec9814a31be43 \ + --hash=sha256:11f14da1ec8f4bc673a4fa475e84c5c7261b0239e18e0db03af55294919b5be8 \ + --hash=sha256:12d90242083e7ce352d12dc8b04daee4b6c29314385bc84ecd2b809d0607fbc3 \ + --hash=sha256:13c916eed31210fcf3b5d070709adaa6c2a39fdb0ad003962663460dd5cebcaa \ + --hash=sha256:1427fd34cf36db7c13d9643465a9fe00bfcc9ba969d8a633e43a4e2525afb565 \ + --hash=sha256:1433a914536ac5da69f91cc7743ac2f64d3705db2de52f0715ecd00fed2c95fa \ + --hash=sha256:178bdffd86ccaf25fda33dee522b046720b1f617f5b72864a720a4e88d574fc6 \ + --hash=sha256:1c77841a8e98c7c765fcc804f9c1c4f66905340cab7a81c3ebdca5c4d68bfe4a \ + --hash=sha256:1ed2bfe0518f584fb0dc22b36412d7c6d19529b5682de79e67b44666034938bd \ + --hash=sha256:23a9cd6d7779b0022b9446d7f8b19ba81bf9631d494ca371d810d3925e10fc45 \ + --hash=sha256:2777713f5c0b49fe909ee0a68320bce095cdcdb9b7611d347d49394f24afabc0 \ + --hash=sha256:2b26727103c0121ed2ec2e78ea23d669db71dad09128d274f1ba0aa4c07f96c5 \ + --hash=sha256:2c82005ee84b348cee72a8df6672b5d6c9fe9db4b81c98b84a28155d447d2348 \ + --hash=sha256:345f9f5dc1496a17b83cbbe7c351f94ddcd77b853518b0382b82702652353c9e \ + --hash=sha256:3694d60669e7d8277f6366170a6944f8b9779d85417b3ee6dda3897300528141 \ + --hash=sha256:39032d61473b11a6201300a710d6f912935bb3c783f3b564f94caa4d8ea34f40 \ + --hash=sha256:3b27d6bec319dc17cdced13e495f90ce066676ca296fc56f2dd2128f6a7599ed \ + --hash=sha256:42efe1a711c0745b6098b8bff931b0a2e7fff36098cbc2dc16b76497f1cbe834 \ + --hash=sha256:49610246ac2dd94392659d94a53c8d71f2b2c92dc22f2b15a4d1b0d774f74c52 \ + --hash=sha256:4ddc2617d3725c37501737f9725694fac10f2fb3f274adbfabc521bea7200d9a \ + --hash=sha256:50522b7e6f3d86f038b6d3be748fcd352c1611235d54442e70458b26de324df2 \ + --hash=sha256:50f9e5bde6bef0eef6a12315088e635b19d50cbceec745615eb8614f6bf4b52c \ + --hash=sha256:512b07721e67a3036db5966173885bebbffd1b0b1583b56f08bd52723865b382 \ + --hash=sha256:521438d81c8c42293e09297441de331731f576ba647e7dd6c05698d873c17c34 \ + --hash=sha256:5315406c0c95b18e07359113fcd96d219fafac94227be2b4e77d0e30ef6225ce \ + --hash=sha256:541669df0273fafdc506e89d7750afd528b6094586f87c01291c62f3273575ed \ + --hash=sha256:562d329189727922d9ee2e58f37382de1d0ec0d7a69b8d9670a23ef7ea216a49 \ + --hash=sha256:62d0ab327933a8cc5cba2ff2a1ff83400eb10bee1694eb1cc0c4c83296855d56 \ + --hash=sha256:62fda39be2cd67deca433e8ff9b125b285a592c5b5a439a5e80ba18337a73d2a \ + --hash=sha256:63e17a237323b240cbb9be6c4157fcdb2b4edaf8aa267cefc52157ff6b27514e \ + --hash=sha256:6f476b368da302a9cf6dece5af4979dac8b71a8986d69e47ce5a71f2cdea08ec \ + --hash=sha256:707b8194222a343c4a5e1574df95f5ade03e3f1cbdba77d8c89c6af0f40d92cd \ + --hash=sha256:71361b3484086f538674ad37af5b4d5e86c04c39ca79b026cbd41cb63476dc72 \ + --hash=sha256:730b0387fbea21b71b86b6975e20da7a364b04c4428eba0d15e6f0a7b20aa59b \ + --hash=sha256:76cb5b95b07f853911a39835de285da6954f44634890c26dd6ecdfc465fc977c \ + --hash=sha256:7981d17671689181d8b6806fac508ba6a794381f9486e62c598ead75ac857704 \ + --hash=sha256:7a01b76a206200d8a55111ac3d8fdc131dfdbefeaee0efca72597854aa71d6ea \ + --hash=sha256:7b9107bb4ec6889f943c948d69cee0f0ef64f5c5a7f6a8a6a6c5f23e8ff5f557 \ + --hash=sha256:7f1ce80a4f1eee5570f824300bca01b5b1d4174a84ecca6d7019c1159176519b \ + --hash=sha256:80d85202190ba13c3958bb01134bde8d81300a6530e2d5cfe73b63ae9a55f408 \ + --hash=sha256:8167c2cd6fd39b2b9428061cbb03889ba17a45df2285307750eb720b9befee03 \ + --hash=sha256:825a0b9c30ff5b12698cec9d034b568a1f26b2bc888acd1bd009d0efa1de081d \ + --hash=sha256:86946bc97afcc82c79b12ca8acc87223acc2fee9b25ed3455e6abb0f3c40f722 \ + --hash=sha256:885673d25907536b3bce8d61accd67a534eb3ad5fa2dc7ebfa67c4842b3b0060 \ + --hash=sha256:8b9d75a51df8f3b6fa7e25a0c0d7c4735e9d2196d6441e5a7c5b4ef1b76cd8bd \ + --hash=sha256:95b75f42a112e39ddd0b8683b4ccf6319a182460afdc4bb6828423eeeef97a6f \ + --hash=sha256:96b8d6795c8e8121d0a99b2c8f60ca4db02ff8063205bf2c9712e2714a52ea9f \ + --hash=sha256:977b59124adddc535a794ee75eb27f223c4dd677822a3fd74e0d17be6a52c39b \ + --hash=sha256:9b9e55e0182f9ff9da2e34ee92492f30ab99bd276cad496fa56feb7a64148dd8 \ + --hash=sha256:9cd6b141ccfac1fa05c49b579717505304caa0cfb41ab569baffcc109077e492 \ + --hash=sha256:9e1773b9a58b76c6c5398557f9beeddc64fdbb31ba66ef940280a6d603e0b989 \ + --hash=sha256:9ea284d5a9391fa7b6bec676569a91463325298532887d3b324b27d541f6ffc1 \ + --hash=sha256:9f5ac1f8d1b0eda36d98ab5266c98deddf4d8dc5ff7e031c51f9e9f632abee2f \ + --hash=sha256:a01d50640fb033259858f9203292aaf4dc9eb903d5646c529ba5be655a982a9b \ + --hash=sha256:a09edc861155f4df705a382e0d241e0ba4bf504a1438a6cd3a94e8d3fe2cf37d \ + --hash=sha256:a39f45078cc2b75ac91b48833093c033e374f8224ad38576ebba06398a1de96b \ + --hash=sha256:a628bd3603bb4a9f73d6bf659fbf8565e30902b4d7ba915e125d00aa2c3cacf7 \ + --hash=sha256:aa8e941d7569417134d14ed982bd5cef2c9baa55748bd70601f29e59b65497a9 \ + --hash=sha256:ab7a041b4c4a0afb160470839bbcafa3f5fea5572e0d1d46bd5239beeb30b19a \ + --hash=sha256:af3ee9471733f88d1f13061fc58e4731a6b0141bf47e08c39a95a9bb391c3955 \ + --hash=sha256:ba3064f8be276d7cfb83c2fb85c858be533da2c2f80f9b048c3781b45a57a195 \ + --hash=sha256:baab631aa2a8bd139db09e56bd2f6358aebb5d7dddcac0713d07ac7fb0861ebb \ + --hash=sha256:bafc856de75f6d4400e2d839189a6aefa1c985a151893743262811495917c20c \ + --hash=sha256:bcf434316c96f58b4623500c01498506cc1d3fb689e948158a5955dc245202a4 \ + --hash=sha256:be19151fceb1a7fcdbe7b187cadf914dc54e6f0fcfe88df7a0616ee0baa71a2d \ + --hash=sha256:bee08505baeb38c891d884e977b20924ec13bbedfc3ff1d32cfd66a867f8e9b1 \ + --hash=sha256:c094e472d6e54bfed6c78ef8595c27cf46b76d287f5cebb5264569f9b02b3737 \ + --hash=sha256:c3c3099dff0565e08ad503f2f9cf1ab8ec4a5b474042264c72517afc652e3285 \ + --hash=sha256:c528273371289b506762bfda85094b55e298082b7cc2259f0d01ee30d61b771c \ + --hash=sha256:ca0bb11753d4e24d07f579ec4b62413bb43f88d8736216b57996f4011906b20c \ + --hash=sha256:cb7458f07137ed895d01344d321205f050fb15fa8597a29e5d9bdaac140d4678 \ + --hash=sha256:cc4a2b70ecd4f102583344c1f8cc5dc11618665b1889286bb3b4279c19b337dd \ + --hash=sha256:cfbf731056b76d2d600f11ee895ca5d4d39d22d881562d65ada3ecbaf6053d25 \ + --hash=sha256:cfcf2473b941e8695b496ce9dc155f772ad97d98be5071ebf1e4e4bbfe00f632 \ + --hash=sha256:d056e8cf0ad1c4676ae559311d4a90b2613ca415452f5072bee62ee7424a094a \ + --hash=sha256:d0b16e19a7ea17ab0fc6089ded12040d46afbd9681c7978012044dc7ff0073aa \ + --hash=sha256:d2358442c7c45e1761b546b458a3c5bcd7d571838e2340a397464475f688494d \ + --hash=sha256:d5cdf03154ba3867707f48454e3f9235df7a0f772cf4c9f57e4004f7c67d9821 \ + --hash=sha256:d60d0621f0d6f330a1fd92067340a8eb4262651a07b2dfd92a87e6527d05c933 \ + --hash=sha256:d9cf0a878f99f97335023f51bf07e1f81c19ce13636b06347c8b548e3a26bc70 \ + --hash=sha256:da606acf39d7d2f2a56bfbb48a0b36f25da1d22d801cd0c9aecfce2f791e3239 \ + --hash=sha256:daa5bd8317d7b9a56d95af3b0b054f0d06c94a8cb68e332943d4532ef8611eef \ + --hash=sha256:dac2525467cca169c3f8049e04e69334eecbd38caa1b0b10a11d9cf07c7d5871 \ + --hash=sha256:dd34bb5493184ca9816fc4ffb19ea7377940d5171512cfc107356a3a145a4ba2 \ + --hash=sha256:def1f12b5cef4f53c30ec89d1644c6c5500b343f1ec5e9ac8010dad8c0a41d7b \ + --hash=sha256:e0238393882c0737846239bf4a553140e27d6b6781e87f570e7c3d671c916bab \ + --hash=sha256:e7682cfd9561bcdc47dbd10d2546b5b37640b4bef407f76fb434c30e4cb0ae81 \ + --hash=sha256:e8dc4fb0fe3a5e36a373933340f4353da816c6de684a57908633504df3c2c90b \ + --hash=sha256:e8f7d3072bd68b6ccc264bfe6600b0f730997bb414c7a274c317804f8f90c871 \ + --hash=sha256:ee63ba51f837d5a4bc2d79f6255ef0e754922519b172099fe4b9e8b1a6c85513 \ + --hash=sha256:f19ebbeeae0eade71b798efc2afacdfb07402e0fcc7c0943529759f31476985e \ + --hash=sha256:f2531f55026fca2c448148c7d9371117f801e0df7a084af62133b3d775564ebd \ + --hash=sha256:f614930e5bfcaed1b18fc46c197b2df5f4172180ca07d7a2690b542cb21103a2 \ + --hash=sha256:f64154096d9aa5462ef3c4f48d624492602d0073d54d30c20c08793387f67e42 \ + --hash=sha256:f7cf95dcab93e61fb58f395eedd4924557c8b08cc044933a4b7918c3d20751d7 \ + --hash=sha256:fa03bfa89a25915283cb748153db3da0fbd8fb298ed55abfba32bf3bf23d2b68 \ + --hash=sha256:fac2b90ad1709af1a4a5419e2031ff7d950810a584343c747a8087f842a4278e \ + --hash=sha256:fc13db05062df81357bdb926fc6b1014ce8ebef511a0fe7520b818f43b74fe5b \ + --hash=sha256:fcce75459e06cf811395581f6d256e2535d165ec4d223b809115a59b4ea6f398 \ + --hash=sha256:fdc0a6ddcc9228a0955b350509041c9321af91e928c918402d0212d5fd315355 \ + --hash=sha256:fe16c8e0caf7513c6b4e1c6466761b153aa16c4e18a84ddcf6dcf731b2bace1a + # via openai +jmespath==1.1.0 \ + --hash=sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d \ + --hash=sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64 + # via + # boto3 + # botocore +jsonschema==4.26.0 \ + --hash=sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326 \ + --hash=sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce + # via + # litellm + # mcp +jsonschema-specifications==2025.9.1 \ + --hash=sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe \ + --hash=sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d + # via jsonschema +litellm==1.108.11 \ + --hash=sha256:09dc830b993b9c0eb99afc2ea365b172b36f046467a1a7d9cb6d2b45e5b69bd9 \ + --hash=sha256:0c208092183e547dd0930bf97497309b03b459ed40b7ccf3c658de706c3847a5 \ + --hash=sha256:3234dcbbeefe236f133b345dcb6666ff9a85833eb8f57851440031f338259ee8 \ + --hash=sha256:6bef6dbeb35d82ce58d0fbf84d8ea5fb3ea1c9e5b7140f564ab2b1d73be848ed \ + --hash=sha256:86b040b72a2ea87d94e44a19846615ccd3ce343b077e4b041eed53bf7e2fb9ce \ + --hash=sha256:bcb38dc3e0f10bd52a3b9dead26fa496224b55cb5a07a8002800208bfbe05383 \ + --hash=sha256:cd21bfa087b46e563c428d6e7235663328832bd78e674bdba3fab6d7afd5d482 \ + --hash=sha256:f8313cfbb8cdb67ad9d9c3f018110efe6ffce1760211ecaa58dee430df10c505 + # via -r requirements.in +litellm-enterprise==0.1.79.post2 \ + --hash=sha256:4171cb665f930b39109c2be2f8d97d7a5e4fa22c84f30c6bd4a3765627093c73 \ + --hash=sha256:bd3c0a624685253244db9850fb55767063831e0ba6089c6afe91cfed8227ce17 + # via litellm +litellm-proxy-extras==0.4.110 \ + --hash=sha256:2a488653b7e5eb97e7a2c84fb67818dfbdbd1d799cd61832f1b5d151c229e907 \ + --hash=sha256:d8ec48cbcf0eb35bf6391dedf996e6983f1d3d78b6345a5c8e427eb212bca5a2 + # via litellm +markdown-it-py==4.3.0 \ + --hash=sha256:7aa1511a46c39138de78d9eba92ce47e63124d8003fc98b3a351909e04239efa \ + --hash=sha256:91a58fa5b72c71a40cf7177250fd767480d7a2bb3ac426ccfb76fb90305fdaaa + # via rich +markupsafe==3.0.4 \ + --hash=sha256:007e1ffd9bf65bb6ee96df7b258fc632a4868dd5566037986c64781f35a36e98 \ + --hash=sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002 \ + --hash=sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b \ + --hash=sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653 \ + --hash=sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c \ + --hash=sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e \ + --hash=sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc \ + --hash=sha256:0764a13d34cae40db7bbf3a09b7e9b491bf4603e20b263a7a9d6b8e324975d0a \ + --hash=sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92 \ + --hash=sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f \ + --hash=sha256:0cee7cb0f9a1b6892ea482237d9403b3d1b4603aee057d0ff01f0fac2d019a97 \ + --hash=sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4 \ + --hash=sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7 \ + --hash=sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691 \ + --hash=sha256:14bd2d845d62ab678eaf81da89d7b621b51756c72346745c1a594c09d49207a2 \ + --hash=sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc \ + --hash=sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde \ + --hash=sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99 \ + --hash=sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9 \ + --hash=sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df \ + --hash=sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5 \ + --hash=sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17 \ + --hash=sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8 \ + --hash=sha256:2a6ef68ae94aed8721934072b27a3b654ea2100b97e4ab864cf1489c90926fbc \ + --hash=sha256:2b2b1e18af909b448bb3cf9e3433366f7a8726271fc214e8b10e0f62a78c724b \ + --hash=sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea \ + --hash=sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248 \ + --hash=sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741 \ + --hash=sha256:2e5a7cd7fdd14fcb1ae5d7d8bf23d24fbd1daefd1fbca2580132e1ea75f098b5 \ + --hash=sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6 \ + --hash=sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7 \ + --hash=sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1 \ + --hash=sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67 \ + --hash=sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f \ + --hash=sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9 \ + --hash=sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c \ + --hash=sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc \ + --hash=sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba \ + --hash=sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17 \ + --hash=sha256:3d23795802fc8bd72534836d64489bbf0f67c088959091bdb22e10735a5107bf \ + --hash=sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6 \ + --hash=sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2 \ + --hash=sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163 \ + --hash=sha256:4a540e2d3192792fc84eced57bef37851ccb2b41f73291bb17408eea77bcd278 \ + --hash=sha256:4a7cdc2a420ca01058182da4253329764d4bfa055564d1eced90e6ba1e8b1d3d \ + --hash=sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b \ + --hash=sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634 \ + --hash=sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38 \ + --hash=sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed \ + --hash=sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c \ + --hash=sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148 \ + --hash=sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a \ + --hash=sha256:50b5bedc9ed8a94fc8857a42ef4f84a81ea88f8d4f05dc8705fb23ee6d8dcca7 \ + --hash=sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f \ + --hash=sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811 \ + --hash=sha256:569d65055d367e3dcdf30c3f41119467b73d9ee9faf332bdf40402644f5ac08e \ + --hash=sha256:57f9947a7e57a081c1e3e0a2dd0d2dcf290a4531450e6f611e30084c222a7295 \ + --hash=sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2 \ + --hash=sha256:5c22873ad1f0532ba40fa1727f3c0fc1bbbaab6d373d4cbe3f0dc74b2e2521c7 \ + --hash=sha256:5e8b3d0b18fd623afa12ecb2ce8d8becef69f9b5440c6330c7972200e0bb84b0 \ + --hash=sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6 \ + --hash=sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed \ + --hash=sha256:6669c1bf34080161ce49c589cc512ef24d4c704ac9d2b2d3667f519c60418378 \ + --hash=sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0 \ + --hash=sha256:6768d67d1bce64270e0fdc2e69309d68b9b18ae56ddf6c711d168e9d051c2cac \ + --hash=sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b \ + --hash=sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96 \ + --hash=sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59 \ + --hash=sha256:6da83a088f8ef93b2d483a8232a4dbf4d69d3d8496b568a03c56becac43e1808 \ + --hash=sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2 \ + --hash=sha256:71f88e749ea29f67f21f3b36433c1dc54c7729ed2a6d9e2da2e0d9e0d7b224eb \ + --hash=sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65 \ + --hash=sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72 \ + --hash=sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8 \ + --hash=sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e \ + --hash=sha256:7d3391b2188d18737cb2fa147028b1096236eaa7e156446c650a489fa2cadc91 \ + --hash=sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a \ + --hash=sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2 \ + --hash=sha256:811d02d5122171c1941357efd8f9bf4ffe907b7f0a1a4e729a880e4be3f46e3e \ + --hash=sha256:8138eb83940ec7299024d92d4dee45f601b9e6c5ffde9d25f4e35e326203c707 \ + --hash=sha256:83b3944fea42a8400edf92fd1770fb8d0d4f7de651353bd2d8525a92dba69a21 \ + --hash=sha256:849dd2bb0e5e4ab2b71c7191726a4a8d5aa8a610daa584728cbee0b710ddc4ef \ + --hash=sha256:8698d70a8081ee8c090dbb394768b5789a1da8b131b5499f89d071dd3cfaf6be \ + --hash=sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453 \ + --hash=sha256:88d59b473bfb03259722600839af9bbd7fa13a2eb514beefeedb95997882f69a \ + --hash=sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6 \ + --hash=sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977 \ + --hash=sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978 \ + --hash=sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581 \ + --hash=sha256:8f0fac8b13d14bb06c68195f849371924ae53dd7b1c00fed24650f704383b692 \ + --hash=sha256:9240187afb63d2f9ddc3e032c670356fe941f6e20662ea168a5dc3f1f317e1b3 \ + --hash=sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369 \ + --hash=sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a \ + --hash=sha256:9388003072b95f2f1e3fd908604194d653ba21330d811961a78b7da1a77e9e36 \ + --hash=sha256:9438a2648b2195980cb2dd8e53ed7b8df91319e2d0b70ae61a9e1d1bc8d3bec9 \ + --hash=sha256:94e4c421742086aeee4c32a506eec8859d7634aad943f7e6aacf70f813478768 \ + --hash=sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916 \ + --hash=sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b \ + --hash=sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f \ + --hash=sha256:9e25feb9e330b63edb0278a0acdf85e50d0cb0fbf49c3084abbe4e24ae195346 \ + --hash=sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c \ + --hash=sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464 \ + --hash=sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9 \ + --hash=sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee \ + --hash=sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300 \ + --hash=sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6 \ + --hash=sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d \ + --hash=sha256:ac0c7c9f1609b0c4c114feb1d7a3409564c7fb77e360bed9e97e5d25dfeaf868 \ + --hash=sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46 \ + --hash=sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97 \ + --hash=sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733 \ + --hash=sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe \ + --hash=sha256:b61687d0828e72bf5cda24a2690188f37170bd31c9359ac97e4e66569f120a16 \ + --hash=sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429 \ + --hash=sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39 \ + --hash=sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894 \ + --hash=sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c \ + --hash=sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c \ + --hash=sha256:befb4158af32106b9a93db8d6d1d1cbbd418c0d5aca0cabb7b1780abf0c89169 \ + --hash=sha256:bf053da3c97a4bc5ecfbb218cdd2983febd91c617be8367d139882aa11e490aa \ + --hash=sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77 \ + --hash=sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe \ + --hash=sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad \ + --hash=sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85 \ + --hash=sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e \ + --hash=sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34 \ + --hash=sha256:cf63c214fe879a65e69a386f915e36104fc84254ab141240f8854602d8e0be2a \ + --hash=sha256:d1aca03ede943eb80ab3d63bb082c84b7aab85ea83bd0fd0c200260945fb49d9 \ + --hash=sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c \ + --hash=sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749 \ + --hash=sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214 \ + --hash=sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932 \ + --hash=sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494 \ + --hash=sha256:dd8ea6ebee7aedbf7c749fa80521d9ccf1ba473e0d1e14805caafbaad281c889 \ + --hash=sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1 \ + --hash=sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0 \ + --hash=sha256:dff05cb7016dff1e9fd68f4122c127b65dfc59de5306cfb7ad92f956f230bee2 \ + --hash=sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786 \ + --hash=sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78 \ + --hash=sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e \ + --hash=sha256:e841068dc0be4cb6dfb5c890eb88cbdcff2f4a332393c7ec94e8e618bd32c1a8 \ + --hash=sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289 \ + --hash=sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c \ + --hash=sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe \ + --hash=sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237 \ + --hash=sha256:f291bcf42ae98eb5107edb162c3c998b4a89648fd8e99ed4cbd12705292788cd \ + --hash=sha256:f61efe1d2fe0de16158a5fe1d1cf3c14bdb6aecd54d8938fd26512c525c1f624 \ + --hash=sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19 \ + --hash=sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977 \ + --hash=sha256:fd9f8797427910198f95bced71ddfed61130d7e349213bfb8466c9c99e2c46a8 \ + --hash=sha256:fdb4ca07ab75ffadab4a8b135ad59cdbb3156b99310f3d565370da74a15d6bd3 + # via jinja2 +mcp==2.3.0 \ + --hash=sha256:8b147a50441cf059dc88c684e0aeed3687f0aa0f39c6cde7b90330effd2b34d8 \ + --hash=sha256:dd0c44c089d16453e8ae31a3877a0054d7a2314caaa81f5e0541b9b1734b2377 + # via litellm +mcp-types==2.3.0 \ + --hash=sha256:968efdbdaedfab06adae40d378a34395f1090c5921d4be3c9cde283aaf76d91d \ + --hash=sha256:d1e46549edb35ee19a94940fcee6d1addd7e589ab7ea92dda83f5d84781fc362 + # via mcp +mdurl==0.1.2 \ + --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ + --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba + # via markdown-it-py +msal==1.39.0 \ + --hash=sha256:2d2577886906cd7293850dffa2da29119966c213bfc6ec0cecf8bf7621e1ca77 \ + --hash=sha256:6ab7de335e6d7f5717e2c7e1dbf86e4dda2f6acf3c56773b78dc53ebc6395b5f + # via + # azure-identity + # msal-extensions +msal-extensions==1.3.1 \ + --hash=sha256:96d3de4d034504e969ac5e85bae8106c8373b5c6568e4c8fa7af2eca9dbe6bca \ + --hash=sha256:c5b0fd10f65ef62b5f1d62f4251d51cbcaf003fcedae8c91b040a488614be1a4 + # via azure-identity +multidict==7.2.1 \ + --hash=sha256:02009b402129a73e1f3da68f48eb999afbacd29f25aef0d5052b84ff5c2786a2 \ + --hash=sha256:02d9c04d395a36eeebe89e45f2269614a4675b8e83fddcba15bba2be903971e5 \ + --hash=sha256:03846be88267369908fcd9a91159358a3b142d740991c96e4f696d362fce516c \ + --hash=sha256:08ea94663d9e7c25d14d78222f7aee906c472d4837766bec62477c38f6e419dc \ + --hash=sha256:0c454b677214fa604e9c4a38952c685dc88a62c96f5576a7ce550f213d1dc318 \ + --hash=sha256:0c52fdd8cb8194fcb6969a417149aa1d09d6e48b69fb1b34ee1b1e4cb51ec183 \ + --hash=sha256:0c7b4d8cc9e6ae7070b8129bdb840215552d4e2689ca765d37eb208a24919209 \ + --hash=sha256:0d852d3d9638f852158d7de7200dd77f7ff8d77fc8f3d396032f3d847883f631 \ + --hash=sha256:0eb7fa012ab47b13e96bffc1369642f520adcc4e3d3e170d7f1a2b39fb953bce \ + --hash=sha256:0ec95a02f9f08246cc7f1d85ac425e4d5c233fd3f098f5be1b2cca16aa690186 \ + --hash=sha256:0f30d6eaf3cb309b6c21096c6c2b4cf3800f195a78b1babae85f481ce851bdc2 \ + --hash=sha256:12bbab225ce7f69df75409ab8005b11b4e9309fae863821e019e81b32e53a2a8 \ + --hash=sha256:13268013a3db11a214ccb6920f778d175b765f69a40509610b92e43602272718 \ + --hash=sha256:15da10cf11fd8d8716720c95b93180e94c8317405d89d08524c579ef360128ac \ + --hash=sha256:1d369ed297e79b417766327ece16bb7e89306c588df63c364a85d90d4aeac843 \ + --hash=sha256:1fb8c1a3480c130c3a6422d5f16f3cad6552bf08c2089dd288ba7134649183b5 \ + --hash=sha256:2022bd3194968a027f64ed16f9779e62e71a823a9df3971a7328c1d45dfeb9ab \ + --hash=sha256:21d86f2aa58aa428fb9909d6b8587b75eea827287e3515b8506dca86b55e2c7d \ + --hash=sha256:223427392fdf993e198644ec40c404fd93f1cd2a61328d18842ecbf154d02c82 \ + --hash=sha256:2529873a3bf68c372532a9f8058bcf4199e78387e92cd6a01b73334bfe6a7e3f \ + --hash=sha256:2592fb6c335d67f1912bf72788c02fd5dab305fc3c8c7eab078a5bec1aaa0f88 \ + --hash=sha256:25ebc4208d9098f77caeb16df895a0e56eb6c3b22870ac4e3ec43e0a9d6a33b6 \ + --hash=sha256:27166b6ec73eac37696d66b2c6efbd44b6d04b597d655070959df54dc7c71c0b \ + --hash=sha256:27cc258247b13008742f0e239933ad01dec5ed4e6dfc63849e30e04e1aa5bc82 \ + --hash=sha256:295a15ccb8cfde9351dd6062b80af4e839460636b3c46813b4aa443905ded86a \ + --hash=sha256:2b4d0c4e13d329ffee73d46128e32dd3b4aeb2f9c6ac9c8a89eb28d3b82dcea8 \ + --hash=sha256:2bac371da2c3554a99ba126f545e79ab8e8d9426a3e41df81d00ad725c1e2cbf \ + --hash=sha256:2c4e6a97f79699f33e6dc13bddb5631781ee79a4a94c1822116d100e7d5c136c \ + --hash=sha256:2d4cfbbb1023f0f6795b5395c400752fb23a5a09ba756aa9003886bbc47b3e12 \ + --hash=sha256:2e279ad5a6e9347bc9e043fdbee180a0480c8fd52618c3258e983dd93d98ed49 \ + --hash=sha256:2f3cf710144b1859f4128051cc27ea86eee83caac5648cf2ca0c1b835261cbbe \ + --hash=sha256:30572b61c7932e4d3c2ad1e580de7db1f35b7a35d36db38f89397ce3f2e69096 \ + --hash=sha256:335f715f8c111654f29e4bf19086bdf0245579d2b4f4f59ca8dd9b3003b859c1 \ + --hash=sha256:363e5db93fc3f65f3218a79fe108d217b9d264181a4e993c77552bfe275d0393 \ + --hash=sha256:36b868758fb11cfa748c788b793994e73660abec90f83c780a678539c2c468bf \ + --hash=sha256:37b161535e92776788957a165fcf38a80b33c1efde7b18cab287db4e4574df78 \ + --hash=sha256:3b7542fad2706595c1b1853b46f2c3c4ae5cc5a6252b7225f294d607a29e1bdf \ + --hash=sha256:3ca4e2e9102d0788b94894a30a5e3561fd4818a0605d8748d8fe780f890aa069 \ + --hash=sha256:3ca60708f0ca9d994f46790c5a5c774771e2f1dcb75b12c70a5582f915d0e721 \ + --hash=sha256:3d22ebb716ac79bf32c2a1d15250f017faef719114af4376e8dd814d6633cf0a \ + --hash=sha256:3d6fce7cc4ef63d9a7633cbae43e737798412805a4c3ba876cdf472dc6ff9c51 \ + --hash=sha256:4b338b45dc26ca4bac702e1278754f78613d4d0081e14e94e44fe8e261bf1750 \ + --hash=sha256:4bebc9587cc29359e3b045518a7a09264fa882a7d165b0d143fdac8eeb7ea948 \ + --hash=sha256:4d61be3725016ef5db3543c95f1f062d7d150ba776582d959a982af88e75fa55 \ + --hash=sha256:4eb2650aa240b62ab0c6d87238bee5d14aa4d411c0d69ad61be53e026e0785ba \ + --hash=sha256:4f31ddf9c00e0e7db848b0236c717acbe8a51954d0d31b4d908c538ab3f0f5bc \ + --hash=sha256:522f7d2351743804cdf5c5a304bc45f9d55e935dd87706fae2dbeafe0fed0b49 \ + --hash=sha256:5324411117bdb67cfaeb3d1d28fb783710fcca3d88b855696af99044d7219e4b \ + --hash=sha256:554ee1d2e71fb5b4059c0c4ee35d8cbc8af2a3147036d65a454c53fea07ff4eb \ + --hash=sha256:57ac987ec5d26d89bbc48c03e486f659e1367d425c465552ac2e4c4af8219def \ + --hash=sha256:57b5d0df4c60ab8b1159687610a1c3ae069ad2380d390a79dedff5c82318e714 \ + --hash=sha256:584ebfa26c9dcf3e465637a5a9afa2647bebb3022b50b1ff384834ba8e0380d1 \ + --hash=sha256:5a7df927c7999d1d3196176a8d4139d3a0e1765936f5de8c768097275b2d617a \ + --hash=sha256:5b944091cfa7da4f7a9bd2587569cd90c94b89ec4721f8e87fe62504f2432b67 \ + --hash=sha256:5deadf03fb4a7842696d551f9f9a06dd4445bb43ca06b5f9736e4e1885561333 \ + --hash=sha256:5efddcdbcb73f5485dca2b6624edc8ee063604b77bd3a3eb772826063965819f \ + --hash=sha256:65e4448dadc7c94a8643bb41361e45f3a73d46e36a008a9bc03e9b525f4d7c80 \ + --hash=sha256:66af55b07e4593790157e85f897f06983ded8a8692cb2fb048f3049c1d3fa172 \ + --hash=sha256:678ac791b5820d9346eb13c8515fe0c9383659335e5cfc544bf6f54714ca1939 \ + --hash=sha256:68b97b721d95b77d75e718d1b62a227fa4b3e647bd2a9fb39552d1a79ffb67c0 \ + --hash=sha256:6966806cf917cbbeb9a8b5c581db52e19c9af0ef5fe009db54c1f5799a6e003f \ + --hash=sha256:69befda4b1ef57027ea95dc6ed733568642f330fb3203a3e5c5ef107d41e0a1f \ + --hash=sha256:6e22756c6e2d4f57ead0d2e6be179d8a16d661bee424b81de0c6c0c1305ec39f \ + --hash=sha256:6efdeed2723431999cf3bcbc84c72dbe0f65d16bb1f84e15a657f5b60ff18ca6 \ + --hash=sha256:714fe5f3eabd153b1b6911d0b5d31cfc2b808ae6b9e59a32fab17a4e6cdad5a6 \ + --hash=sha256:7238f7135481926d52a94c18a8cca633a9e72c1cbfccd5796548298a479b0656 \ + --hash=sha256:74d3e015c28b43b6c1a108eec324ea2efb185c359c459216cabd4cb98f7f02f6 \ + --hash=sha256:76a4f5132b8dc29eb3c768ee9b47e132a1d24fbc2e9259854c01af9beaff1d49 \ + --hash=sha256:7726c53b1d59eb57b009a9e8759d4f71049ebdacf30642a198a197f80cea451c \ + --hash=sha256:781ca5dfc2f1d58e47f52216a0c1c7e1ba91ce8aa235459e20de2d402af77fb3 \ + --hash=sha256:785ef2f3e372dabc131f228a275f97eca92ad17cfab1ab138790e330d99abe3e \ + --hash=sha256:7cb1a6bb70edcc06ea65cb9a35654f268ee39d9fc3a52240e6ba074db4d9c99e \ + --hash=sha256:7fb3bc8d58e1b7c1d9fa1d995e30a4ce9dbe49f4c63c755a1ffdecdfbd026ccb \ + --hash=sha256:8148c2aaaf4b85d7872f024c8bb0c9b9797cc76b10588e3594a69cb01057472a \ + --hash=sha256:81a5f84a76401c4330e6db4e170dddd58860b30c4e8a44a181e5c2809c7f9c9d \ + --hash=sha256:81c6fc88ac9bf6920a0cdf22d3c383964167f12d35eb630463fc6d5ac89e460d \ + --hash=sha256:822a7fcd33f6922b650e1b26594f09d53c5d011fe655fea7ded27b2728ce2a1b \ + --hash=sha256:83fbd7cfaca614975efdbdcd9e2df45f3e987e819216468fb73e1db6f0365b98 \ + --hash=sha256:846b17193f1c373d6f05ada894fadf56bce2473067caea0aab51828849894b31 \ + --hash=sha256:8648dd5dc4d5db32b5936dc5e85e9a4d79db1135513d40d1f54ca15503750324 \ + --hash=sha256:873d35366cc115be02a1c858f9b22a1a9f6182b99aab2171ee5276af02a153e3 \ + --hash=sha256:8c3ff4f5c376df7126695a52af61e6084b69c9e52dcb9f4713e71ce9819e1bfd \ + --hash=sha256:90efd90a0f9b7ae3844a4fb3ae614321832d364ae19567b7cd312315fac4ec39 \ + --hash=sha256:9306e0c5595f91874e685be0a9eb743d48ba069c888eea051bec3c67c08b5b8d \ + --hash=sha256:987f65f6c9321402bc7012f6c6d09ba501b88ddb1640f5b0b4a19f2caafe24a5 \ + --hash=sha256:9a53776adc1ba923c9e345fdea7b61553c44c17a9af5eba8d8def8c5dcac4dec \ + --hash=sha256:9c44bd978adddf39df5834c6a1efd7d075c84769a7a084168d035a2a276d9008 \ + --hash=sha256:9c9f285f788acf2448a57c9b93d31103ac69bd03f92907e2ffbb23c4e2b42eb6 \ + --hash=sha256:9df532dd12c59a7a4d381646fc1bf5ccb4bcdbd01c0887d07ec769fae965ea9a \ + --hash=sha256:a0f999155c22c8929cc492949c08c6fe7ec8079a5e1bfdeb34b9a3e4991959d0 \ + --hash=sha256:a2a322c8a6ca82a5a67ae6542e9c6a13ded9045cfd171dcccc5c213ac4fe0eab \ + --hash=sha256:a3d28ac22fe658ad7486d1532b3a9084fbf65b428db31f47212c5b0b6da826f1 \ + --hash=sha256:a3d9a59bcdf8531d46b56bcd512017533510c25e955c2c546efd0743bd840940 \ + --hash=sha256:a789e3d27fc5665cc0477f10a35a89383313e4c9cf8b5e6af7ea71f039cdcc0e \ + --hash=sha256:a7d120bdde5b213e67ed7dc80ea3adf4f014453fbc20195d619ba2ceb34084f3 \ + --hash=sha256:a878fef2797a7c082aa47559af68299372edebc7367bd5128dff2d36e6d820e1 \ + --hash=sha256:a92e3080d8889b0f7a80ea0c4a72181b4d4d5d3918a03136b4a459f51f5f59da \ + --hash=sha256:a9cc121b5ee2c8b4bd4b6b526d5a26bb782f4d620463f73707691b2004b8c349 \ + --hash=sha256:b4821bd30b38144d8ab75df56af0b07e9d71327c9cf94c0c7a1965f865bb9615 \ + --hash=sha256:b5fb6b048931ea925b484f0c7c01b007981415a00a6c62ee74bbf8d229d39c08 \ + --hash=sha256:b63acdf4df5a78a15223bbb510bb3e0f8234dfa807610ccb8796d0842db2c801 \ + --hash=sha256:b81ff0f2d375988152614eaea4d5023c98ecb08f77df4bb1d96762504bb86fca \ + --hash=sha256:b97bffa5772b7e853303de094829fcd3a9bd49fddd70534651ee4933691f6587 \ + --hash=sha256:ba5e8d9310a794b853fb0e327d46a827b5b015576341219a591f88ed9d799c27 \ + --hash=sha256:bc9decb36abd00ed5d123db9df70eb9a0da45d6376d86d64f4a94bfd5a1b83fe \ + --hash=sha256:c10ac5e3e76837180656079008f71add8339b00c3c26314092bcd1e8e449049f \ + --hash=sha256:c753b820738cddc097892fee95e7cd716fbdfc9640414c5e9ce9463ad125321b \ + --hash=sha256:c85a0a54a19429a17ef449e967baffe7b5089cb4f6ef2894c9168a69fa024d05 \ + --hash=sha256:cadd02ca804d6ebe799a7af19197d9730094fe2cc74b70eb4f374f4b8c1886c1 \ + --hash=sha256:cb43bb34346155d479acdc5423afccdff79ce1fc66adfcc9de995cbec8a13acf \ + --hash=sha256:cb7fc8820b206932ec6d8f8985aeba6edfd2932e13b6c4bf2434d6bcbbeef3e1 \ + --hash=sha256:cba29f12cd717f1cbbe220edf005666f8df0453347217748331a0c2f7522eca4 \ + --hash=sha256:cd69c99affd1b4debc1f9a53058ea6e3a9b34f2e733840bb45891666cd8ede0a \ + --hash=sha256:ce0f884408938fbd72e764031d0e23a8f5e438a7bf73641089c7a6465cb84456 \ + --hash=sha256:cecb2c778f00a65c6ca01410dd194d0e797a9eebb7c6dea0db87718719f293c7 \ + --hash=sha256:cff7657e79224dea46f2f2e58eb99186656ca63ebe356212210c5c00e9beb814 \ + --hash=sha256:d0381074dc21225951278d7e4a7a2241f7fb86a4d8b94154dfee1411f49cf851 \ + --hash=sha256:d094951489bb7836342c005e790bd005e60b669aaf5c936b96dd5d68cbd2e23b \ + --hash=sha256:d10e49b940e70e2a4e91f44098007dda0bacb78c3f8e31ba7a37ee2ce52269e6 \ + --hash=sha256:d37773029ba034a2cc970b6eeb67dad3bff9d894393c51f6bb1c6b4f563a032c \ + --hash=sha256:d4af0d863e72f3ea48e85d3aa1d1b426fd81e9544fd7976fc6d6753584a25b03 \ + --hash=sha256:d5738cd929f2af8651ebb284467acb58b1ec0f2f4d42489cd0597172bc82e15b \ + --hash=sha256:d615377a8e7bfc4f1983ede3f411c2ac2b0f7c3053f262d0437b7d8bcc4485e3 \ + --hash=sha256:dbda2baafe08f8431fd3333be02c261023fd454607e3bde5e7dc00565f7bebcb \ + --hash=sha256:dc6f3dcb08c4b41e64f2d6cf272b5686d9144db585b2e138a8b1664376ab3921 \ + --hash=sha256:e0f2b33a6ae233f4da38c77ea32f90aab2cb82ba819d7b6c4f1b68cd33d871b6 \ + --hash=sha256:e47d058c2db95010f5d2e1f6037acebdfb0e2fa4507650e1041437985c91db38 \ + --hash=sha256:e64b86d16158954825d12799271979c6944c1fd1d03575b2f22e869c3f7d00dc \ + --hash=sha256:e8af3e6f1bdbc31fd762b094133b478b89988eaebc63cbe82b1d9e3bbd15cede \ + --hash=sha256:eb5c4a5b1281985271b6c29be53f2c1a9decf11e30a0e2733439c4d9d61b9ebb \ + --hash=sha256:ec4ee5d2d624088775e61cada87bbe7629bfd936bfbd57f122a106970d8ab1ee \ + --hash=sha256:ed6c107642a9acaa7ede32dcd428a6c87e302c5d555ecd3ec132ffa8c6155b4b \ + --hash=sha256:edffdb3950d3a8b769ddaec3a0962fb7b76b3c96f317f6b88500455a537dded2 \ + --hash=sha256:efe695cc2081633b02fcb95bc1b13070f6647c9ad52d42a8beeb3c2a7ea062dc \ + --hash=sha256:f07f06db2e333b68dd52560b8b0b12b6f8bf6053cedebf9af4aecfecd2dc1b32 \ + --hash=sha256:f15205c67d4c45250fcff5da077f0ae54102b5bc39e9ee8bab90d99e09a728c5 \ + --hash=sha256:f2087ee23a18d1d618a135eedcafba7dfc40c6be4e8e52d7f29a1c8a2344cfcc \ + --hash=sha256:f278f118f9fdb5faba5a6792be397fbda094d1568efa4dfe8c3595ce4ce89eea \ + --hash=sha256:f29885fef157a602d1816439e5da964c70ebcdbbcd4bb9d2d21b7e8bb5636604 \ + --hash=sha256:f2cc27ec6a53b1d39bab44d2b9dd21cc31e796d01b5e18a76d569721282bb264 \ + --hash=sha256:f332b16911ffc668baec6aaf8f08a09e1af34a8ee87ccac26bd722589e264645 \ + --hash=sha256:f5812cfcf7daf3ace5fedf6e2ef8d4b342c92fb8ea3a87c1aed2b50453271093 \ + --hash=sha256:f62172cf387e92f4928b60e5936b02c06e3c8449ed7fb440978d6c9bcbfc85df \ + --hash=sha256:f9c118e866164ce05498d9106a4bd01e745321403cd6f0b77a0b2587768f8c06 \ + --hash=sha256:f9e78d98a29e969a001e953eb09167a48bbc71249e804dae5db987ee7e6531c9 \ + --hash=sha256:fa0ecd064b0ae18d235283abb5adbc4e07304dba8f2aa7c0d61f28bebcc70d4c \ + --hash=sha256:fa949c81e3865c10f981dea72fd8d418b59edd13a047a0aee89ae64790113d53 \ + --hash=sha256:fba33e264cdd2ec43b762b9960d1648478eecfc1ce6e8159e7573510f0412c0a \ + --hash=sha256:fc45ff19520bc5321dcd9c6dd7df6f35ddd894eed35e5be65d1828a9c3f5e7fb \ + --hash=sha256:fcfebcb537f419e415b6e2bfc77ddbd33abe3c036f0105410a25a14741df9c31 \ + --hash=sha256:fd24c4425fdb8e822601335602375c6d0cb020f7a368e1d5842eb7925a9c8748 + # via + # aiohttp + # yarl +nodeenv==1.12.0 \ + --hash=sha256:4ea7f88339310afebc3253f2c7a91b94bacf97d73a36a5c108962abdfaca501e \ + --hash=sha256:80644d65c10cc2be12e3e4b54b3367ff288c7ad24ae75c2dcc65454fc7449d4d + # via prisma +numpy==2.5.5 \ + --hash=sha256:08f1b9abf1707fa89c125aaa17e78389c063fb20ce37a141b47821e996f4a1db \ + --hash=sha256:095113ee2ceab6a9501b184eff5ea806973d3a63d74a8cbc15e4911e754da9c1 \ + --hash=sha256:10396f7c5ebc37d8f3cbdec44e3313912ccc2dc5841cc905de5de54ebbe8e2d3 \ + --hash=sha256:178cb1eaed819b2cb4e398c554b0776d1499f307e30cb58b9bae1921de35dae6 \ + --hash=sha256:1c24be6a82f5f257afc4dbefde4c3b56dee02146dfed2be2811940e79576b237 \ + --hash=sha256:20145b11776d2f7570cd61351b156a51d3a341822282095baa819d87272bc710 \ + --hash=sha256:228e3d90e967495d61ddc79dd64e95267aae3bcf1b1c516a6186429106a0b444 \ + --hash=sha256:229743571f901a082f031f511dc4f926b4b4a714075d98b1ff2af62d836365ac \ + --hash=sha256:263b2aa236d752b18f90c5107137d24b2e3856d7db37725609f0ab5bcdb58881 \ + --hash=sha256:2a9c502cdb9a3050ac1686774624cc278658b11f72e11b971a3a8542d6ded357 \ + --hash=sha256:2abd39cfbb3d2af11e9bc8cc92b08cd089b0975fe9b1a30c8b7c740c67d397ce \ + --hash=sha256:2efb2ae4e0414b6bd636dde7235c158cd65dd52891ff64a320a4847a8ce7400f \ + --hash=sha256:31e5be6cd4b896004cb9e416741612ade530fc9a04bceca5219cf66a675113b4 \ + --hash=sha256:32dce94d74bb4d5bb058d65b0d9dad7fa61d07ff9375fd7695d8aa7ea82ee73d \ + --hash=sha256:3cedc2980b45794a6a2cfee9c8c3a80f04517082cc1d387e4cc895506c481696 \ + --hash=sha256:3d59ab8f6bfc4ffd29b0f558450e17922c1bc88459882e37726fbcd5834afbfd \ + --hash=sha256:410eab02c6718cb42d06ccbb8604659f3522d2ce06ae70cacd5042092659f5af \ + --hash=sha256:4302902ebf82d37f446664757be59db53587822c8b35f16368ca69fe66ec4315 \ + --hash=sha256:479e43c183049ec1a820eeb36549e493924f56b3e893a1d5865d0fff12abad47 \ + --hash=sha256:567994389edd2963b643d63d826138402a63401176f1daf84dbb3204eb838b39 \ + --hash=sha256:5cddc243c75114ba845f01b1f87aca1572dbf7b6c2d88636ed3e1d2bccd7f1bf \ + --hash=sha256:5e202d5facc9c0681834018062466d0b3eabd48c540c3570f72905c97f641a90 \ + --hash=sha256:704d819265e5d1064d932968e9ee85fff2103ccc78c05b878c06943ba27b8507 \ + --hash=sha256:7ca51125c76817de53473dae31ddc17213776472761bea9cca68a1a0037a4827 \ + --hash=sha256:7da9a248f149cfbb220c6da964a59c8d051d516704f7758acfb81eb382a05d97 \ + --hash=sha256:7e71ac4284c700afa654e2d15b1b174166710dca932f24045e5dc92001b5bda0 \ + --hash=sha256:7fb87c4bcc73850ef433a0c42f096b010d3d3d284e9d00028bb030b43df3d078 \ + --hash=sha256:824025655df929268bfe6b47ed91a00d14209a6f760847cf150be446829e1ce4 \ + --hash=sha256:84dfb1611993a3525b250c955b1e2ebab6ce0ed36e4ab4dd5746432dd362fb5d \ + --hash=sha256:86868185bf4b6c4e5a8628ac42cfa165cd9530266c731f7dd1d11b4ad7e7cd1c \ + --hash=sha256:919eb420662b0b4ba34889df503f3d5329775b0c1d5f7e5f5af4fba8315b1e30 \ + --hash=sha256:9c3e1ac3cd5d3329f4d38709ff4c21f0621bbe8779c094d6de8ec8347246fcdc \ + --hash=sha256:9f44875964889bd9088cf838d191b58c04088d10b4dc9b140e9da2431ecfbb60 \ + --hash=sha256:a0750f2156d53446caca85663d0b65d67214e1664b9050454a731ea1418d176a \ + --hash=sha256:a207eb88a18e30add597c366c1db7e79f48fc94084b8e7dbd0eefb95a645db12 \ + --hash=sha256:a3856a97e48ed8371c680fb04120b99fbcc29f2076ebe6dc3deb34f77947c5ca \ + --hash=sha256:ab3ff087826c49d07953d0219eb00663ce5b1a0ef0a6b757e1ac041b09387428 \ + --hash=sha256:ac910558645a4b006f70596b450712b8564730c1b2ac10291fcedd656d321ec0 \ + --hash=sha256:ad0c8b963f9281f2eb118e283eb61964c716c8e344ed8e8c309b49c586d41ed1 \ + --hash=sha256:ae2b8285d0b4eed24739c3ca9ec0fa424a0247489c01e1d5fe2815a599e11d33 \ + --hash=sha256:ae9cfe4e985139c5f2db69d4310de7348bd0abc02cfdc06991c4419065f6fdca \ + --hash=sha256:b3d328eebe0056c634878c251131d73d74e0c4af317a3aea718816d6fa0bb963 \ + --hash=sha256:b5d08742de581c9eb61102768ccca125a2982913de399611b56981a07278de74 \ + --hash=sha256:b6e30929e3443f46aa7be2749fb003fefbbad6b6a1e2168bf8850a55b657914a \ + --hash=sha256:b6ecbc1ff292c6799067d8064a4dd35cd25ba9d1a24aa41dd635d701691a49b5 \ + --hash=sha256:b7dd0287b6cdd35a27d5678a56b1bc508ff206c2b78b30b4821dd5c3197b393a \ + --hash=sha256:b96e9ee49ccbdb5676359f852a4497f7a9c5df6c377d8877f5330d6fd3ff42e4 \ + --hash=sha256:bea7de36bb304a850710c1dfbb35e7cdb9a005928106a3adfc6dc3a753469dec \ + --hash=sha256:bf6fa5a4d73b3a9699a57b8824d4863acde7241808a5305882222843537f02a2 \ + --hash=sha256:c48960d420e90cf305cb1fde0d4e6082cc90512cda87a9acf0b6e04e91cf4abe \ + --hash=sha256:cc6eb7502facce90349b4097a26821af224aaa0ab36e78304711cdb544352882 \ + --hash=sha256:d0c7c0dfabdcb7cde080b7c9ef301c7533e90110198b39965141a903c7dddcf8 \ + --hash=sha256:d64daa409e9b1ac818b0c59e47b005f802e130c8281e40c6a2f7e70c43f75e0f \ + --hash=sha256:d7d9be35d50366fe5ac28188364154c9e1e22ad1b977a06c9465c0680c8eeefe \ + --hash=sha256:dec156cda7322bcb1479ca992794705fe226a911b0ffebe13bff97fa1f3be63c \ + --hash=sha256:e0608d1585557b68dcb6a70a41654f7536567960afad79d91752d2863b242b68 \ + --hash=sha256:e0b87886bb45621d9279dad4ab9f2d154b5db0b019d378c107b8f71527b06a4a \ + --hash=sha256:e0cf407a83118faf0463ade48a4533982f1737c7c58aac29e08855f7d9ad2977 \ + --hash=sha256:e10e81d1db6c8fa507f61bebfd1ea383971dbc40c2005ed4db88fac5538b1ef6 \ + --hash=sha256:e99bf8a3d54693f2063fa6c7d13955d460a9f543d9dbc80e69a92da288259b28 \ + --hash=sha256:ef2a874cc70e2132c1c499268bdc34e211a715e481bc33c97b8a0190f2559295 \ + --hash=sha256:f5e8603f0892d1b848e12124863b5b29af72383ee9b25ddc6fe4967d4c1ee6ef \ + --hash=sha256:f6622e32cb46c60bee3b2c7dd7f5c22bdc86fcb8630336b4822ec81c3986111a \ + --hash=sha256:f82a7567c590ff266f8c18fd527a0662edde074de11be256541a656e274f2b05 \ + --hash=sha256:fd47c92e0d1e53f9498b1a30305072434fbae6b5a305cbcab514f959e9ce0fab \ + --hash=sha256:ff5c1ab54a637c0adcdbb69ad10e5c4f1c4dedba69c0d1de383249b70c36908f + # via soundfile +oauthlib==4.0.1 \ + --hash=sha256:3d73febdb6faa00f277c81fb04be7b7586fb96fc3b7f0b9c772dada69a25ede7 \ + --hash=sha256:498a298876e996301950a5b053d12c31628bb7b895db03666430c69ce182eb61 + # via fastapi-sso +openai==3.55.0 \ + --hash=sha256:376608c04596a8add1c049ccae8e0818849ccecd598b385c38dfdfba6275f5f1 \ + --hash=sha256:82f8df6cbe8caf6042cee8c5bf6d6f4289602d01dc0d5a6b948a51cb2fc07cdf + # via litellm +opentelemetry-api==1.45.2 \ + --hash=sha256:2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34 \ + --hash=sha256:d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4 + # via + # fastapi + # mcp +orjson==3.13.0 \ + --hash=sha256:0526a3456db67b264c6d661b5f090077f326b6cd074d0ef53a72763595dec5d7 \ + --hash=sha256:08bf722f923d2100bc5e5a5dcf72c656db557049c1bea26582fdd5dd9d5395a1 \ + --hash=sha256:1807c2fa49d393c7ee95fd1ef1b39cbb24aa3ccd81f30b84503ba59407666960 \ + --hash=sha256:1d84820b2ec4ac975cba482214032de5b0dbdd17046170c98e642ef9c4a4ee4b \ + --hash=sha256:2715c4808d1571029ed18fd07a82140bf3ba7def0dc89f8d015c416e3649bf87 \ + --hash=sha256:3ef75ed7e81dae34a3649f82df52cd85f9ac839a7d6ec78ab355b33b3b27ef7f \ + --hash=sha256:4329c19b8a25693f60a77b867c9d2a3ab637b20e36f5b7bea7f5acb492b44b15 \ + --hash=sha256:45e34deb3437509f4ec9888dd9ee5dc426cfe21be10f1eb4ea3a9e4d33034f9e \ + --hash=sha256:4e5c8175e1574dcbe446ee654275d353c1d78bbd9a0dc9f209bf35c9df72d171 \ + --hash=sha256:4ee06e53b998c71ce3eb93b86222912fdd9dcced685ac64d4525d36fac338ea4 \ + --hash=sha256:4f66eac85b072092e9941c3111882afd7527bf926cbc717038fa3654b582002b \ + --hash=sha256:50a5202ba388b3850ba24437951727d3aa6d79a21964a30ae8dc6a059a5fd34c \ + --hash=sha256:51d11525bc3ca736fa97ce4e4c7da9999cc00bf261522bede43b4e7531bd7965 \ + --hash=sha256:554948becd1110123ef9f6a6e1310fd92b2d07d2cbac6dbf65df3de75702e736 \ + --hash=sha256:58a9619d88f8818d9ab6b39d70d203789457ba13c1ed5d274f33ce9ae7e81a36 \ + --hash=sha256:5ef4d4157392a0439b74f7e49e5636b4ea43d9616bd0884effc0195fffcaa2d5 \ + --hash=sha256:637dbca1fccffe83780e806fbc0f17427c0c59bf822528eb0acc8f0aa9f19acb \ + --hash=sha256:64e8f345048d988c8b68d3882e5d41028fca1219a9939b32e4a77be34c8ae8e3 \ + --hash=sha256:65c4e0e106ccc7265b488385659117a6805c37d042f737558ecd68aa0c67ad8f \ + --hash=sha256:6adcaa85d79977659a448b4123a88eb33511a11ed2db243535ad7ea88a6668e0 \ + --hash=sha256:6c8bfe728b81b0fd58a3c7f3f9c5a113f87f2992c9948e0f28707aafd737c0bc \ + --hash=sha256:6d0684895b119ad167fb4ec05113639dc7f728022deec4756a710e838ed92e7a \ + --hash=sha256:6ff2a2c67f35202f7d823753d38ad371a9b7fc297567cdfff4420e763cb9f6f8 \ + --hash=sha256:7804dd1d6161da0e53b284c2aebf20f23e78eaac617300803e1467d1828d987f \ + --hash=sha256:78a12d4f8d740cc9ae197f5223682e5e960ba61b4fb2ce5a6a3bb54e83fde28e \ + --hash=sha256:7991921c5da527a963b6d4cffd0e4ea89c7e71d4be0c8be1bfe6edb223ce7d96 \ + --hash=sha256:7b3bc6b81835ce65f4729ae401607583d41139c6de95bc7453f450f1391d3e7b \ + --hash=sha256:83705c12b4afde10c62a5dd3fe6fdb21b7900bd0dcd5af1c85612ae94d0ee590 \ + --hash=sha256:84d87e322e1674408f85adea63f11aa19201eba082755aec20ebc217f493bbd2 \ + --hash=sha256:8594956a75223f657e1e68c568c0eeb3dd145f02cd6b78a47fd9a8095dbc4eae \ + --hash=sha256:89bcf2d4bc6c9a7e1763c8cf534f38712e66b76a0fefda7fb7785462f0d635e4 \ + --hash=sha256:89efecad02515df7f318d0613b5dfd6d2a1acd323a2b8294712789a715945525 \ + --hash=sha256:8c2ac5c09b017c484df1b4c68b2cf250b4e8ba08204cb58e7cd6cbbc71a9c902 \ + --hash=sha256:91d933e668ff0ffe164d7c2daec36beba6d1ce7fadb71538fbe142a71f8a1e6e \ + --hash=sha256:93c70a5e22bbbbdeafc7b273441e8452a196041d67fd4d9a9c450c66370a8486 \ + --hash=sha256:948bad47f2e2e43527f14248364a0e5dee26dd3184691010ec4a1ebeb0fd6771 \ + --hash=sha256:9825b954155b345c4759f24e5f8d652b9aec2261bb5d4e1abe06bba0a1200535 \ + --hash=sha256:a0377d6962fa431c93ecd78fdea771bb62ec545b24ee0c5d4e32acf2260af259 \ + --hash=sha256:a79cdc4934fe81f593072c94e13da3095e9d41c2deef8f6ff2901794ca1c5042 \ + --hash=sha256:a7bfc7db961c7d96cb75889dc6a1e4ae1e91d87ee61da564f582bd742b8dfeef \ + --hash=sha256:ac81530647c3423107cf61c3481e91f57134e9ddfb6ef83f5150ccbdcbc3a3ee \ + --hash=sha256:ae1d895cf7bbfd50ef34bb63bb727b14514f259f3e3f8dd010783bd38e864c6e \ + --hash=sha256:b081f0e7b600ff24513dec4ca75507fa05e904607847e386e8310d5b7b96b6c7 \ + --hash=sha256:b571236d8393edcd3236e07423f762bfcf571f852aad667a3bce9e7b755e0790 \ + --hash=sha256:b74c30e56346aad067937d766846ee74c231d1d18aad3f324e9b9261de3b2d5e \ + --hash=sha256:bceadfd314bd238f584fc229a4bbaf0e573597e7a026dec5429fbf29fd66c641 \ + --hash=sha256:c5e3ccaac3106e8fa6e2f2f6962449d7c757d7b067e41b395a19d6f0d6cec892 \ + --hash=sha256:c749ab3ac30b5ab1ffb7677f8b92eacfdfdc5260210baa398f845bc3714c05d8 \ + --hash=sha256:cbed5f4c4b88d94bcc36115f4c3bb3aa25da1563a5c3328aa3acebce2b083040 \ + --hash=sha256:d1de5eb04485110c5da4c657e49168995d55e076b1ce60f1a042e254f4186c4f \ + --hash=sha256:dd61e64802d51d1e4f16531c64536354fc3bc67932dc0cff254044f72bf0f187 \ + --hash=sha256:dd9d9a101bd8dbfad112170f009cd155e52bb8c936468821a0d03cbb96c0e426 \ + --hash=sha256:ded33b972cffdaf4ca0ac917338ab61d2bb10d68987dbcae641c313fbfdbf499 \ + --hash=sha256:e8e05549f3b30f9d8a8e28c5aba11cc2a4b90b90961ec685ca58444b0815fc09 \ + --hash=sha256:e9b61676116f755126b90e740a9cff36b91562f47ec330056cc88cc3b9f02f4b \ + --hash=sha256:efa160215c4630836d3b1250af4c7a305acd8239e0d75aff986b8088c2fcacb6 \ + --hash=sha256:f5c05a8fee59309f537590a1ff12d3c1009c485e96a50a9ac60dd085c09d0fc0 \ + --hash=sha256:fb8644dc6d705e1269ed2842bf4dbe2b4e50d670de503bf79d5cef3a5148a4c7 \ + --hash=sha256:fbbad6b9b1da43f25c1f5b20cd5a268e028a2fc95d5a8d1ade6059973bc71584 + # via litellm +packaging==26.3 \ + --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \ + --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c + # via + # gunicorn + # huggingface-hub + # litellm +pfzy==0.3.4 \ + --hash=sha256:5f50d5b2b3207fa72e7ec0ef08372ef652685470974a107d0d4999fc5a903a96 \ + --hash=sha256:717ea765dd10b63618e7298b2d98efd819e0b30cd5905c9707223dceeb94b3f1 + # via inquirerpy +polars==1.44.2 \ + --hash=sha256:1bb331f17a40d9d931101533dcd33637b66edc61eb377b07020dac16a0f0377b \ + --hash=sha256:86c8e26b6c2de8c8d344bb910b74dfc47b118ac3fe0f19b44909467990a0b281 + # via litellm +polars-runtime-32==1.44.2 \ + --hash=sha256:10c0c695a418407617b5159db7d9a21074a733e4c6d61275b6762f25cb31ca99 \ + --hash=sha256:1fd536720668ba203a16a20b08cd6b23057e407a0279cf36b2f35f879d6e3208 \ + --hash=sha256:8598e7a20efba70bb74978c7df7af7c606ff4d79b9b48fdd808250b189bc9a13 \ + --hash=sha256:a1bafb441e99199a62c63bf1bbdc0ea09ee9776dbac2bf31452b5000fb1df2f7 \ + --hash=sha256:b84842f7d621aaca7a52e165e19a24f89db45f8aa13744941430218419a14a67 \ + --hash=sha256:bbf9b45040291dc1c6c588c837019c33557bde25ec536562a9cca9e1f6dfcc45 \ + --hash=sha256:c4a09fb14aad711526346efc0cb2015c2fd0555ce4118b6524e5debbaea65ff5 \ + --hash=sha256:d51040d3ab40157f6db3c62be59cab5b80fb3c8d158924769c4982a1c8eef730 \ + --hash=sha256:e0fd43720c8222ae39919c8ff891636d53b352706087120e62f83544dd3ff782 + # via polars +prisma==0.15.0 \ + --hash=sha256:5cd6402aa8322625db3fc1152040404e7fc471fe7f8fa3a314fa8a99529ca107 \ + --hash=sha256:de949cc94d3d91243615f22ff64490aa6e2d7cb81aabffce53d92bd3977c09a4 + # via -r requirements.in +prometheus-client==0.26.0 \ + --hash=sha256:04a91bcf94e2cf74a44a1a874d651a2e853ed354b6e822f3b7487751465d5c2b \ + --hash=sha256:fa93d06737aa02bacd05794768508bb97d2fbee28cb3bca04eaae92f0ca953d6 + # via -r requirements.in +prompt-toolkit==3.0.53 \ + --hash=sha256:01c0891d7f9237d5e339f7d3e42cdae80b7534abb1c7c0e3352efba6231492f2 \ + --hash=sha256:9ec8a0ad96d5c56148b3f914aa79c1564c3fde5d2e6b876e7bc327e353cf8fa6 + # via inquirerpy +propcache==0.5.4 \ + --hash=sha256:004e685b315646c410771836e72a44f143bbe624f29653a42687815069a303d5 \ + --hash=sha256:02c0a34f16889cf800f10f0247a564d8ce6eeab6ffcd7c87198f769067eb8432 \ + --hash=sha256:03969626faf0783a592dfa17e28eac06018bd0b44dafae6943d53b92421a7f72 \ + --hash=sha256:03b229037d25b801e7af53fd52b9fc49d9439b036fca1e087e02780631adfa97 \ + --hash=sha256:0951315a6b3142ee2167404d707743f0157c110091342b1aa0accac5cf0e4acf \ + --hash=sha256:0a095db8e15a6020db149ecbed6461939fe74f6acaa3ae8b702a1fe8c38cd983 \ + --hash=sha256:0c889f6fa84957bc7e8b4eab71fd16a0455068d5045e3aa40c733071d2b2fd77 \ + --hash=sha256:0d21d0d2c82bbfeb1677a9711f38df968f9837576102bb4add1bd449d28d88f1 \ + --hash=sha256:10ef33a68a61ce317e095fd2e202a592ea92392b90944a78c993f0d9a73ab06c \ + --hash=sha256:12682126712ddc19b70ff819debbd279e58adf1f0c8f8f8138c18ade2044b284 \ + --hash=sha256:135036c5cfc93864affb0f9af9a27e5d7a71cb7bd745e7b6dbfc2d56cc30e827 \ + --hash=sha256:13e52b6e0bde97dee98ab66552dbff2931649c96f1ac432eac299fe689ec373b \ + --hash=sha256:141fdbd73748db0cf7636035030aaac383d2efde8f34e7bc24594cc776d225b8 \ + --hash=sha256:146f48a9e4812611a7581003b1a39de56c34967046310c4171a68ef908c9a745 \ + --hash=sha256:174507f82d3594622acb1dd2dafecf2d899d6d506335494e7107767bf05f3aae \ + --hash=sha256:1783582065a1f07f9d9ee1e992e13f15d7dc8fb1eb3a7476d43eb3f2e69d26bb \ + --hash=sha256:17a7400cec0256f0a71ae71f9da398f9894c956ff6668a1c9d317b3367316320 \ + --hash=sha256:1b2f3bec4261a94019575481c726c29850f72e27907773c75b1de421e20e9f9d \ + --hash=sha256:1d759d05634f1b038fb625a66662a8c85e5a8fec912da381b5149ddac107482b \ + --hash=sha256:1df8d8561b21465c5dd56110a01caf897e026d065b4b84e98a488209094272ec \ + --hash=sha256:213bb68d9ced5cf2bf717b1071bf2b09b4b04c426256f9fe6d054c60318424c4 \ + --hash=sha256:23278f808cd81d5ada7184a76606b925fb3389c60e1077b2cd7da7b1fcf0553c \ + --hash=sha256:251c63dd46a0659bb875cb254dc4c1e79ee91a847c737cd62373295afc2235dc \ + --hash=sha256:279655a16973f1ee2bd2fe79973137681642fd9ae0d89215bba263726eb0dc3a \ + --hash=sha256:2814ecd8e818f487bee4b0f921bc4d1c176cc5fc71ac0f072d0fa67eda4ac14b \ + --hash=sha256:286867fb156488c251a3721766e380ac4495e4fd6b51aaa1403d89ce7f4359d9 \ + --hash=sha256:2dba2f02d2d5c09ef8a0e6c1a42aeaa451f4be9898cb00b04fe98717da2eb23b \ + --hash=sha256:30cc1cebaf9aef49db06357a50398323ae04d70460c0491837d026ab7d6452ea \ + --hash=sha256:31eb43ba2edc704ab2ec27815315dd8a19def0fb16215be4cfe8d32fe78ffd51 \ + --hash=sha256:350b272b2279f4135a64fc0c304a5d08e28a137c9573442c606152446638a831 \ + --hash=sha256:36c0d9db44b523ef93d03341b1c42d69ff01d673c053d1b1c6c3a363bcaa39ba \ + --hash=sha256:3af0c8642b2da4815d86e631232ac8286e17644fad907c19508aa8e7cb4ba8ad \ + --hash=sha256:3cd3a7edb6b95b9b33998135ebfa18d709da82290fb8f27c858970b5a12c8b56 \ + --hash=sha256:3d605bb239b796e82a81c6709548b2bd460ab73b4590cb0c83de8a2dd9694d0f \ + --hash=sha256:3e413d7a4a9b4866b7a761d6060d434b64d23cd35122eda3b026a0bbe8196b25 \ + --hash=sha256:3eb2e820e8e2101407da93f17c57cbb7d225461955fc60105daaba14cd421ee2 \ + --hash=sha256:3fa15757fea1dfcd5b7745cad9f4638929605531bd4018ab2adff7955f1a403d \ + --hash=sha256:3fc24f209c1b7f7f688b66b98293954f5504279760999b58920ee12dd8471c1d \ + --hash=sha256:4054acf80d40456a0537f2913b349718649d8d6458a14ab7f48d0ce28c30869d \ + --hash=sha256:40e94adb1e7d39ff28a8bd8d8b8fbd1df6b9f40976dbe379134f1ce058e532dd \ + --hash=sha256:420162a77f94eb1cf5ef7893f500016dabd548e73de956785a1dd899cc73006a \ + --hash=sha256:425f8cc86ab5018b4b8d4a23bc8e74d964bd3d757c3702e301aa79be76c53f6c \ + --hash=sha256:44149f46500a0a41b95b4d99c2e586a77319539730607b9892974a092788b111 \ + --hash=sha256:445ee3bfb46e85838387fb3c536a73cc0b994dc192b004e40e170adc54aa2a7e \ + --hash=sha256:45488d1a5f9ab5bd90aaa1ca20f50fe1922b8ffad71a2009d2adf41355897aac \ + --hash=sha256:45bebbe252550fec975ba3b62bc6f931643cfd3b5464ef47619cf3fef154e01c \ + --hash=sha256:45bf2e730ab8905d0527fe05a86500f406e64305c34cc81ebe64b4617cab9760 \ + --hash=sha256:48cb48c5346a97de792254af77715aa2529c2a1ebc5f586aa0aae44a02f1fe57 \ + --hash=sha256:4a1f4f5ffa55dce6307631f3cb2948e117e665966ea512e0d502b16c24f567e7 \ + --hash=sha256:4cfe0a92ae30151869e67a4b5f5e105e4e03ad30b3f38e5211b5bf77d0881993 \ + --hash=sha256:4d86476a935c88963d9b8e1a9a0d38188790e9622169bfbafa173046846709d3 \ + --hash=sha256:4e985382be6d15da8d0c2710a6fa7b9070fc9ecdeefb7f580e88373984ec8be3 \ + --hash=sha256:4f2d880ff60f45898f4acfa152aac8d04e3ee627d90ff4003491bf92239d5757 \ + --hash=sha256:4fbc1a15dc8cd1689508758d626b372b1f09d28d9577667feaf9e6bfcd8efcbc \ + --hash=sha256:50e337653721d20ead710da33bf44487fbe8a0db8782714b60306481e9f95b51 \ + --hash=sha256:53eaa697c4d0422ff4cb714d00231b43352064d97b944033b30c1d57cc506ec0 \ + --hash=sha256:56fc3f7599528db40b1efa0889a620116e2704144495273d66066e8164e45838 \ + --hash=sha256:58134228927cee6c047d626c08e60a81be604a20578a12ce752cc5c9a84d4826 \ + --hash=sha256:594eb4c6ec35e7179b058481f4e9f02521b56de16fa577c4b85c76fb1bf8a9f8 \ + --hash=sha256:5cacf3c9efd09df409dc33654dd077e1c245ba8fb747b0f0236ef41b7c49b589 \ + --hash=sha256:60a64cbccaa11b7760ce705a14ada17ba459e7ca9f23ba587eb013821032d7ef \ + --hash=sha256:62530ca89187827e4a4fe733f971abe81a7542eeea48ff61995f19b64d7199c8 \ + --hash=sha256:62c60aec739ed00124573cce1178138fd690c7676352d67a37328c1cf51d7468 \ + --hash=sha256:69fc35c0779522da366c563e5faf203ffc1f8ff0021d5b1337fa4efa5be73177 \ + --hash=sha256:6af4693716bfb03f1752ef1b30faa593db2c01d5272e9b8564a1549452a979ab \ + --hash=sha256:6c7599df2b57ebeea8de011b5f2f7b85de95e76037d43d34b95e328430275487 \ + --hash=sha256:6e9368e87a3efc285e559131092c5db643eb8e56de4ee42064d5baec22ef2bb5 \ + --hash=sha256:6f0093ac3e9daada202c2082439d414a625c57184727a46e112a3fb2a81cb788 \ + --hash=sha256:7177c43eddf10a0893c4fec52ebb408fdcd7f7d63962caace9180d8f81b14ece \ + --hash=sha256:720cf832eb2d0b0dfee129cb3335a26f6ce3cc45ee1187e8f0731758caa16792 \ + --hash=sha256:770e8209d018175fc0063936fa9583b6d27e88c5ad31543f3383d66080efdd62 \ + --hash=sha256:7a8d5ff04eb1f85698a78d20c62a14676e7b960dcafde09a388d60ad377d355d \ + --hash=sha256:7b9100a93b372418d8688f3f2a3e5b45c64d70ca4d6176e121aca1e3bfc1e32f \ + --hash=sha256:7cc528e760a8af06f2b13e9b9f362cd90c7c718ea61228a96dbd31ba16ed7f47 \ + --hash=sha256:7ffafcbfc7b549ab940047e505c831eabac5e67de53e1bc174adbc5285c55944 \ + --hash=sha256:87a3caecf8095e48dc72f84bfa42e23a848cf410cc9cc13031fba4869b706a21 \ + --hash=sha256:886b59c4d28ca97dd23b025fdfc50a0356be934efbbbca89ad26230067f86fe5 \ + --hash=sha256:8876b39961e33d912afe3c1bee18ee564fdad0206f873cc15d522756b7f50737 \ + --hash=sha256:897d1ddf6716e8f47200f7aad9a0efa6cc7586df66c6defa572f9eab379c078e \ + --hash=sha256:8a1fc236528c457cd739c88abe823da851b7ab645d72792f88658114cc340c12 \ + --hash=sha256:8a235f73d6e020855dc29dff012d920c02ee0feab8d73a24185a7569f4be1161 \ + --hash=sha256:8f911c395cef73c510bac566da9507bb6a43e7763d0c79138dc60ee53f11207e \ + --hash=sha256:96f7c5c15656040ddcbc51e56dc59b58aa25999d743c126abd425b9766ab43e9 \ + --hash=sha256:978f28401afbc76cdc3df9e1717b4229a06b626a1dcc75db4e1f2beb3884c3e9 \ + --hash=sha256:98914de2c4d7f0f9f4a8c6ea4bf05841f4175796941e3ef7d47eb718f22311fb \ + --hash=sha256:9a2a8a50a93dee0268a860a07fa3b4bd968f8ce4dbd794957da772f395368526 \ + --hash=sha256:9cbfff4423eef4cc6cafc021469641a2b835f610b2647a6c5281903e21b8670d \ + --hash=sha256:9e9ab13760aa8b6d0881ae7cb04fd891d8d490cd2554ea8e79bb278399169bcc \ + --hash=sha256:9f3551b8a35c1df3e7ea4d2d86edee15f0dde1bddd434a71744048683544d0ef \ + --hash=sha256:9f86f7259efe2c951f43e57d471c9b41daa5bfc7db9f67189059cf1ae6d77fd9 \ + --hash=sha256:9fb0a5be8d9aa213150e8d8148a42aca4984b285bcad1e69587dc4298edd929b \ + --hash=sha256:a219f0ac59817a9114dd2aa57c13180f993e819ba658c7ddab4b66ed1ee0d370 \ + --hash=sha256:a419ee85e654927baabda3929c03c0cc1112bf472ff0dfd6142f4e3a81ca4162 \ + --hash=sha256:a4d7a54719b67338a305dca2ce6aafe366817df94ddfd4b5514374356f5ca546 \ + --hash=sha256:a5793c7698a53f56f4a1889a4737c7eeb1b7ad0842fa6b1abca22913ff79c8c1 \ + --hash=sha256:a5e8ef588c109725dc713ba69aadcac00a1ef90c2ce9c0a8c7075128f569f47f \ + --hash=sha256:a74bfa37147cc08fb29df10bd9c16f40fa7f860cd3a6d2fff853323a94f6e17f \ + --hash=sha256:ada748108a43d29b7c328ba7db3755327cd94f028bcc1a7ee3f0addcfacd9c38 \ + --hash=sha256:ae58f361bd5dae942717c65d3413b478c70aea9c462599e7b9adad3731db3894 \ + --hash=sha256:b28f41fa3b8c6900457f858ec5b03998f3a6d535fbc1bb2edec5961ea05ec429 \ + --hash=sha256:b3083bfe87f95c756e610bd8025f26cbd1cd4aaa03a422f2d65efb7a97cd53d8 \ + --hash=sha256:b61805357d966680acf68b3b6d49772631ed9df44ebece10ff1460e117a7da8a \ + --hash=sha256:b77c313314524ca9c38fbd70f73515d04597ac58c40c939bc0e71eeb4abff680 \ + --hash=sha256:bee7d3aed13d56f54e681df38c3a23031bc9e3863f687d9d598825c9146acd7d \ + --hash=sha256:c02c0e570c5c7e077b0181a9f3cdb7d4c3617d1cda6b5c95bd5d34022923d82c \ + --hash=sha256:c174bfd1c48a1b51a3078e95586dde718374bac79719ab3541ec9e74aec40574 \ + --hash=sha256:c2ba30a89035b57b73e00475de948521602f543d79ce01db10b04b36c4c76fc8 \ + --hash=sha256:c3e98c55bde2bcf7db3c70d1aed7ae9aa8aebbf19a250c66645cde44cdb8b867 \ + --hash=sha256:c3ef2818d63bc86071e9d2989ae75a1bc32b8f7059cfd9f5abbbee70c32e2ed6 \ + --hash=sha256:c83acbce9f2b5e3f5f5eda9e53d2001fed22fcdfef81274a9e02d8fd53b70a30 \ + --hash=sha256:c9281e922c072158c91974d4589f1dbe0fee6d467f284c28e463f9f5a4d933f4 \ + --hash=sha256:cc07876cfb079b6f6f36d21ce75784ad6c2c6b563eeac0ed26c2fa2669b85df9 \ + --hash=sha256:ccf4f7a79e26bb7efb06ecd50c177833b71df05cbc748701372325e6bcc17f6f \ + --hash=sha256:cdee8205a44d0be91bbac4c41b95d86641b72dfc7aef1279400e4fda3f26a937 \ + --hash=sha256:ceb3e879afac028f93d272c957814695dc5569e4904262dbee92f6c41bd5e4a3 \ + --hash=sha256:d1f5a500bfcbb2c0ab85e98a0dcd70f5899d34efe365a0187700369a79603031 \ + --hash=sha256:d42a9a856a4a6e2f6c10f1318c07e7daa498d6593abe745c71dae4521a26ca39 \ + --hash=sha256:d83b12902eb8bce151259c86c03ba746600b2d994543de46e370cecf96c452f2 \ + --hash=sha256:d8e017eeb7482bed34cdb0d61cf2bcfc88d104bbab296a17cd16a6af8aabc70e \ + --hash=sha256:db3ae52ccc150dbc84704e9d642743897f3e1c54742ff34cacb661e52e3818a9 \ + --hash=sha256:dbab5f5ff6897c81f355d079010cdae85b02e5a0b518b5251523b8ad8ae9ac3c \ + --hash=sha256:dc4242ca653c9b30ab51c5f8193323e7bc0928f897ee9103201e59a43abcb72e \ + --hash=sha256:dcbf346a318a5e30063f547630b02bb787ce2f45b6368d5da143660b6a3835d8 \ + --hash=sha256:dd2ac8f5b643454c2cc6b6118b13da16e88f4a6434fc3ba61aca384029f04f36 \ + --hash=sha256:e1d52a05dc417279f7e5c7618c5dfbbc29923aaf9bc0a5c1802ddcebf54c61a0 \ + --hash=sha256:e6720ba44ad7e72174314d0e1fb0172494cff5c73a3a8a2159c3d2402ff15565 \ + --hash=sha256:e738ab81179510ce79b2eac9a6ecf47feffd9e76d1c72e403005dddb6e36c06c \ + --hash=sha256:e904d4d01f36bd6e197590be1533c44e06058771e0746dd073a8ebb3ef880858 \ + --hash=sha256:e9f165403b81fea7e89c932d89046a1e3d9a3a60e8d7ef2f249dccdcb0982bf5 \ + --hash=sha256:ec6a85f424afa8d23e0d9a094e5dbb6eda01da91c92b9183cd433768247ffc97 \ + --hash=sha256:ee19113bce2f3acd46432050688b70f61acd6857d75abb9ec96341b7e9ced123 \ + --hash=sha256:ef3b928d9c984322b5c44e6964d8dbc653da87d2d8ee1647fa6da43072e650a9 \ + --hash=sha256:f273dcf7149a50527c4fd1f55cfe9eac0f60753f5af544b4c9352578e20c0874 \ + --hash=sha256:f5470694918830da62fac9e69133b53d23b736d7070e587b27a4a2be37e08e68 \ + --hash=sha256:f574e460d1c8a08384a016fdb09ccf3543433263ed6b2f97104f979e64ea57c2 \ + --hash=sha256:f85915e00dcb1cd9f2f890ead064ed40a27df06f0db65be427b29482ae357572 \ + --hash=sha256:fc2461ecc45f17893f8207e73b46ea8ba93e33630e51cf4af3fbc21d47462b1a \ + --hash=sha256:ff6b113f50bc066a698db5d944d2c6dc7507168dd3341e255a8892fd0715a558 + # via + # aiohttp + # yarl +psycopg==3.3.9 \ + --hash=sha256:87c1d85c3e0e88e811d3c0b3808f947bd967c6faf34af6cd86fd021f77793d6c \ + --hash=sha256:d2d7d04a1ce6dab4f5b27316bea3b52585cafa2f2d631e5b09dd69823f5c26f6 + # via litellm-proxy-extras +psycopg-binary==3.3.9 \ + --hash=sha256:0793764fac48b5f0bf4d7154e38c60def4fa0cce16caa60b737f770bd29016ac \ + --hash=sha256:08689018e9169ca8e6769f5b3f2ce748442bda95b5f1ec260995a8ff63e6d6a4 \ + --hash=sha256:0953c1b94c73f97efce5b8fb1dad85cf5e4085b94902e439e27e6805ebc8be99 \ + --hash=sha256:0b513957b283d181ed04961567b9893cae79309e23655d54c91cb8781ad81fc5 \ + --hash=sha256:0f049ea20c87608eab3df8f055e8e29743a7af42f5e3e1bdb653611194fa64eb \ + --hash=sha256:109c5df5b0e5117e01a42d3b56a2f4ccd5431bd54d25efdfc89df095ac9f9605 \ + --hash=sha256:13bfe814718c8a1b9b656c0d754962e0027cc3e43630661825fe197babc99320 \ + --hash=sha256:14666a85aa330058929e4abedd940f754f0e5589efae6366d95c513288856fb5 \ + --hash=sha256:180e4a99904d7a77f826fbb6dd16834bb3313675d8a6f055e39742fda00c33dc \ + --hash=sha256:1ce1a6f04211626ca1a3deadee560235e8686e3888fb18f78d2be3e83bceabc4 \ + --hash=sha256:300bd86d4b81d297e204a8ba223f54ec09a4b54fd069c32a74bf75b42860703f \ + --hash=sha256:30a95cb2b00b94b4ec4fd5d41de047598c60e0db26fd43bd9154152cc380b282 \ + --hash=sha256:366e2021a785afed9154f83f64793f662348a9ef244fef9779175c0906e8aacc \ + --hash=sha256:3c223b8e8040e05ad9f8f2af33c7f21f3ad907a17bdf69c79c97a71e69c9cc84 \ + --hash=sha256:3efe96cd98081b755ee3b0a50f2d35d9af55cb1ba462440a41048b9e7c6b9caa \ + --hash=sha256:417c3fe0ac2079a82a8c72ba214a65c66c22036a5d2d8c24c77c5708a58938b9 \ + --hash=sha256:4992acd5a7479013d52615b8c23fdce9bc22f3cacbfb1007fa474e6b5ebe94c7 \ + --hash=sha256:49fc0189d72ceba21853d3d35aa65801b44758350416cdf7ee9f884aa8fafa51 \ + --hash=sha256:4b44a09bb7c92666aec8a00d5d390ff6f4e573d345ccde0f71b45597511449fb \ + --hash=sha256:4ba688a9402e3cc9d425e6ad20f97b96698f59f867279c265c1d0ca6df9dad57 \ + --hash=sha256:4c064e4d9f5c6a59b975c6d7f6e2f03cab164359cfd3a592817db97f8b0f463a \ + --hash=sha256:509affcdeeafd86077bdf037aa40e809989b935708e902613cd67f317c55fec6 \ + --hash=sha256:5117a4745b3b850872140d3a66a8d83c55801916ae6e3cf502af0a794f64f9b7 \ + --hash=sha256:5bd2e0315dd43b8bb28f4c124f91d9a8eb866d04bd66899ae5d82086f36ac0c2 \ + --hash=sha256:66b20619acbd434e4e46d734a915768a1192db09754c2ad041d391d72f30e5eb \ + --hash=sha256:6ab13f8174a0a63d0b9ec39ac27dd129a4d78f22099f146455b5c3a73957cfb2 \ + --hash=sha256:6bc7e10d05f236f53b184d9592e8f3d22587bc2e7b964fea9f5d0de2b1142fe5 \ + --hash=sha256:721cddea84b6da23937e80814589fdc5c25bf674f63146ce2463438798b51df8 \ + --hash=sha256:75dc9ebbad779969174e59422c71444c2bd8d0362d5758a7b6f500eff11aa4ac \ + --hash=sha256:79071f66f484d682b420f08386e835060b2338f23236d918a01a60281a807d3b \ + --hash=sha256:7e7869bbefeefb9e621f3a8c86cd7b50bc0bf24e94b53091e2305d1d99a5b23b \ + --hash=sha256:80ce081d2512ced75f1ca08ff80257a1288a3555079c5fa622164a0f9ed6533a \ + --hash=sha256:85b3892dbc4f5fb21880f82e3aed7329be6bee39fb58a0f059cbb1d0a382e98b \ + --hash=sha256:87e5b145e1363aa6bad904c430e18c3434e7b61565197d71d42157e3084fd9b0 \ + --hash=sha256:8fee8337812241ce26c6e16f73b2a20e94db643312c6901c00b57a0b2e203e6d \ + --hash=sha256:9452241b4684a6321c8e047f4b31a029823fafceddb0809827ec1d506784a3cd \ + --hash=sha256:96ef179795a800f7b8dc7c4abd14ab322cc4986726cfa6dabff552c3e16e446d \ + --hash=sha256:9926a6f98fbfbb47ad34fab6151d5e6de917d640a07e78cf07a91005593f7c65 \ + --hash=sha256:9f6f4108a2e1d55303dfbb41d0f3b16a0aac95232a24ac8eb3df03f56fcb83aa \ + --hash=sha256:a0ed63b05046bc40d76109d95c757d3eac38488b17c68ae9e8160040d0ed0f89 \ + --hash=sha256:a4abac9935ddf96baa19b831473cc4f4020e073750a5c3b4bfa2f14649ee8578 \ + --hash=sha256:a99f0b9a19ed7a56bf5d6776456b8f15f5364db8853b0f5d184db394a45c391d \ + --hash=sha256:a9ee20e3b314c1f36ec13093f1ea46161704a7304a6c334396318d36416bd330 \ + --hash=sha256:b081348d8992af26e9b252f04876c286428418a6b7845d8d4caae2044b259668 \ + --hash=sha256:b2582957ef09a0315fab23cab6ff6445ad73b850bd951a936abec58cb2f3f86e \ + --hash=sha256:b36b1f1488843301af90a25b135dd4373a9835c4df185e564f14e6565220c353 \ + --hash=sha256:b6733e1cd8ab3f1c256eb16e90cada43087beaec63411b6857000e8ad4759dbf \ + --hash=sha256:b7c4b2039d82f635311e41e7d392ff1bddd94a2447f9668c6531489cc86a8ce2 \ + --hash=sha256:b98ecad106cd48998517e03aaee56f9d88f8857e043b8e3dbc2aa7facd475db6 \ + --hash=sha256:c25fa1ee28f8fd73aecc5e8612ab9e5700682e8e23f9422437a1617016029934 \ + --hash=sha256:c3dc32af4bed2339bac8110a2c5d65e23fe25d922e075f191e41f2b3a61adc0f \ + --hash=sha256:d5281f3453caebc911b2c5553398d59e217a8101f6b2596311256ba3772167fb \ + --hash=sha256:d7b911f2b0244f76c562492ec3628a2cde7f6f3e648da5ff3ae0ee2ecd056d8b \ + --hash=sha256:e01a4f4fd0e4beee23af30517123bdde838d53c3ac0ae594da019e36b3adabda \ + --hash=sha256:e047c843fb5cd3c9ebc370bf9a9394cb97feb71b678f07f58419de6d1c6cb5a5 \ + --hash=sha256:e51c7c493f07b51be56875cfa8a7674824749fa1cda3515339ca64e628f1b992 \ + --hash=sha256:e5af7a6d4ca7781c03f9f628ef83ff739de8a7e7e0ffe4b6e7a8c274caea6f81 \ + --hash=sha256:e7e2e3543ac17cf5bb3eaf738606fc52bcedf993500b9fc8c55a4475a3731ef9 \ + --hash=sha256:e835af41e74176041d2290b167af92b74793b916ca3413598c39b535dd3674a5 \ + --hash=sha256:e853041acf10de2dcb595167138dc9fc27de293d67caa1d80ed282ec27a28e87 \ + --hash=sha256:eb74f5299501f83f3ad7b8e99405ca451b77c74d65767bac7f46d22c4e9411ae \ + --hash=sha256:ee2ec04c3cca2e6b989020233c81b5d6c61034ccd10ca0311a85796a189884db \ + --hash=sha256:eed1ac135d652e4454777afb4e4bb52cf88520bbfa2f30ae83066cd4df656697 \ + --hash=sha256:f85821eba1f8c27e080eba955eb9dddaa638f61e363b4f3b2266bd9ec4ff73bd \ + --hash=sha256:fc256b0baa9786b732bf824dde7bf4bb16ab36642913c342d955c57b7b7e8c24 \ + --hash=sha256:fcdb76adaab57fdd5b789b13b20699bffaf17000a4bbc0527327581cfdd55e3d + # via litellm-proxy-extras +pycparser==3.12 \ + --hash=sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e \ + --hash=sha256:f03387877eab82ce01bbdfd0ba7252ee55a90b1c708d5129e2ce915475cf1db6 + # via cffi +pydantic==2.14.3 \ + --hash=sha256:1054f237f4d4733e5a30e1e2333bd33a2004ab9ab1510bd053a9a31bb48e232d \ + --hash=sha256:3f7b347782ab7e4cf4c798496ae3a82787d9f21ec12676a9c564355eeef8daa8 + # via + # fastapi + # fastapi-sso + # litellm + # mcp + # mcp-types + # openai + # prisma + # pydantic-settings +pydantic-core==2.50.4 \ + --hash=sha256:0001d6920e3a5d92758cda460d6dc9f918a78ad6d5d092f1c8b5395e6b775356 \ + --hash=sha256:0574866e05f6adeecc520d87e87dd06210c0a51706341f6ef8421572f5a64444 \ + --hash=sha256:09450778e3ab58d3f565899fcfbf6c82926e31af29e28e799d1d50941316e0cb \ + --hash=sha256:0af56dbf8822ba9f4efcbbfdc15478f8b6fb08f1609860cb50aa2cc8476b3c34 \ + --hash=sha256:0b059a7968b1911be5a2d9a8234827ab0bef9d1e465d4b42da525894143550e8 \ + --hash=sha256:0ec20aca2b067369913716847f7dfe5f4dddf16a46965b7a70bbad5defaaba86 \ + --hash=sha256:0f87ae9db5ba8d8de40dcb93982cf8dd544e6552a80d3345af51941cc2146b80 \ + --hash=sha256:1239daaf063e62213ca1f34d96663900bd7510c42a786e843fd328af70e46445 \ + --hash=sha256:13b6dd62b5279f5b9d72f3bf918a35443ee8bd549241d9dc52d79a2c3b6d7016 \ + --hash=sha256:15bece43a02ad543c621c8305e67dedb5f27d378c5ba741e5a2c36523f8ef37f \ + --hash=sha256:16902a147b3da4840612164a5e67947104d63e978f7a57c395877a5e26690b9c \ + --hash=sha256:1afefe44ec042fbabfb4483ea258c04cf75ff4ff328d754f09b321fdaa232aca \ + --hash=sha256:1de7be9a66fc8536770481ab64a05aae5067c725f2b29a09543af00e6a417b97 \ + --hash=sha256:1e20cbde2b6deb33a51d08cd168454dd9044ec7d4474056f4d98d63f51578783 \ + --hash=sha256:2039e323acee9abfec1fb5f661776e8965fe5928f3b7f8431900a774cba5c317 \ + --hash=sha256:219114f8dcdcbe4720d82ef016b1287ce5a0a67d7c69ca61524eb72e82aac344 \ + --hash=sha256:22e874666bdbd96d6bf629d32cd8ab376fedf1fd62585b52a42b9fa9fa6c20b6 \ + --hash=sha256:23a9ba564b2db709ff16eca990992ba95a19069972b34bff87c81d4b473cd755 \ + --hash=sha256:25e7e1080f9f7ce7cd9d114b31470ce912771bd02f38c824721d3c35d312abff \ + --hash=sha256:26cb012c4b8ca9f847bd0ac15978bd3d0f55b050bfbe6c47355edfc7e945029b \ + --hash=sha256:29358a8ca74e7d81158d14e2b10c904bd18773293ae3788716c0626fe0342347 \ + --hash=sha256:2980a701be88f9128a7470189fa3bcda5387f76c298a6f8e000fc29eb2a6f4e7 \ + --hash=sha256:2a60ec2a57ac3ef3767e526e9bf706ec75aa3d79c4ea134d9d4fcf7c62a297a7 \ + --hash=sha256:2f42584e5785385f681163a42506cab0d51295e17599a648396c52a7046c1372 \ + --hash=sha256:2f5cc5bcb94063fbbdfd285a2b302da34af07491337c10bb35de1d5220fa1583 \ + --hash=sha256:2f6767122b37c780bb756a720a4eef2bc6a050a0a1143428834b3cbc89448bd2 \ + --hash=sha256:300753f71c73302e218124baf995f00058e085cd01869bd9610bcbd0bd4500c1 \ + --hash=sha256:30d4dc35bc0eea52202a90b3820445ee0072c820241bfa710a623a078c9b267b \ + --hash=sha256:32a991aebd165f227b7c7c60bb9d66c2c7de9c24308552da264c9938fde0f8d6 \ + --hash=sha256:32d6dda86383645ec428ea64dfc277036f5cbc60a72238eab28b91a3fdb9a113 \ + --hash=sha256:33b21f69540a12c2053cd1d95766d8bd9667a3897f7c712a642de8aa37eb0865 \ + --hash=sha256:39f489ce31272073e6e146f6781690f9c1ee8c126836e6403361ef91154d89fe \ + --hash=sha256:3a48a5254d15a0ad050318bfc7a9566d4ec740118187e8f303e47a6840287eb7 \ + --hash=sha256:3b8ee2589a082739c522c1fe4be227412fcf108b903abb6672ae2f5570558882 \ + --hash=sha256:3de6c2a4df2af0ac9ab4dc1488746fe8b1a90e27955d870d9edda3187d20092b \ + --hash=sha256:3e0b395648c6cb871bceb2906907f255dc876ec425f2d5b024e129985cea8519 \ + --hash=sha256:3e547ceec1da7382f01f9e13963023e53367a71802c88778b21b9645a077cbdf \ + --hash=sha256:41b2cd8b29dbb5a4c9828a70f50d1abfc92011115c813213d3a91205c6f731b3 \ + --hash=sha256:41f4f8ae714e4fea1d635880f8a1af715ecf080eed4d13c5b04a0f3210f9c61a \ + --hash=sha256:474f7e598c7902165662a5d5160d3fce31037890a2975a9871ebf7c05862300b \ + --hash=sha256:477af785d1846e4e96bf56983b92ea7553aaeccdeb8acdaa55c7cee9eda0ae32 \ + --hash=sha256:49eb1241a969a5994db6880c18c012b6cbe2340343d8f529721571806583e500 \ + --hash=sha256:4c29b8f2d6417069bb1f257e6b9113f5d64dc2f554cc200ea90b4fe2c5cdb733 \ + --hash=sha256:4eb15be588407148ef5937dc8d9256a71f6b115e6cddadb7aa20b6ee384680dc \ + --hash=sha256:4eda7e3fdef382b7d4492745988a5baaf6953923a337f8b9dde5f76fa8afde20 \ + --hash=sha256:523466eba8ee10f7480f3c2057563145978011c583130d2cc01fb1e7af808e25 \ + --hash=sha256:57fa0a9490785139f1a4e4f43891830d55dfe4408845c0c9cb5eff4aeaf75f69 \ + --hash=sha256:5b26e5f1793b96cdc60242bf38da86ff24a27a708aa396214cac9b534bf571c7 \ + --hash=sha256:5bc1811ef2b4d4ba63e8e452f6e332b6374bd1d2cbbfdf66826c8cb1f71dd10d \ + --hash=sha256:5c074454dc6d4f6f4ba6561a56bf33a14db7651d882a5a5321ba3ae8868e082d \ + --hash=sha256:5c1013647be741647895c102831dcf79c34209662dbb683df9efb864417ed7d5 \ + --hash=sha256:601fce6cea9ddeaa85329e12e7f351def38d233075f42a3012b9c48071b02941 \ + --hash=sha256:6118e5a5550e36582e19bac1a403711a748f9f18251b054c326d3db02aaa7a18 \ + --hash=sha256:629eae995185540406e3635df5d5cf1d44f19ea240840b835d3f44541ff694d8 \ + --hash=sha256:6348ad12fa741bcc9c2f173e99fbf27cbc038826d8c31a4a7d836eca27878ba2 \ + --hash=sha256:65376dbe1ab4dbc768ca2b72b7c13993562c035f5925fd3bc7ff9c8c585c515d \ + --hash=sha256:6619d49a89a15cd04334f76fec530c155923bfc60da74ff5d815a52629e1aa6c \ + --hash=sha256:664e74848c2f5fc27db8505fe24e1ecd3ac669412913bf73d176916f86cc08e2 \ + --hash=sha256:67f7cc397e1d5556a801d1cba74de0d27d827eb242e6c036c0ca273c745414f1 \ + --hash=sha256:696613a0c0e7b2b35356e389ba4195ce20cfe7a2fc2e992c87d974d973eabec7 \ + --hash=sha256:6c5687b59b6ba0f663c4f2f15470f68507d6b45ccd3a19ee6d224f95cbee70d8 \ + --hash=sha256:6c7d7b0b596319e9ce79ef96ce57a14054a2eac629c0588a0539187a218be799 \ + --hash=sha256:70dbc9f83c41f37a4faa62dae5203853847223a891da446f48ef2efcfd5df806 \ + --hash=sha256:71395a43da5584bb70556f380387e15f845c0dcf76373c1afbfa0025737576ac \ + --hash=sha256:71ade6d2e445839350d589ff99bbddfde16f3f32db28da5c894a09f99c8b2a03 \ + --hash=sha256:71e03d2ea1a221d020cfc5b6cc8bbbedef23a06704c70fcf4d0afb42965b22d1 \ + --hash=sha256:7210398a1607ad607dc73196e575b3148b00a333cbb602ddbe1b60ba54554f43 \ + --hash=sha256:7472c39480ccc11dda69a196d1b7c7a6b48eb6594b77f05d945599d3e47f731c \ + --hash=sha256:7646353a5a7c553c04167aca628e2550b538f492765b03ccf34321a560acc43c \ + --hash=sha256:76e0065998159244ff4c097a6c05ff08019c6fbb6e597a85846e73044f0215b3 \ + --hash=sha256:789a6453e5ffd18a7ab6b8c3a0dd8403053829197ec258ecb90c604c21ffcc99 \ + --hash=sha256:789f88dea57841cdebef392b5d6e90444d767117e9ff2e0d9172df5c9de6690c \ + --hash=sha256:7ac2769a7ddd661e07e26c12220adc31b17014c48234b2a5a88993b8d4109e09 \ + --hash=sha256:817953730e4a73a09008b010c4a42396cefe799616a22df2ac21d3927b3080cf \ + --hash=sha256:83d2beac85b757bfc404c5c0612df51c4ef33bbb7be65cf4a96b4da7cbc4ff4f \ + --hash=sha256:86c7c4615634b5c57a79770f5b738354e45ae219a89949aeae84f19169a05283 \ + --hash=sha256:8923fcd49f875e8a0448d7223d1fdf1a9973ae2d1f20d4158753ceb8909facd2 \ + --hash=sha256:8cceae48ae7f94990c2f4e36291e9ec9868735e8b0f19e4489a17b0422338466 \ + --hash=sha256:92f8f63df729061bb14558ed740e7a222f6e2aa6c2e6a5bcfb4e706676562049 \ + --hash=sha256:930ad463d3fb7a340d323bcc496ec32dae469ec9974c29ff569f19806b6b03b4 \ + --hash=sha256:94733cb447c37b0ce6f71b39ca1288d5f966a084023a5617b4cc35a852586859 \ + --hash=sha256:9be1cfe715ecaa060ffd5d599ef410b94ef2697a0eed4cee562f788a2aa2175b \ + --hash=sha256:a0c5210d038418a115e7cf8706bfa611bd14add2f5787274dba45aadca3155e0 \ + --hash=sha256:a2f8716344bbbd10443391be0b1f2003b34949e3c4e6883005c2bc498ab6b64b \ + --hash=sha256:a4bb174bd65f795c39ad6642d9d5bdc43351b306b7d0a654ab0d0abb38be245f \ + --hash=sha256:a70d5effebd81ebd8e15a8aabdc7980832367b2b00c36543bac378977004cc80 \ + --hash=sha256:a9ee990bf2cfbd81574c5d4f9f6c9d480a14b5b43d2c4f2ca13f4c6f48089394 \ + --hash=sha256:ab2822bcdcefb54d1e8ca29f5e3ec3afe160fb794bb3a3a73b09d11ed2671104 \ + --hash=sha256:ad92d255a165cde5f9882ff69699eaf5495e0a1f32e97566bbbb80f11e46781f \ + --hash=sha256:aead3b74b68396bf0feab5d57e050b730ded7df55853c1e048a87e00aaf033c6 \ + --hash=sha256:aeb2e123cbf978a905e9f55155c1b8316fbbfa7cf64d04521fe174bab302d100 \ + --hash=sha256:aec3c2d741a8e3ee993de7f95f37afb51e31b169c95dbd29da4cf6688f340914 \ + --hash=sha256:b0cdb655fbd1562c2dfc9986f9103a106f7058cd0915afc6e656d4b1d73f3387 \ + --hash=sha256:b26f39a5be3cd91a2035818be3d0ffdf5282c3e1f5f53d3b80b7024021acee52 \ + --hash=sha256:b2f2d13239487cecaae98c9f4d5904ad0737643cdf8873c88ec6a78b12214f20 \ + --hash=sha256:b300a30304c4c6aeab03ed06809819d9eceacdd58441d3c7dffe41edfd006091 \ + --hash=sha256:b42f64825f5d750228f08318a9bf4d723b7ecb4c472aedcb3013c3ec2dc1f949 \ + --hash=sha256:b67d38e8bb0ade7e6e84575e4bb153fab35b122458077273aeb08fdf12be9d2c \ + --hash=sha256:b867f9fd183d76977f810c626d539265183c25b2284762893a31e8d6cacc81c0 \ + --hash=sha256:b99bed995ed7c41515c11fe2beb86f8a6cc298e5537cae2f736de2f982f74ef0 \ + --hash=sha256:bd46bcc28ed85d3cf71581b42d90b4ebd1f2062f81879519fed209f8a4d1cfc6 \ + --hash=sha256:bee28aab5a580eec673f7b68dfa8dece3dd37bd207ef8d22fafe23a8e9837296 \ + --hash=sha256:c04e9d920e2674f54651fd260a15c5d2843526c73d5242ee4311325ddc9573b3 \ + --hash=sha256:c4c5a1770ecfe8bdb6c6f09f8d81ea4de04f7efb012fac1efa4ad315dccc1fd1 \ + --hash=sha256:c733087ecf7dde06b1d071679bfd5f3ba03266ba77814c1c7253bc48c9adedd9 \ + --hash=sha256:c813ada7a651193acda85b6bc1cf12abd4b37cd25c7c6a75d7183512cc374969 \ + --hash=sha256:c81d98e27d9d9261909dcccab1ba5d6ea1c98b0bb9470e368604614fd1d36ddd \ + --hash=sha256:c81e35862aced259177a537ce1a6264c3a97bae1ced184ca9dc10ea754563688 \ + --hash=sha256:c856e439a9d54d514e81a7131229ba151cdf81df7c408e0f6c89340e5003dfe2 \ + --hash=sha256:c9e70012926e97069cdd09221861aff412aa94e4cac2e019055cdb79485b150c \ + --hash=sha256:ca83a32b2b41653d89f09a3d22b770bca96da72273bef8f7a68136bdd1e8b823 \ + --hash=sha256:cbf0777d54672990b10cb8ca9b0523499e182d7e2ea39f86b138519a902aa601 \ + --hash=sha256:d49127f137f871cde3c5650af33bbbdcee02679dae76e020902fa106f522b8ae \ + --hash=sha256:d690121e80ab16e623415351ab24713534d4e500b3cadff216409cb6826063d4 \ + --hash=sha256:d6a166978f22f10cb91413f70519861605219346decf65bc79008f9257c94afe \ + --hash=sha256:d6e3485a5e5c01fb5339c1ee3d4b9e21e2135a2a9d44caafb71acd994487ee7c \ + --hash=sha256:d7d406709ae924cf0b08b8282ca2f0e1c90526911d93bc040557cbc83b74c55f \ + --hash=sha256:d8201c9f9035520cdcc7dcad383b039ec8123969b87e01cf27c3dd883c02313b \ + --hash=sha256:da779ae50b46f3f7d1e1b5f362fdc0ad376a49fd55f6f3122dc2b6149936cdf7 \ + --hash=sha256:dcf2c7eaaa4cafe8e49b017e5bb49e76e084ab6f0cd712ee4019c812b5cf68b8 \ + --hash=sha256:dd8bed00731a21e3106e5dd6bbffb6c775a2c0bbc7c0c9face534d830057bdc9 \ + --hash=sha256:df1c174796cd63eb6b139f7daf783affe1f3ed659605850e843b24764c21bfc5 \ + --hash=sha256:dfcf6e51000b34f7026322cd9ea9bc340d745637e27e0bbc22f504b4f6b967ee \ + --hash=sha256:e498900bfbf7ddddd862f810440c09e9b81674739e8a11d619b40906dccd4a9a \ + --hash=sha256:e512c75ec5cf4475c1aa50ad975ecdf253f4963b06e152e1a11edd6de4010753 \ + --hash=sha256:e5bd109d095aaae989a0463d5ef0fcc43e9ddd5de125e656d3c119a79e466380 \ + --hash=sha256:e6b4b08d09054310a4dc389fa61ee22a7a5a292cb23ab8a985136ca8828bf924 \ + --hash=sha256:e6da138a1ecc1341c8b788a5ee822670b03788e1f5decf7af9d461de6e508b8e \ + --hash=sha256:ea2f61b0bc12f3592288503961b764579dea0658852d96a0b3d823614d808821 \ + --hash=sha256:ed9c0b6f236648dbf30d57e9f57e1f74878caafa04833a19f529b5ba5164b7a8 \ + --hash=sha256:edbca8789fd10f0de534b660a6b4c71f1fd18039679c918dad392ab044bb37e4 \ + --hash=sha256:edc17549ab592e33cfcaf285f047bb75fcd98f608aa9309af1187fd736ce9641 \ + --hash=sha256:ef8a9ddb2e2a4eae4abb72dc0710eca6c2726779b0664bd10c3ce9fcfaed8c4e \ + --hash=sha256:f08ee8248aad2d054e5bc4c73554d4505464698f6d754f16198dbc5764e9821d \ + --hash=sha256:f1d62fb172db35c6478c9323da34ff37d1f3d37d7d44337a9d94ba8c583e5730 \ + --hash=sha256:f8fd23653a252cefabea11cd041efd7b80bdf403e43a36dea53f9cb0aaa21f0f \ + --hash=sha256:faa4e96385c820ce9d7f7a623486e23d4134ae3c9ba2071e44e0ab5a5a5002c4 \ + --hash=sha256:fb2bb5b557080da398b866408117d98fe9731a12334afd0cdff221b458cdc5dc \ + --hash=sha256:fc04affef30be98c1f36f0c422a4061ef618fdc1dde79f5ad5458dd496fecffa \ + --hash=sha256:ffb616d8d55965839670301dc3bae3abacff560a7e137a89056058a8a9da4d96 + # via pydantic +pydantic-settings==2.16.3 \ + --hash=sha256:10e36f616623ebb586c05ca3d3cd22927146869db413d4f14c20c514442a1337 \ + --hash=sha256:d1db16a2d34006323a1b42c0640898da58adfbad7ec30baaa9e2b18aafc08999 + # via litellm +pygments==2.21.0 \ + --hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \ + --hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c + # via rich +pyjwt==2.15.1 \ + --hash=sha256:42d59d631f7768a1028a64c7ff581a9bf7519804daf91fc5b6c56e30eec5e193 \ + --hash=sha256:4f259e80cdfb6b3fc18a7de51fd1ef9ec79652f25019bae68975ca2468a34df8 + # via + # fastapi-sso + # litellm + # mcp + # msal +pynacl==1.6.2 \ + --hash=sha256:018494d6d696ae03c7e656e5e74cdfd8ea1326962cc401bcf018f1ed8436811c \ + --hash=sha256:04316d1fc625d860b6c162fff704eb8426b1a8bcd3abacea11142cbd99a6b574 \ + --hash=sha256:22de65bb9010a725b0dac248f353bb072969c94fa8d6b1f34b87d7953cf7bbe4 \ + --hash=sha256:26bfcd00dcf2cf160f122186af731ae30ab120c18e8375684ec2670dccd28130 \ + --hash=sha256:2fef529ef3ee487ad8113d287a593fa26f48ee3620d92ecc6f1d09ea38e0709b \ + --hash=sha256:320ef68a41c87547c91a8b58903c9caa641ab01e8512ce291085b5fe2fcb7590 \ + --hash=sha256:3bffb6d0f6becacb6526f8f42adfb5efb26337056ee0831fb9a7044d1a964444 \ + --hash=sha256:44081faff368d6c5553ccf55322ef2819abb40e25afaec7e740f159f74813634 \ + --hash=sha256:46065496ab748469cdd999246d17e301b2c24ae2fdf739132e580a0e94c94a87 \ + --hash=sha256:5811c72b473b2f38f7e2a3dc4f8642e3a3e9b5e7317266e4ced1fba85cae41aa \ + --hash=sha256:622d7b07cc5c02c666795792931b50c91f3ce3c2649762efb1ef0d5684c81594 \ + --hash=sha256:62985f233210dee6548c223301b6c25440852e13d59a8b81490203c3227c5ba0 \ + --hash=sha256:68be3a09455743ff9505491220b64440ced8973fe930f270c8e07ccfa25b1f9e \ + --hash=sha256:834a43af110f743a754448463e8fd61259cd4ab5bbedcf70f9dabad1d28a394c \ + --hash=sha256:8845c0631c0be43abdd865511c41eab235e0be69c81dc66a50911594198679b0 \ + --hash=sha256:8a66d6fb6ae7661c58995f9c6435bda2b1e68b54b598a6a10247bfcdadac996c \ + --hash=sha256:8b097553b380236d51ed11356c953bf8ce36a29a3e596e934ecabe76c985a577 \ + --hash=sha256:a84bf1c20339d06dc0c85d9aea9637a24f718f375d861b2668b2f9f96fa51145 \ + --hash=sha256:a9f9932d8d2811ce1a8ffa79dcbdf3970e7355b5c8eb0c1a881a57e7f7d96e88 \ + --hash=sha256:bc4a36b28dd72fb4845e5d8f9760610588a96d5a51f01d84d8c6ff9849968c14 \ + --hash=sha256:c8a231e36ec2cab018c4ad4358c386e36eede0319a0c41fed24f840b1dac59f6 \ + --hash=sha256:c949ea47e4206af7c8f604b8278093b674f7c79ed0d4719cc836902bf4517465 \ + --hash=sha256:d071c6a9a4c94d79eb665db4ce5cedc537faf74f2355e4d502591d850d3913c0 \ + --hash=sha256:d29bfe37e20e015a7d8b23cfc8bd6aa7909c92a1b8f41ee416bbb3e79ef182b2 \ + --hash=sha256:fe9847ca47d287af41e82be1dd5e23023d3c31a951da134121ab02e42ac218c9 + # via litellm +pyroscope-io==0.8.16 \ + --hash=sha256:6b91ce5b240f8de756c16a17022ca8e25ef8a4eed461c7d074b8a0841cf7b445 \ + --hash=sha256:86f0f047554ff62bd92c3e5a26bc2809ccd467d11fbacb9fef898ba299dbda59 \ + --hash=sha256:dc98355e27c0b7b61f27066500fe1045b70e9459bb8b9a3082bc4755cb6392b6 \ + --hash=sha256:e07edcfd59f5bdce42948b92c9b118c824edbd551730305f095a6b9af401a9e8 + # via litellm +python-dateutil==2.9.0.post0 \ + --hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \ + --hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427 + # via + # botocore + # croniter +python-dotenv==1.2.4 \ + --hash=sha256:42269a8a5b3fd54ffa6f3d84b18abed50064717576b4ecf03dc4a55d8aa04fdc \ + --hash=sha256:f0d53e69935a851c0dcc78f3ab7aaccd8cabef0b92382b576b824212902873c0 + # via + # litellm + # prisma + # pydantic-settings +python-multipart==0.0.34 \ + --hash=sha256:b998ae90ca6e1e363261ce2e0e230281b8af53867b757970abd69ee9edcd843a \ + --hash=sha256:ebacd224bd686eee2f9aa1066a657affe07435a185834e05e5235e2e59173e91 + # via + # litellm + # mcp +pyyaml==6.0.3 \ + --hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \ + --hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \ + --hash=sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3 \ + --hash=sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956 \ + --hash=sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6 \ + --hash=sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c \ + --hash=sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65 \ + --hash=sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a \ + --hash=sha256:1ebe39cb5fc479422b83de611d14e2c0d3bb2a18bbcb01f229ab3cfbd8fee7a0 \ + --hash=sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b \ + --hash=sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1 \ + --hash=sha256:22ba7cfcad58ef3ecddc7ed1db3409af68d023b7f940da23c6c2a1890976eda6 \ + --hash=sha256:27c0abcb4a5dac13684a37f76e701e054692a9b2d3064b70f5e4eb54810553d7 \ + --hash=sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e \ + --hash=sha256:2e71d11abed7344e42a8849600193d15b6def118602c4c176f748e4583246007 \ + --hash=sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310 \ + --hash=sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4 \ + --hash=sha256:3c5677e12444c15717b902a5798264fa7909e41153cdf9ef7ad571b704a63dd9 \ + --hash=sha256:3ff07ec89bae51176c0549bc4c63aa6202991da2d9a6129d7aef7f1407d3f295 \ + --hash=sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea \ + --hash=sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0 \ + --hash=sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e \ + --hash=sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac \ + --hash=sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9 \ + --hash=sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7 \ + --hash=sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35 \ + --hash=sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb \ + --hash=sha256:5cf4e27da7e3fbed4d6c3d8e797387aaad68102272f8f9752883bc32d61cb87b \ + --hash=sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69 \ + --hash=sha256:5ed875a24292240029e4483f9d4a4b8a1ae08843b9c54f43fcc11e404532a8a5 \ + --hash=sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b \ + --hash=sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c \ + --hash=sha256:6344df0d5755a2c9a276d4473ae6b90647e216ab4757f8426893b5dd2ac3f369 \ + --hash=sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd \ + --hash=sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824 \ + --hash=sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198 \ + --hash=sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065 \ + --hash=sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c \ + --hash=sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c \ + --hash=sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764 \ + --hash=sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196 \ + --hash=sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b \ + --hash=sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00 \ + --hash=sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac \ + --hash=sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8 \ + --hash=sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e \ + --hash=sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28 \ + --hash=sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3 \ + --hash=sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5 \ + --hash=sha256:9c57bb8c96f6d1808c030b1687b9b5fb476abaa47f0db9c0101f5e9f394e97f4 \ + --hash=sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b \ + --hash=sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf \ + --hash=sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5 \ + --hash=sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702 \ + --hash=sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8 \ + --hash=sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788 \ + --hash=sha256:b865addae83924361678b652338317d1bd7e79b1f4596f96b96c77a5a34b34da \ + --hash=sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d \ + --hash=sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc \ + --hash=sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c \ + --hash=sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba \ + --hash=sha256:c2514fceb77bc5e7a2f7adfaa1feb2fb311607c9cb518dbc378688ec73d8292f \ + --hash=sha256:c3355370a2c156cffb25e876646f149d5d68f5e0a3ce86a5084dd0b64a994917 \ + --hash=sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5 \ + --hash=sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26 \ + --hash=sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f \ + --hash=sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b \ + --hash=sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be \ + --hash=sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c \ + --hash=sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3 \ + --hash=sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6 \ + --hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \ + --hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0 + # via + # huggingface-hub + # litellm +redis==8.1.0 \ + --hash=sha256:6e1a19beef9225c83efd689c7e6b7da2d5215b1f42cd13b7fc3714d0a09c7b25 \ + --hash=sha256:a4fe1aac3d3b3cc791d4b3d5931c5a956045dc951ee74d1c913ee3ac4d2ee9fb + # via rq +referencing==0.37.0 \ + --hash=sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231 \ + --hash=sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8 + # via + # jsonschema + # jsonschema-specifications +regex==2026.11.18 \ + --hash=sha256:00c7fce886dcbac964c9938ae85c7e75bf924ee440ca57c241544ca377ae2960 \ + --hash=sha256:01121ec4a665b429ac25531fd499009b2d513b86a1008dab0065ffc255afcc27 \ + --hash=sha256:040b684b882f0ea0d812208a9c3278caaffc8e89b042fdbbb7f02fc0f9fffd3c \ + --hash=sha256:04b9d736cf2e5ce02bb77e1d1d38b4c84140ba11bca10ae1f6cf51c702e3871f \ + --hash=sha256:09a77df632f9bc4686bb0c92dca2c0fafafe4028afda85842794095650783d0c \ + --hash=sha256:09c4c6e760abb84318817914b514452fec60942ff057a5fb2ad8d3e68aa290af \ + --hash=sha256:0f0fd2d4890c2af70f3c5e2f3076bb6ab5c9cb7e62dcc562c2cef7f97984694a \ + --hash=sha256:0f721267b3a211cced5e46a5a85f1abe6fb94b9fc0d56fd40df75b2579317896 \ + --hash=sha256:12fa403d245fad05f8789cbc5a44806ac060028904e2ad60dadc503d31652066 \ + --hash=sha256:1346f633165391c9409444b4186ff8c5cbdef41f9c5855208e62dd153924b226 \ + --hash=sha256:18c71907bbdfcc0ead9af9bd7e7327ee44693161e8c31930001a9266fca3e914 \ + --hash=sha256:1cb5af330dacaf131068e6e98808888f4670c72dac1d119512d73fe0a6e52efb \ + --hash=sha256:1f7cf5bd48d8d3bc76ec07e591c77a9500a81525274e5351735d6a6667db54f5 \ + --hash=sha256:20a0aa64795a29f20ced6228761f16562ab4fa493c0d56ede4b66222d59f9957 \ + --hash=sha256:265f6fd7d453eeab5776548ea76bc67f9b5c27622ecb292e0e16054a7e9dc4f6 \ + --hash=sha256:268de3d2550d31df2aded503b5f446773b29647e8ed8dcc789d1faf1ec31bea5 \ + --hash=sha256:26ca4930f86e30045b12e6646c768f0342e728bae652204271f84b3ce716c1da \ + --hash=sha256:27524450154d7f5adba94cc51e98ca130a70cbfd3bc12035d9445493d7c30074 \ + --hash=sha256:299105175e14889ffff9b09c6be05dd6053be6f5c256a9fe58c2e5562b8c6870 \ + --hash=sha256:2a2a16834c9352a09ac2b54c55f6832330df29f10be74de6c1f1d21cc530a22c \ + --hash=sha256:2c165d2e5079361473a4bcf01ffcbdfa87482f160c7d9718afae97f1e9032cec \ + --hash=sha256:2c675b71414a3efe8f659c14f484022ec45a3b5b9e27708b270e55cf2ebf96b8 \ + --hash=sha256:2dea64b06bd9153506f0d16d21cefd911b2473cf26dd808a1aad3fa93922cbfc \ + --hash=sha256:2eb49c4b703a077cb1a3df8ba43b477c8936c9a26c87dc58e97e1f191b159c12 \ + --hash=sha256:2f091e30198aaf10b28003f79a2a6eb408dd93897842d45c1ff16676f977520f \ + --hash=sha256:30579ba632d0869c0df7ecdd39c8f43d60bdfa601324f3b4cd485b829db368b6 \ + --hash=sha256:33cc23f8676b773e89eb8a3c84c2f83e329983afd86a0baed7dd1ba7ddc2bb58 \ + --hash=sha256:3452303e4034697a9c9d2577749e8c0e8ac0eb62ac129e964fa259d609f7fb8d \ + --hash=sha256:34b68358970677caf9baf99114d82d35f5164c89c22abc1b0e6b9d511348ef9b \ + --hash=sha256:39443de091aef36c5c4bdba9d254c4b8903b3298105f52929ee1c09db1509f6d \ + --hash=sha256:3bec21b9a31d15c86961936ad053022262fd6961c9d2c58e1b11b1c04b7bdd9b \ + --hash=sha256:40868950d7d14969271040012c7e72157b465f4d08c51b560faf566502e52c67 \ + --hash=sha256:41a9b38f46b1ed935afcb84bbd39be4666064afe1e8d9da40e51a67f9f225280 \ + --hash=sha256:43cbad81133481acebfbbec69aff0bf9559c1b4ebdd1649d0b220c0aa1bec641 \ + --hash=sha256:468a341e8f5b29f6cbd461fdf6cb8fe6e7a7465c9bf806fb3e6806fd2e808aab \ + --hash=sha256:470df62e1f406e42c54ff2a45b02549659febed4779e9cceded10b3c14324238 \ + --hash=sha256:4764f52715768a9f29410723cf5b17c7e3be84795bb53efa55bf13f63f1e04a3 \ + --hash=sha256:4d7771aefb24ac157c1ee4ffb41bf604072b29a37385b624fd796a1431341719 \ + --hash=sha256:4e4ebfd7fee7f149816eb54318eec93682e3d0d3ea56122c6359c72f560c5469 \ + --hash=sha256:54184b1b2e3e527ca840a58c4859e4cf5a7237a1e82f9ae09202e98e701f07dc \ + --hash=sha256:56fc3047249b22b6a1b06c3e253533d98c4daeaf27a915ce8afa77e2a10a846b \ + --hash=sha256:58d6a7d0b63a93662f4ce29c29f75f70ea8852956945618e80d9d18451b4018f \ + --hash=sha256:5db5590e79219cb1579ca69537e25fe40897dd6856ddb0daf4688d006380c15f \ + --hash=sha256:5e05e46398ac7d3f11d9be3f32f5d8a0411c462ef5aaecfc85ff684d29a85b00 \ + --hash=sha256:60ac825daf95fba2903637e1c4022512feaffe38cf4b8980591eb29c3921596f \ + --hash=sha256:620b1ad0d9fa87501c3aba6c417a69b19460d6fcaa5e66f8f29128ac92dbe6c9 \ + --hash=sha256:66752f97110107a752738f714e361cf9a671c6093705fc7004a8f27156ee5470 \ + --hash=sha256:66901e0d102ff2f7300b997cd330c5fd41227d7d12a1b4b48b1a470ea7177489 \ + --hash=sha256:6784b3f90adf15f550cfff351845d4b4e827d407fcab033ba4fbfb543d6210c2 \ + --hash=sha256:6b6c4237b751d8e18c53e79d9378a92c764542035ed38a612fa5fdc5ebbf794f \ + --hash=sha256:6c37b4d761efa058e2d9cc2b2615b0cb52910e34790e0ec32ce1461d91cc58c5 \ + --hash=sha256:722dce0ec62da40bc7d4485115ee277e27adff9844a1d895a07902b2b1d23295 \ + --hash=sha256:732b422a0aa8103ab2258a48dd3179f71c3f24793c2d5fdbc03faa6eb7d4a494 \ + --hash=sha256:7acc399abbbc924fe785c0895f220238185314450bf94dbd2123d090ac695066 \ + --hash=sha256:837e4e772e4352d250653da1a31af61fb2dfa982a95c456f94519592209f5dac \ + --hash=sha256:852fadbb7e622d73796204d0408dd4374a566bd75f2558c7c4e00378663ee39c \ + --hash=sha256:871d9f17e236e214d5860c14a5b792b3e9affd575873bf8999950b3ca968cb32 \ + --hash=sha256:88e2f4836d415970b4ff5ccc61facabc8d35b01ada1624b6969ea72416c084ea \ + --hash=sha256:8e0257d27d400977621c2ffe4f851227ba2b264776751a45e2dd50507908e919 \ + --hash=sha256:901d35ddd00cc376d13b6b1fead58f5b7d7cfd1bc030a231c9c2f0edadfba1a6 \ + --hash=sha256:98db4eda3dfcbe80d1d65c8b9637440fc2d0e6fb38401515a8948e053fc34a7d \ + --hash=sha256:992697b32050a32192e76d4029018fe0de6113466e89e2ff8a89a835979ccfb5 \ + --hash=sha256:99e623f75f42efdd0cae6b0fd03a4627001d0cdd81103f2e8f5dacf59b4ef221 \ + --hash=sha256:9e15f9a22137ae1426c3de3501e67872fec22b36c7b9f38702ebf8acab26647b \ + --hash=sha256:9ec4715805c8bc096e238f5c43a0d0c814195fa111ba639e76d44857fdc4c124 \ + --hash=sha256:a03290fcbb6bc77a517a6603f858ae4d8116a99acf69eeaec0af07c17868d6a9 \ + --hash=sha256:a1855b72d5d34194fc0bd9fa77061d36c989945e842087f80839ba04ed497256 \ + --hash=sha256:a408377998ab0fad811772c683ccbf6f4a0365a35a23b4fb2b2c67a8d8283b93 \ + --hash=sha256:a418ffa95b86224cee211ea6b50939965b641cff4c43efb42dca145b389fda86 \ + --hash=sha256:a542cc359970c4820fcbe761607086c7b0313f6c09d871f6576cda9ad5773349 \ + --hash=sha256:a5dec9ae44051793aec7f02a73a485f9829e74f57b920965851fbda7112c6220 \ + --hash=sha256:a5e4a307e4a45e3dea037a8e1069b75b855cb138be703a7fc8bff815ee813931 \ + --hash=sha256:a7a0f55101abd19dc76ab08e943ae2f6aff1065a8a760c789770f767b6fc20af \ + --hash=sha256:a807df18988c6423afaa5f62e6d836e1c669821f451b18e509aaad664c3cf50d \ + --hash=sha256:abbe9bd09f96a4cd1128cd8e9d75184fa309d58429483337d834327292ca6f8c \ + --hash=sha256:b053556f07e276e22afbc38c5852853efe4090dee315a6cac00044454357d7d8 \ + --hash=sha256:b5ec9a4289424199b162959acfb332f37b9d7dc1b56217733978f6059be8c5cb \ + --hash=sha256:b99393889c0c99cc594357ef95066699ff247632e631af9d79df41b9228fabe9 \ + --hash=sha256:b9d096a330e7dfb33aeca264c8afb42287e0a08590ce7ea95289f258e963ec2a \ + --hash=sha256:bcd7db110e1a0a1d38e74389cf01eedef0d8e1d16d07183b4d42f47cd08c9316 \ + --hash=sha256:bd4bf388881652e42d96f8d73043557b8990b9ec393431328dc71c8c5e1d64b3 \ + --hash=sha256:bde24c400cdabd142110e1bc73d5ceadc1dcdc34f047839a2c0a5ac360cc000e \ + --hash=sha256:c21f89379303514ef4f992571638071678c9242285c7da4ef29dd8010ea839e1 \ + --hash=sha256:c2cc8d0dfecd3796b192bf8f428077eac2bdecedb19042e6440696729d4c9aba \ + --hash=sha256:c47c48fac15249f6b7d105d74f04a6db842a28952a2d1906e9731c516bacb8c2 \ + --hash=sha256:c5617b4b86b8dc5ae45dd7696311af0f379dd196e58cc5bb211c87338b0490f2 \ + --hash=sha256:c5fec76e4aa911604b9e2221d2ce0300ffbdf7d1a91ade2ff8a8d98f624a3838 \ + --hash=sha256:c9bb7968f71e11a5134c571947fa8934103714cb0113276d52f90e38406cdc9d \ + --hash=sha256:cc02c67732a293f5d4ea9c7ff2709d517d0a8c6529d2239071e23a5760dbcfd6 \ + --hash=sha256:cca221360b9f2f78c8b3d4f50f90d41d8da99a5d2b396c190360279ad32fafa4 \ + --hash=sha256:cce3d9175208adbb4cb0cc24cef720d0f9b6af1ef72bdce692d3486772545a20 \ + --hash=sha256:cd9e59d7dcad70f62e97457f58075c18e961db115c5ce6e507c52e0d928a3b2e \ + --hash=sha256:d2fcfb03c261726670862419d528fd0571b9128270b5c4d10486b1eb931dba4e \ + --hash=sha256:d4765190f97bd24ad51e339a47b7752fafaa46e591b8273cf3da553abeb670d4 \ + --hash=sha256:d55525b41c47cf655fb5cd8ee20e08ba6dffb742fdf3f79a5210f651a5f9b279 \ + --hash=sha256:d7c524cd96253fae69fe54a7055649846105393600ee54eb0de41ab105a82bf2 \ + --hash=sha256:d8e67447b64358c95e325dfcf4d42fed3292e7b491a64ce27a84662316e0b575 \ + --hash=sha256:da0797e8aad3f139c1304714198a0faff69935e2b58ab53079e167fec72693dd \ + --hash=sha256:da30fa355ec5fa707ec36c85bb409daf2c1f450629e0d59b1b95c8afc9e5c8fd \ + --hash=sha256:dbc09d7349afc5474e865a07f15c8e498fa3e35b3a442b22588ee3061f24c7f3 \ + --hash=sha256:dc469a5fbce315688ce93ce15d7f7e8892909286d65935428ae02c64c6274d99 \ + --hash=sha256:e0f011318bc1c34cb2f57cbe38ebbe7309f4671bf97dc788995b1b6e41339b58 \ + --hash=sha256:e30d640f7f6d57d2971134fa5b9f2e1146bccc5709f2635ec06c37961e29f020 \ + --hash=sha256:e7e3e90bf5435e127e6d0bc449f1b757f0bfb61943c7ebf28f6a6c25e572ad5a \ + --hash=sha256:e8804c408642d778e08856dfc5f0e6c98ff9e0fb4fa1184a352ee8cc181b59c7 \ + --hash=sha256:e93d903910720ca96c6fd7347cd243424bc989161197da693e009ccf6b9a3648 \ + --hash=sha256:ebd618efa17c815dabcfee77ae5239203a3b6833209a029da13c305eb2718e5d \ + --hash=sha256:efb9f03b320313a4cd2100a31eb17079b987e83da5dc439316b9ed56d50b112a \ + --hash=sha256:f426904a648190601a5cf8e9fb50b2588bf60fe6f889fffc8776b2df0396344f \ + --hash=sha256:f5a18c3790dee94b702d65d1cc9078f9cdbc0997cabb8ea0b2f201a03679f400 \ + --hash=sha256:f79956773170c998a7c63512c188edfb991ba760de109e8781552da22f77f517 \ + --hash=sha256:f855b0ada7aa0bee1fcaafaa67d30aec7c5a637035dc8bee11f2e4c32b27e331 \ + --hash=sha256:fc73df7b04116411fbf0e9acb0dd2e11efef796d115fa10d87bdd66dbc44f77a \ + --hash=sha256:fd34439cb7aca1128c86f9870a69d023d1a1d356b4b2461cddb28c35579c7901 + # via tiktoken +requests==2.34.2 \ + --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \ + --hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed + # via + # azure-core + # msal + # tiktoken +restrictedpython==8.5 \ + --hash=sha256:4ed1269dbe3caa88db650d1af325198a952aeb1451eca05df0cfa65db4466215 \ + --hash=sha256:6c70e0a3af13e830d37225788cdc8ab5804a8df4b500c135086eaef34b5c01e0 + # via litellm +rich==13.9.4 \ + --hash=sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098 \ + --hash=sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90 + # via litellm +rpds-py==2026.9.1 \ + --hash=sha256:00ba2d8c7dd4ee537978ddf4b3fbd712bef2d8751603f7f3146b3f4287768e25 \ + --hash=sha256:01445c8d194aa032a08e944f16567672da1c62dbdbefd8b6d0693032e290cf68 \ + --hash=sha256:028ad274ea951dac64491b5d1e65712a4aeabfdbdb9fccf797b57bd899b0c495 \ + --hash=sha256:0483515261947e4e8b8e1375bf7463e7eb6ccfb3d86e7b554d90cd5285f20f32 \ + --hash=sha256:068c37bba854ec2fe42f7365c640af11dd9895890ccbf2df5070d0c059bd7f96 \ + --hash=sha256:074a4d198bc34d9a8ea425114fc3ded6d11ec01f6a314a8db67454a5152d8834 \ + --hash=sha256:07deecbfce94c78473018bc7d10b337cc651d12df87a1eb2cb3e4024bc9c33d0 \ + --hash=sha256:08dae4a4095150a7c4545a1fb40b98e1ab1744fbc2770d92c977b9dadaa49ab6 \ + --hash=sha256:0da298fb372dc192610a4b9ecbc68a0cd8b675bbbd1fc519d01b41cfd658333e \ + --hash=sha256:0f045bb053c9057720d72c56dffe30dffdc05997b2897a827b9325f0ab6623fa \ + --hash=sha256:10e208f2425d973938afcd56e28a7c4be32e27b6a60b5d381f49fb9d8acf9759 \ + --hash=sha256:136a1c3fe4402b7008bc81cb62ee538481795b61a7e83df88dff3b3f02b726ff \ + --hash=sha256:159a7aab5c5e8b112c8830f54717ce56da1252ebdbb526f5be2df2309280b9e7 \ + --hash=sha256:172e47169583f46ce118cbec68e6795d0da0f4606b488b6434f8276bca0a058c \ + --hash=sha256:1c2d1f6da5128eabf34e963d7163a818846075a52568250d006c4c953b40f903 \ + --hash=sha256:1d55198263bb51f557550c6ed2e6d1cb6a6fed6eb5c9120b741c5926bef8a45d \ + --hash=sha256:1d77b649e6f7cdf12ca5c2a98dad0ad37f9ea9b6f960408a92f0cb12bb3d04d9 \ + --hash=sha256:1e8d4d79d828299bf44a55db22a9388ab967b49d17132c88eab0f4360b48da8e \ + --hash=sha256:22ffd29a63d71fb1b81552c21f2c2b734949b7ac751a9be70675a939a900839b \ + --hash=sha256:2693b2728bbcc48d09a981a356954b0c47c53ff25b545856f28a889ea619f69a \ + --hash=sha256:270bdcdaac5d5b6f73c5e22e7e135c7f2a50e789f71d9e241d5be8d90026e19a \ + --hash=sha256:2711d29b653b3bce48a63d18b9c6b53274669e6d6c4094dddeb4d9a0e45128b2 \ + --hash=sha256:2c16ab111bc27c646ba8aa005d0527754edc538ebb636f0b1bf8e244b48d1945 \ + --hash=sha256:306ee1850d8105b5baf977e78d45fcadd12c1a54678d614c9baf217708446e91 \ + --hash=sha256:3231c4c0e521dafa5be0c9f114ee2c2ad46650836f2d72caa86801950c3e7044 \ + --hash=sha256:3890a6aa36e6baa53d5258a2a25d3ef8b37ad165a6ab27a892d7c3e3a432cd69 \ + --hash=sha256:3a72c11530d71abfb66c8d7696a2f86c43e63fca8b948f1a784ac490f4ec688e \ + --hash=sha256:3b5a6f40f0a1486b4b36c888123afc67acdbd9f33235927acf5ff295429a0ba3 \ + --hash=sha256:3c91c210ae7645626c608400e3519b4a642f837cce09ca830db3beb2e9f274d4 \ + --hash=sha256:3cd182d7291d29b92c521a0069d9c01ba6193628a9a105531d11b40a6d731a33 \ + --hash=sha256:3e524c7874ac72884d28e16dd5b8d839fd09e0fe76b020d3fbca23212a7b8c52 \ + --hash=sha256:3e93b2cd69a9830be33e03945cd7cda940a0a8bfcfbff41d6144f0cb0d3d8bd9 \ + --hash=sha256:3edae8c5ddfdb6985d49ae9d150516e5076888879022f91a26c2de9276ce0bdb \ + --hash=sha256:3f0e9ac28fc067d4d34b88ae43c48e9489455c97fee9633d851f7eeed5a05d35 \ + --hash=sha256:42e75466f83cd43f6026c81eab74246efb2bdadafb307b85700632d06c68f299 \ + --hash=sha256:44b32a7c4f0da3d28af31c259e38ddcff096f855e205ed0671d02fcf44f1ea1c \ + --hash=sha256:457866b85daf5034296666168b84a69e0b2e89dc4f1af102b46f6448a60b9063 \ + --hash=sha256:45bc6bccf78b20fd834237d18db64965d7ee68ba7f60440a26c7ab71e7b8d51a \ + --hash=sha256:46d80bc76b51a6c24f9944368c28d38b8bcbcea1da4f2f8d3ebc31a67e8c6ec6 \ + --hash=sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12 \ + --hash=sha256:492e5e428cbe126221611f47e068f01660352feec4ad18bc0f5ea9b2ae88fb14 \ + --hash=sha256:4b26b03d9d2658ee2fa234f8f4f19f38a09773fe5261028025032e26d4d35af0 \ + --hash=sha256:4c0d2cb595a420b34d5086db0add011e26e2c09d6a024afbac4228bf8f863a30 \ + --hash=sha256:4cfaf02209061880210819934de2f4f6aa83dc04dafe6770276acc240a56da31 \ + --hash=sha256:501909f2e4a1e2dee528ef766fe3c469060ebc17e54a8383d404ba07a81a6f02 \ + --hash=sha256:50906f5aea24b5a865cbd0a589698288631d9f3a54c3a937c83aefa95a0d14af \ + --hash=sha256:54ac2158a6f96cfbabff0b2eedaf94b90c5ec7ca8317fcadc61e1c2b2e0ff6ef \ + --hash=sha256:56c6952a9b15047466d0c2347c446a761d4527f89976156341e68f0ce5cc08b0 \ + --hash=sha256:56cd8b3f77d7b6812f533b662186a1f28316931166ddc00fb893b1b0db7e9888 \ + --hash=sha256:57492a550a1d88d29d003247e5f78dd8cf04a701fac0e4c8db8745a6d2504e0a \ + --hash=sha256:5943980471829f6de242a20b109de3111ba6b77e3af0ffc587028ac854b05e6c \ + --hash=sha256:5c6ee90dee3e85e055ddfd502d611643d9b0fd94c818220bda84ec3dacd9b27b \ + --hash=sha256:5c90e7fa02e8f5de0d10c17595c568ada48c5302e749462c0ea1a4c362111a86 \ + --hash=sha256:5ce8943f79c2210f7abcc28e86367b03b28d95027fd01c46d2472373ae70c86f \ + --hash=sha256:617f59cde379b4f648a09797b7f683d04b90a46344cddab85639da5aff0f5531 \ + --hash=sha256:6307a0da524939decb8ca4a3933b8ab62525794411d6984fca6726e732804af6 \ + --hash=sha256:684fd492fff4fead00587544e059be2bbcb6f93454f21fa2a91b66fc7508be82 \ + --hash=sha256:6b5b393eda5ea42cca1c1a6665f2a4882b4fd5d1777e41ce0545a107fb008c9d \ + --hash=sha256:6b723eb406dec5bc9ec516c73ab9c3239a3284e017f7eb89ee2b3258bd504fb7 \ + --hash=sha256:6b9bf3135b4ad5981df9a73d71a35272d650a2985ae9c2746357b24d59de2448 \ + --hash=sha256:6beb738155fe8ab8091afdfa5a3226b21c2b1593f1e50ebb90eb25b44dbc0391 \ + --hash=sha256:6c0dbbcc19735fe5f8b0a54c07659d154a9e69f47e15d0a6ab7299215daf62cb \ + --hash=sha256:6cdc537c8633d7fd92a82e2e0d2ab74320a3f63d5e59fb9cf08711e08fe151c4 \ + --hash=sha256:6eae33003518fd4cb4f83a218d5371469dd3001aa3b87128c005b07762f7fe5e \ + --hash=sha256:740d0a99cf9de0b17a3943388e9294a59becf75e7c43421f387bd3c7a9901f7c \ + --hash=sha256:75c38c50ab9aca840225d9a9a3810bf11d04bd5c1f186cabbb8aee56db3e9b15 \ + --hash=sha256:761fdae6728ceb99ab182fad2f0cc1e262f610834dc891aea1d1a2a2e634776f \ + --hash=sha256:7664419f27db41d4f1c43a78dccda7dd6e8ef2428df3ee01d0c2a07a6b071297 \ + --hash=sha256:76d3af9732d2dab69f28179b40ba2d87e2f1d5824b4a694780aa787d685e8f36 \ + --hash=sha256:78326f4cb4427a56ba4996c0762b63be45f06b85f086526420d2b3a66e40f84d \ + --hash=sha256:7868b85224291c6cb6759f9b5adb9745f486d226f62b16a614dd5a2a5ab2b35b \ + --hash=sha256:815d26356930846a40c7bc1366e7b1b0320ab8a063e66c11298a208bed0fd237 \ + --hash=sha256:8171b44a054e5c67fd748ada04187f1250bf35b95f85e52ab64bcf3331a923bb \ + --hash=sha256:821b2755db9194409254012f429c56643416fb96ef9be090be82ec8826b7f477 \ + --hash=sha256:837c6b305e26fe0f75b15c92cf3b2ba29e0ae19dc40b1c557b026cb426347d0c \ + --hash=sha256:839dde845559254f34885267c6878f60d61d5205180226d976fe488d45fa128e \ + --hash=sha256:84a6ecc0c940169190d2c23bd969debd48c94dbc855acd60188a68d71d421608 \ + --hash=sha256:8601470267d938bcb7f3ab1a336100af51a4fd5b6ed030ef52461bb3ef5e7e07 \ + --hash=sha256:88b5268892fde430d5531f95bc560b6efbbd67c929662c586afd729a96e7461c \ + --hash=sha256:8aa5dda18d39b6143eb24809d158f9252c88f402749b6f1b62a506cc7d96cc35 \ + --hash=sha256:926bdd3e3b5998ddf70cc64bc8cf57209571f9044542913afb673799fec77dd0 \ + --hash=sha256:96beca19ec79de272e8668585380ff9092c47077c1d7a1e098e00bbd921f4785 \ + --hash=sha256:9a0460d43603d1fd9ef59c30278531e15d78581721ddb538fa560aa7817ea4ad \ + --hash=sha256:a03d57b86d2a51d0a66c92177e2be154ad015f357791d306e714569999cdb4cc \ + --hash=sha256:a36b70596407634ca82d4b989a3729074a008537a0522e4c8046a67c729103e9 \ + --hash=sha256:a3a52a3ba86436ab3aef510fbe21512abc2ddd1993005dfe50514bd2284ef025 \ + --hash=sha256:a3dbc5ed9514908d5046107d7b1346bde71eea61de6e0e4919c19354f97e769f \ + --hash=sha256:a431156bb41865fc14cd5d79bb9d7bbed83110b0159e34e62ae30951f96c0009 \ + --hash=sha256:a575404ebc9cf2e91edd32eaf570ec1430eb900d4f56724ba7dd4bc1fc9c176d \ + --hash=sha256:a5cf77eb04f20b720be95265a3e00eb2a14814074255cc27069c551b2db53118 \ + --hash=sha256:a8763f20692da7df39b0afdd1ba3042b004c50a45994f76c2d9a25641f7673db \ + --hash=sha256:ab4b2fda7c2b542f7f9d886cc6a838c5079d2b76f72e6081411faba11adde2c9 \ + --hash=sha256:addeda51556dac7c1a2f14cda62db8b621cd12afba3091d03a96c72932387eab \ + --hash=sha256:b242c27c8f836305a4a72df9cdd564386ac57b807bd252a063223331c9316b37 \ + --hash=sha256:b4f062343e7ad3fa94f2c66e5ae667dee47ee74dd41a9057c4fbe163236a123d \ + --hash=sha256:b5b8b0753718d258fd454283fbd57e14545d3b40583fa672e27cb4f987626bcc \ + --hash=sha256:be3e47e2d91aa3942ff9bf4077a505226005abfc39b6f7554a91c1b9393986b9 \ + --hash=sha256:befc2d6a953e563f8a7bfd87a42c22ebf8a3e980dcb7b6a4d17b70b0e914e8a3 \ + --hash=sha256:bf35d0568abda97233239ce32896d3ad53fccc537832c104e30c94aa5fb93569 \ + --hash=sha256:c933c6678c6f116ff8af47a4c6db0868b8ace74af0343016c0ef00f00272ea69 \ + --hash=sha256:c9d1aca01f49170fdcf5c92761b1fafe97f554b721ca4570c5949fff778f0d4b \ + --hash=sha256:cdeaa99ce822dca76cfb1b993e9120c5ea212f2eb66d48950ad63c349668a018 \ + --hash=sha256:ce4d4f52e2a4324396caddbd45a97d8d7be5f42edd25d2355282a9c34f9b2f7f \ + --hash=sha256:d1028417bb44037eb3069c1009bd7b7277212876cda22fbe565b0bca9fab6d2c \ + --hash=sha256:d151e148117294133bf8af7eeace085e7e87432db15ab6adf640330298a47f6f \ + --hash=sha256:d7841166b7fa64c9c56404617ae4341448847482d45933b13135d26c130519e5 \ + --hash=sha256:d7fca4eb6df565e2a928f1c7dad92d27db8f9df0f449e76423ed5d7e713ed445 \ + --hash=sha256:d95a354e02393eada6d7351184671aced9d4cce109dabf927cb7aa99624352a1 \ + --hash=sha256:d9edf30457d74eebfd76b045535e36f1cd89062566a128a0db2145ca042d787e \ + --hash=sha256:dbc2673f9223d420c91145599b3ba45a8a50c207d1976908e5fb5ddb0c9b9429 \ + --hash=sha256:e01b3c878c8641913e688edd1b3f08658c6783d29cf6b826bd3c0d1ae7a1ffaa \ + --hash=sha256:e21c1429e205828ea886a2293a4a2c8e01f4c25d9893ca330e97a6cf73f52e7b \ + --hash=sha256:e43d4a1f673e8a1cbd8533e809e02b4bf9d4f2280269bb640436556312121250 \ + --hash=sha256:e6d198bad4e49dd6732fbd636e2fc5c082f45c8cad0b4acb756b00c82c76072e \ + --hash=sha256:e6ea1cda8d8c688278430e4268a42f5e5da3bdd74578dfadc0820c3f1766ce83 \ + --hash=sha256:ea394a937f17a54c51239348bdbe2e3518124c8d4a8951ba04a311d3095bd18f \ + --hash=sha256:eac2f5dbafd585dfe31f86a23ebf0d3ba480a9d49ebc87947267b5608d4ea0cd \ + --hash=sha256:eb61be926bb81567c1f48bdc8aa22b9855048dc2efd53871f9f7e6e9a5632346 \ + --hash=sha256:eba5d173f7d5708b22a93815017a4611873ed54db9f268077c0dd1ed99cfc858 \ + --hash=sha256:ec450527cbf485e13c8d3602a54f428ab0432fdade0ede75efd74b735421c871 \ + --hash=sha256:eef6a03b0b6d08d0835ccfa8ec8d1bc70525e3801387567137b50c557695e6da \ + --hash=sha256:ef0d8c843e2827d6c120ab4687e9423fb1d893db1df27b7c1506615bcb9734a0 \ + --hash=sha256:ef6b65b03247c54692ad4fd9ee97cb772781927db72e3cb05e70b3db6d1ff14f \ + --hash=sha256:f3d6ed6a98cfd19155996605474982cc470d7601746a6439078f1a5a3fa8b050 \ + --hash=sha256:fce4b85234a0cbad67bf8e6e1201ee815d172c9aebad75f25645bc4d834f8e31 \ + --hash=sha256:fda1d96e542c37b6c804547dbf489c129fe7c97183a76a5ec275909ba1a063df \ + --hash=sha256:fdcd198979b4ecffcc1beba366a7fbcf4eb41243691a82fe52ceb0b902f09c12 \ + --hash=sha256:fe5ad0664ec772b02c45859041aa17655709cced7a31005817fbbbd988c25567 + # via + # jsonschema + # referencing +rq==2.12.0 \ + --hash=sha256:78116d0c860f6285817b52d7d6d0b16a726372073ce8ea1d229732ce74ef9378 \ + --hash=sha256:97e349a00e9f2a18962102b3dca156cb5ce315d3ef38145e24ba9cabd16a9361 + # via litellm +s3transfer==0.19.3 \ + --hash=sha256:24eb7535804306355e31c952a90022bf5b2f9d760f9a11062c7493a217c08553 \ + --hash=sha256:8326acc3d056d7f7b8a37110c7d2aea41f67e83f6ae79cd3b5fbcca34c726406 + # via boto3 +six==1.17.0 \ + --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ + --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 + # via python-dateutil +sniffio==1.3.1 \ + --hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \ + --hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc + # via openai +soundfile==0.14.0 \ + --hash=sha256:0a6ae43c50c71b4e020cc55382925cb89451c1ed1a0c3d0f5d802da269226849 \ + --hash=sha256:19be05428da76ed61a4cad29b8e4bcf43a3e5c100089d2ec81dc961eed1b0dd4 \ + --hash=sha256:1e38bac1853412871318e82a1ba69a8be677619b56025bbfcccdb41b6cafe82d \ + --hash=sha256:299491d3499460fb1b74bb4bd78b57ffc2d243a5fafa7b6ec1b264875c78453e \ + --hash=sha256:8ba81ae3a89fd5ab3bef8a8eb481fbbe794e806309675a89b4df48b8d31908a8 \ + --hash=sha256:ba1c1a2d618bca5c406647c83b89f07cc8810fa506a50622a6993ba130c1de11 \ + --hash=sha256:d828d35a059626da52f1415b5faee610aeab393319cb3fc4a9aef47b619fc14c \ + --hash=sha256:e090704718e124e7c844695236f1fce8d18a5e761eaf7c82dfcd124620805f98 \ + --hash=sha256:e85724a90bc99a6e8062c0b4ddf725f53b2a3b70afd4da875e9d2cfc4e92f377 + # via litellm +sse-starlette==3.7.0 \ + --hash=sha256:326416da2ab52e9a41b3f409d3ff897eda45aa68c9f3b7b17d0913aab8d219c3 \ + --hash=sha256:f1d3136caa12d129284fca3d2ded79bc9af943320b6472712955fea52a6d3eea + # via mcp +starlette==1.10.0 \ + --hash=sha256:478c0ab3b4ced6e82719849c118fa406f0278a3499c1a898cd15cd31bdc38ce4 \ + --hash=sha256:b8399098d4c1e3522734f7235dc79b1fc967f96cf139c81e0fa30479e0685f9b + # via + # fastapi + # litellm + # mcp + # sse-starlette +tiktoken==0.14.0 \ + --hash=sha256:087538c080e5ff421abd3a0785ed63c5111d06af98e6cd0d374dbe5969147ca3 \ + --hash=sha256:10f31e63e40313f2e518d87f7086cfa44e45f64cc14d8ae14103b41220c30a14 \ + --hash=sha256:11d8211b290855d2721334ff17dd9b3a17bfb26872be01f25d73612ef7ece890 \ + --hash=sha256:144a3fc369f92b7d548995217c5d6e84038d3572157a0f6f34080d65291d0f78 \ + --hash=sha256:149d97453c4c98c04b081d64a85e635921269b532710d6faf81e9e82b790e7d3 \ + --hash=sha256:14b47e3674f2624803a8acc8fb367b7e24fc53055f9df3296482fe9a3a34a232 \ + --hash=sha256:151d37a150c8f3dfc5f4345597b10e101876bd1bd13494e0185af6b508758d2e \ + --hash=sha256:18a1b651c4b032004bf7b4f1713391a54b2a341a52c6e8a2b59acae9d16e13c7 \ + --hash=sha256:19d643d701fdaa70e5b9c7f8f96abcaffe77ca5e482a3a1a7dde46feb4284695 \ + --hash=sha256:1b6e4adcfd285c44502aed51df98aaaca4f0fea028165dbf8a9e857b9f98d8ea \ + --hash=sha256:1f83081065ee5833d35b49e9180f3d8d15622a603dd1c435da0da6cc12b3662f \ + --hash=sha256:2157f52e4b4d7ac5ecc7457b3716834706e7ef9a46f5144029bfeb7cf71f4e06 \ + --hash=sha256:231dec90efcdccf1b565a1416107736f1e09b1a08fe736ef9d6363e626d03874 \ + --hash=sha256:26cc4b4840fa0e9f4b72ed489883e12f57e00d1021ca794720e3c29a12f0edef \ + --hash=sha256:26e60f6a956ee171ab728b37b8439905d7ea1db435c30f9822f291e9861c861d \ + --hash=sha256:2cc19ac87b41c9493c9778ff5847f0c8bbcf5bd0ec6b87ce06c1c802adc8a771 \ + --hash=sha256:2ea70afba6b9eddbf22c165142e5f0a2ad7aa36a452873c48b57bb2aeb8492ae \ + --hash=sha256:2ec16eb585332c55d022d86354e209ddf27326b1ea3477585ab248e7776d3b1f \ + --hash=sha256:2fc834fbe3f6a0736905c36ab709537e6840dbd63b982dc9e0216ae7d305ba1a \ + --hash=sha256:380873f330b741c4435574f37edb20813d04603ace2d53e0a63560e1fec83010 \ + --hash=sha256:3b12e54f8bec91433e41aff65d8d1f209a4f678081163747079806e5361f6c91 \ + --hash=sha256:3c5349c9f916283bba32bec8af69b763e4faa304dc004d0eaaea66a3cf004c1f \ + --hash=sha256:3de75343041a1c57333b1e707ac8a9769738241d7d6a55d39e12cf84548337c6 \ + --hash=sha256:3fd7c14b1cb45b486c39fc9b3443bb341f3e2fc7e6f31247f3435a5836651632 \ + --hash=sha256:447ada49af4898b5e992f0b5799d2f3af385921102c211947ce3fe960dd919da \ + --hash=sha256:4d8d91d68353bd167fdf26467e5ff9e56aaa5f87d6410c0238608629e4dc0d33 \ + --hash=sha256:50a7e5646cbac2a8f7c3e8c0934ffda1a4357ee9c44b652434b23c3ed54d0900 \ + --hash=sha256:561e7580f84a79859af1ef6f676968e9030fcc3fe195700b15235bca64f009c9 \ + --hash=sha256:60c47ca69ddda0dea8256fffd12e1b86f4b59734a20e4a70c61f63cc5f021df4 \ + --hash=sha256:6eb94895c45f26bb8f5546e5fd8a069efcf6e3f108ea9d5cbe3bf6f7f3983438 \ + --hash=sha256:728303a072163130c5b477b1f20d6211895569c1d5302c24ffc93a3009160871 \ + --hash=sha256:78571efc311c30b73f31eb949a921d6dac39a5d9dc42d1cfa8f8db157b3447b1 \ + --hash=sha256:7896eea257fe497a2b7134474d909156c6744ce8da35bce88011a960e008aa0d \ + --hash=sha256:7aab286a020660a039097912a088236b985d18a3090d73f136c4413d29d37ca0 \ + --hash=sha256:7b7acbb7a4b8383707bce22ad3c162006478c27b56368acd3e1fcb1658a80425 \ + --hash=sha256:7db45b98e94adf4173a5cd7422b150999a7ee11ff847783a14f6e1b80cc38cb6 \ + --hash=sha256:86951a971c53979ec857bd8c4a32dc227ab0fd33f6c12a3bd62d3fbf5f0bfcaa \ + --hash=sha256:86f66c85e796f5d05d5c4a60ec1d40cbfebc47a32464053528c797163fa9ab89 \ + --hash=sha256:8e947aefe98ef74cce94923f90e48c98fe34eb1ec0a6bfdfadfc5a96359bfc36 \ + --hash=sha256:90a762670c7f968184723769a06ed51f5cf5ce5dcd1e30164f25c72d85c2d1f1 \ + --hash=sha256:94f77b60a8ab23580db19ae822744c9716c1720020d2179ca5605112d12326f1 \ + --hash=sha256:979c1524f753b662b0f3cd261b135afe6659cce33caaa7a5ea00dd1756b3055c \ + --hash=sha256:a140e83317fef02faeeb78d9a8efac623887f2feaf0055c55dcdb2b17f0226ad \ + --hash=sha256:aa428a559d5fd02ae619aacaace86c7474a1f2702d2c01fc828908dd60f20f7a \ + --hash=sha256:b950248272f1b303dc32986396e2dccfa10cf6d1e83ec8f0bba1776660305482 \ + --hash=sha256:c2edf09b381fafbc014ae8e018ed25087abb9a3dafa8465a0ea63c6558c47a79 \ + --hash=sha256:c3093001ddce822b4587e6e94bf6de36a5f97b3f31de1c9fc8d4fda144c59ff4 \ + --hash=sha256:c6cb9896a82b9ee44e15ba0b5c8044072f2e4d48acaa704c8d3feeef5ad9487c \ + --hash=sha256:c77d4a3e1deb2707819df92046b89aad1ac81d27e07616b797cbff3f62c037da \ + --hash=sha256:ca4db6ff5c5bf600f9b7761a0070ed44dfe5797a76bd432fb978bc480ef40c58 \ + --hash=sha256:cbe2cc3bba939bcdaf103e03df9d5039d33887080b315624be28ec69059e5f94 \ + --hash=sha256:cd8ca1305c1c902fe42c486165f2e4808d9997625c98ffb05b9e0366d99d3948 \ + --hash=sha256:d0781223705199b289faa59601bb9c2441712d4c600dd13c43d8fd6a33d22cd5 \ + --hash=sha256:d6cebe67765569df3dafac8474e4eccf5c19d24140492567a5e58a11445732a4 \ + --hash=sha256:e067f4cbcc5d036e8aff7fe7a6b530a8f4de2e4616ad9005a24a1879e24e6450 \ + --hash=sha256:e2eca764c53490f8930dbce329e0769f11108d87d908282a80c5c130e26e7037 \ + --hash=sha256:e3442bbb2f0c588cec876061e37ae67b455b9df9978b003c8fe30e45f2ef5b42 \ + --hash=sha256:e4ddf863b59347deaa92302dcd90e5eb003cdc9be06ec2b692c38d1bdd9efd49 \ + --hash=sha256:e9c5fe393aab56469f04e432ff851216d3def3436cf5f07e442a240164bf500f \ + --hash=sha256:eceeff0c62419bc78d4b6e70a4762a4d25df3ae8f2d5946e3853ce93e7a57098 \ + --hash=sha256:f2af4a336ea56d6c14f27741a0e1d8294a35dd0b038bcf990d232ebb54eb994b \ + --hash=sha256:f3d6cf93fbe2e7117eb7bedca684216fbe328a41f0843ce34245451d8eb2df1c \ + --hash=sha256:f5e7665f6624e052e5e7f6a36919ab69279decdc976d7b16b4fa15e1897d0513 \ + --hash=sha256:f702e0aeeb6506e57687e881c59e844ebe8f0a6a097ddafe20e3ab25f387be4e + # via litellm +tokenizers==0.23.3 \ + --hash=sha256:114e2b55ed177179d59f4ab98200a4471e11e78f9e4b5a922d146740f96fcf52 \ + --hash=sha256:1554a6eed34d9d6a78d23360f4e06df8dffab1ae08c7e8488e0b3e3b36cc266f \ + --hash=sha256:1ebf28794e7e4954e20a7f70fbea410b2d1f0418f7dbbca97ca384fcfef38c25 \ + --hash=sha256:1f0823bb00c5fdc98e487354d54dd55a03848d61a1a0bf29a68c77f24f3b26c3 \ + --hash=sha256:2a89614730d7b80940a5d2ed9320e1ec8add5a745c6151d8d05071b7215505b6 \ + --hash=sha256:376851d22bcf9d650a5c3090bb83e6cf9e895fbf0595369fa4cd43c1f69b5f87 \ + --hash=sha256:5cc24bb457dd4a8af89c8fcb40074d570129ec473df2a866c276ee55db4749d7 \ + --hash=sha256:68649e97d5b43c44c031d8d848874a6eecae8f8fe40ea989aa777a5a83aca716 \ + --hash=sha256:7e48734d2de9260d86f03ab056d2cfeeff3869f61dbd49aaa15a2793b5f3458b \ + --hash=sha256:82eb480f6f1c21cea3349dec32cf1a6384c6c1e775f00f83b0d51197bc013687 \ + --hash=sha256:84513ef0aeb8bf8f4ea11a2e8a7ac163ec5288aa115e649a59b470ac5c3107df \ + --hash=sha256:9d2b5c97daf61688c2ad1803ca851800feaba50fb68d5821779e9ea5880d968c \ + --hash=sha256:a4fbb3662f9f59d199d61338e54b4bcc11d07ebbb1aeb3540dacb2be9c521cb7 \ + --hash=sha256:acd5c57b4bd3e56e246e2731a3a3a6825a7a7d89b7e3b761ba80bc521710f04b \ + --hash=sha256:bf501c40b72d2d5c8623620210430e9cac1ce47a46e45b34107b70a1557d46b0 \ + --hash=sha256:c64a0713180ff16829d4e7f39a658b77ea11443af4e1aa46523692943c9b1414 \ + --hash=sha256:cded33237c77caeef62944d32aa9a7ef42bdce2b3497e18d137e072a8c4be438 \ + --hash=sha256:d3407fb7b9c4d75dd68850ffd7180bc0a5d2dbaf0762d888e612f31fec3f9c6b \ + --hash=sha256:ddedfd4b3b4be6be24ff6ca645c4a37fddfd305f6f3e354c54cf10b715c48215 \ + --hash=sha256:de536665495cb4b409d25bade41963f801aff4225c19a6b804b048f7d14e34c7 \ + --hash=sha256:e05ab7baf7f47b406a95fea6f3b0a484b2ddcd9e1d14b68844c457eb755085a3 \ + --hash=sha256:e88646b8580c5ad7f4361477f1298e9cc01771a1ee9aecfe32c47b8ff614cc38 \ + --hash=sha256:ec82e80e65a862275b97c3d90b7a523df8d9519ee48aeb4e9625b2cc909274e0 \ + --hash=sha256:efa3d7318406b4d115dce61ad5061953f1f44b128e79c020ce4615d763e23b6e + # via litellm +tomlkit==0.15.2 \ + --hash=sha256:05562412163a3037b94497385fb7f9204c637bc605af7a48199e41cf2272f437 \ + --hash=sha256:83e32755ba1d20d9340bd069ee97e9f6232ba2346b63ffcba425de01f7e327a6 + # via + # litellm + # prisma +tqdm==4.70.1 \ + --hash=sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73 \ + --hash=sha256:cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4 + # via huggingface-hub +truststore==0.10.5 \ + --hash=sha256:30d36967ccaded5cbb38d602c433f53600036c79d502f4533a49b60a03bbefcd \ + --hash=sha256:9aaaedaefaf06d8b206278cf8b5012bc897f485a874503501e12d776df78951c + # via + # httpcore2 + # httpx2 +typing-extensions==4.16.0 \ + --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \ + --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5 + # via + # aiohttp + # aiosignal + # anyio + # azure-core + # azure-identity + # azure-storage-blob + # expression + # fastapi + # httpx2 + # huggingface-hub + # litellm + # mcp + # mcp-types + # openai + # opentelemetry-api + # prisma + # psycopg + # pydantic + # pydantic-core + # pydantic-settings + # referencing + # soundfile + # starlette + # typing-inspection +typing-inspection==0.4.5 \ + --hash=sha256:7f16c411e7930dc79596d42ab44672a3fe5f60eb34b781a1647e7872363120c7 \ + --hash=sha256:bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39 + # via + # fastapi + # mcp + # pydantic + # pydantic-settings +tzlocal==5.4.5 \ + --hash=sha256:ba976898bad27945178c9ca25c222c19e322b30c10342b9f40b46714f70d2d5f \ + --hash=sha256:ecab534f6d65d9deb4c4ea52c121ab6dd5958e9b878e71dcb102578269752454 + # via apscheduler +urllib3==2.8.0 \ + --hash=sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3 \ + --hash=sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63 + # via + # botocore + # requests +uvicorn==0.54.0 \ + --hash=sha256:505bdb0f318731d45f1f712071fc781a8981f6847a31c902c9f5e652d4f67faf \ + --hash=sha256:a2e33cbfaa0306f8e6b0c13e0cb89d7d7a2da3e62b90c66e18c33d9807b28620 + # via + # litellm + # mcp +uvloop==0.23.0 \ + --hash=sha256:0305871ac712f54b62af73f943dbf21ae3ce80a44bc0f0151424484affa85645 \ + --hash=sha256:090865d8ce7a03986755a3ce711b7dd0d4b44eb14ab74368b717f3fad1180208 \ + --hash=sha256:098a85e1393ef5202767b7e5fb41a32cd8bd81e6ee4af364c179801c4aa3f6d4 \ + --hash=sha256:0efdd55bddbd36bb2fcb842d64c0d5f6407c6958c68088cc25df8c09edc5b5fd \ + --hash=sha256:12634f15e6625f78b3f2922f91404c4d7173487eba11746764153f556e9852dc \ + --hash=sha256:1748321e3c59a14a75404b1ae8d5a8d81c4e201803ea0e14c1b6fd84421024b5 \ + --hash=sha256:19c64108b507cd0bc140e400e3396bacebd9d504956aa7726272bf6de7d9aabb \ + --hash=sha256:1e84575f11873c109cf3962ad0bdf679094466184125f4cadcc41a73febff41f \ + --hash=sha256:24c58ae4a83e93a04c504bcc678125e36a0bfc44af928ad69444880c60f187a5 \ + --hash=sha256:28d160f51ab4da3b187063652e643dea6831072add4adc1e6d62afbe73b6be27 \ + --hash=sha256:2dcff2d69be43e6559e5dad2c5a7a2dbfb60e05a77311b6c4b7a4a8123d86c65 \ + --hash=sha256:31e0cf90bc8fd88784f6802cdba968a51fb1aec1cc3feec74d862b2d371d1330 \ + --hash=sha256:378188efbb1524f2219d05246a3e1e5907217848d2882144dff59585f1b81d55 \ + --hash=sha256:42feced24b9b44b856c633eafb5cc5dec354972da55ce77598db6844c054bc7c \ + --hash=sha256:4448e9124537620f9c25d004c227bb5104440b58955c19bbd312d910af919a63 \ + --hash=sha256:4a08875543bbd4519faf30497506c9cda8a48470467ffdf967c7313c7a5981a8 \ + --hash=sha256:4b8e207c67d207a8608fec57e116511030af3495dc0109b8c333cf9cb412b16f \ + --hash=sha256:4bb7f5d0b62b5afaaaea2b7b60d508921c24b0fe39c22c1438bec1811ffe10ec \ + --hash=sha256:4f1798f56c6f4ba5ac11fa2869e5717926e4470d97a1dd42b4f59219d43b5027 \ + --hash=sha256:514698d3683189031dcbfdc31e87115992e5ce9e1b19fe5359941323f2df800c \ + --hash=sha256:53c2c5d7e2024e46776c2d90e6c637d01102126b61aaf5faa5edaf05f8b5722a \ + --hash=sha256:55d6f4135d914305929fe9e9c44d8b5383a9b3fa1bee3bfcf60ee97e01af07ea \ + --hash=sha256:5a2bbad3a63007f7e9524d4903ba04fee252557c2acd86f9a3d4f91786695254 \ + --hash=sha256:5a3e0f56ec19bfd9ad1605572878dd6ff7f01b325f4fc154812ae70d615c3aff \ + --hash=sha256:5bb9be71d9ee39b4359b832f9569518ec9bc08704194034e79e4958e6bc4d46d \ + --hash=sha256:60ec798c40a1810d282ee046f61ecac1c5675cb898763d9f08d97d53a5e00a81 \ + --hash=sha256:6b3cbc4f96ddfa1fb88a78a69dd851369825b7816d9702eee8c4461505ba172e \ + --hash=sha256:6c7ef4701a96553514b2688e342ef1bf2beae6cfd172d89a76c768292aabf405 \ + --hash=sha256:7337b06a9f9ed9ea3049f04b76f65819db9b19bb832ee598e97b388eadf25e5f \ + --hash=sha256:76345f51367fb1f23e08605c6efb18374f669be5b223658fbab6b17627950507 \ + --hash=sha256:7e35c9bc977760981693e1a7a51493b58ee5a501f9ebb1e547565ee40b6c6208 \ + --hash=sha256:80cac5cb90ed7b9b72a217a1d6982b15b829cdbd0ee6bc19b93e3a9e47fb0ac9 \ + --hash=sha256:8af88fe5c7dd68fe1fec6dea8155caa1a47155d219a750ff34049541cf536a5e \ + --hash=sha256:8fcd721113260ffb5e38bf14a8725b17d431f34209f7d1c7005b667946e630b3 \ + --hash=sha256:93087a845cdfb35753e539354ac9551bdd2ff528c202a98df0ae46e852bcf021 \ + --hash=sha256:93935ab27b6eaef4c3e5489aebc84284f0644592f7ab516df60ee1b27eaf5eb3 \ + --hash=sha256:9bf08e4b6362dd1c08623bbfa2d061e8bac0f1da8fc2007062cfe1dc360a49fa \ + --hash=sha256:a6ac96da66c35bf789bdcde78a88dc7d56b7907d8379648c54adc1c61594575d \ + --hash=sha256:ab17b3a8aa754be0de0e397f7b95f13b14e56f077a4c6ae295e3d4afd199b325 \ + --hash=sha256:b0d106d9314546d69b3df1b5352639aa628530ec3ecef8a98a21942d2a2a64f5 \ + --hash=sha256:b90397a50ad6332ed3e459c648ac20d182cce24a557354363ad85fc9ea4a17cd \ + --hash=sha256:bbbdb8fcd5e7062e546eec1ac78c28bb21ae7df54c18f8e4b06e15a18d661a49 \ + --hash=sha256:bd6f2f81c7b9da99d301c0b16b82044e76fe887086e42e1590ecf520b94dbdac \ + --hash=sha256:be53e1d5f83de43dc175c87612ecc128d444b38e5c56cb3f807f5a73d6887476 \ + --hash=sha256:c3f23f403a273900d57de6ee5ca0614c650f7f58563065dad1a4744498960e53 \ + --hash=sha256:cbe8d03d4efcccdb7fcedecbaa1e1fa02913eaf3a74cb933634a6bc6d2ea9e2a \ + --hash=sha256:ce17bc317d089f361b33521654c13e30eacfd3d2034fd34e613ca9c51c969686 \ + --hash=sha256:d918d6f304a309222a784bbd140b85ec5594d97e4dc0e79f590549d28970663a \ + --hash=sha256:dc61e4f9e37b507069dc7e659ae28bca7adcb04c993c3508214315d12c63f848 \ + --hash=sha256:e095f9e105af76593b4c183bb0bcbdae64bd913a59ec595732dc108b48730ab5 \ + --hash=sha256:e2cba180d6451822763eda8364f342435a873bcfb3849cbd82fdeca248ca65eb \ + --hash=sha256:e49eba8f1e28e7c03648b7a476e1ba05309e087ccdea859fc6dd659564aa8d7e \ + --hash=sha256:f1341c6abcee1c31277cfe28d34e46196f2143ec3d755e6efe7452126e1f626d \ + --hash=sha256:f3fbfe82829d8e381426a289b87e59e585278728361db9ce975b88b51f64f410 \ + --hash=sha256:f50b580fad005a092ed87c5a3a4683459b21d1620497d6a5bccad203bee4c071 \ + --hash=sha256:f5576e8ae1723ece60d8f93c6710abf784714e99388bcf023ba9ca800bc587f6 \ + --hash=sha256:f673d835bdb1a60229cc3609a113fd2c9ce3f4a3c75ad4eaed111180c00199d2 \ + --hash=sha256:f7548ede3ee908cfabc0d068106e303a9a2d811af959cdf6ab85676344cedcda \ + --hash=sha256:fa8ed556fcc87a4091cf61587ef172fa104323dc89ecc085a618ba7ff8629a8f \ + --hash=sha256:fefea5cf8cdda9053b962ca8a90216fb0b1d40907dcb6819382b42e483e6e9f6 \ + --hash=sha256:ff7144d8167e513fe39fbb46bffb4f6f192dfb1f4b0b4e9102e1fd4f212e4747 + # via litellm +wcwidth==0.9.4 \ + --hash=sha256:093469e01d881bff3db93ff3f56c364dc87c441ea01f9f41c22de0c0bdf5c6ef \ + --hash=sha256:12786620375dc83fabf4b2b2aa52416fef2bc6094522ea29c8a53c75b0dfe9b6 \ + --hash=sha256:14410eb73178cc492aa9bf22f7c12e3bf930e5470b7220cf6f530efbfa2e03f3 \ + --hash=sha256:17619066f95c10f44d7ae08ee456602456bc66cc9d5e91966ec73d799acebc5f \ + --hash=sha256:29c0685f5f5f8815b88308fdcbe2cd12a92996a21a5b1e18352d165174ef7a6d \ + --hash=sha256:2b58fc8cf2de1bf9cdb68b8beaa5be198742414a7c8cd97aa51ec039783ffa49 \ + --hash=sha256:2cca7b5d0b9d0ae49068d3ce806e965326a987f555b62eaa322223396e10d01b \ + --hash=sha256:4831662c396dd4c59a016ec53c0ac96738006d653a00482777d9a2e2ea323d62 \ + --hash=sha256:79e09e9824c88f5e275ca99e921685567a5c5c1bb6165c16e27ddd1adab33a95 \ + --hash=sha256:87e4101789415a6cf55ec4c53eceeb4782c2654c88692941cb588f19dca1959f \ + --hash=sha256:8f892713ab5795d3abae181e9c02db0eb24de4084f9ee080535369d3d98d7bb5 \ + --hash=sha256:901eace6d2dd25ebb917d0ce5db18e5c537e1504c905cf32f0d006c12098b05d \ + --hash=sha256:9c4b0dd04cca520792100f6110d10be262c94b285a281d1759c551f159214633 \ + --hash=sha256:9e5090d253f5df99659cddfd3ed90dd21f6ff51989b0421331a63fb2681cbe27 \ + --hash=sha256:a1526cd25c6420e5153bb7d764c7509e692215ee3ad9b725db1ad665d47eae09 \ + --hash=sha256:a8c9ce14c6b4a499e61de6de7e9e456de11be8bc991554e2ab2ed4feb40b9664 \ + --hash=sha256:ab1e5190fb82476e75fbf963e9d59b4fb1c1e1f4ced82069a0c989016aa959f7 \ + --hash=sha256:b185c8b927b23af2721be1783499d1cfa5c028b098b0858951b4ae224477f1c2 \ + --hash=sha256:b52f265a694dda6b3ad9050c8bd89158ad519109ef7c5eb110b906cc49f25763 \ + --hash=sha256:b7969c9aa258d536df54c8ac8af5cad0c74a6268c9972e1fb60a5f29feffb66d \ + --hash=sha256:befbf46467100e43fd8c8cc0c031a0105f13f5418c3be95fdcf0c47214487967 \ + --hash=sha256:c36954849aafae1092d6f9de9548c5280c1d6841637a27ca288b2241c802c4ab \ + --hash=sha256:d68f09093c9bec9226a52edc47487042ed4f64c5df91d06f00419495071c0279 \ + --hash=sha256:d76b7c715c5ca0103b28915f699f1020ae21f06f1d22cdd85a7a97f7b1536eed \ + --hash=sha256:d8905f1390d828d745fdd1904374c90386d902d3cfa9ee88e9875099f75a4e17 \ + --hash=sha256:e05458491759aa42b7b85f36345b3e6df082d6d2d9bf616299668fd598e0209d \ + --hash=sha256:f279f32c8e206a9092fa350e53ca0c2bd8072e45b1c9fd31bb6d476b59b591c4 \ + --hash=sha256:f28d77153303450ee13ebbe888297e75cf532c754555b6cabafc9bdda16c421c \ + --hash=sha256:fd8d57d3cdfe570e3265c8fab1885c24e34ef40889c0759c0c304a19e9835954 + # via prompt-toolkit +websockets==15.0.1 \ + --hash=sha256:0701bc3cfcb9164d04a14b149fd74be7347a530ad3bbf15ab2c678a2cd3dd9a2 \ + --hash=sha256:0a34631031a8f05657e8e90903e656959234f3a04552259458aac0b0f9ae6fd9 \ + --hash=sha256:0af68c55afbd5f07986df82831c7bff04846928ea8d1fd7f30052638788bc9b5 \ + --hash=sha256:0c9e74d766f2818bb95f84c25be4dea09841ac0f734d1966f415e4edfc4ef1c3 \ + --hash=sha256:0f3c1e2ab208db911594ae5b4f79addeb3501604a165019dd221c0bdcabe4db8 \ + --hash=sha256:0fdfe3e2a29e4db3659dbd5bbf04560cea53dd9610273917799f1cde46aa725e \ + --hash=sha256:1009ee0c7739c08a0cd59de430d6de452a55e42d6b522de7aa15e6f67db0b8e1 \ + --hash=sha256:1234d4ef35db82f5446dca8e35a7da7964d02c127b095e172e54397fb6a6c256 \ + --hash=sha256:16b6c1b3e57799b9d38427dda63edcbe4926352c47cf88588c0be4ace18dac85 \ + --hash=sha256:2034693ad3097d5355bfdacfffcbd3ef5694f9718ab7f29c29689a9eae841880 \ + --hash=sha256:21c1fa28a6a7e3cbdc171c694398b6df4744613ce9b36b1a498e816787e28123 \ + --hash=sha256:229cf1d3ca6c1804400b0a9790dc66528e08a6a1feec0d5040e8b9eb14422375 \ + --hash=sha256:27ccee0071a0e75d22cb35849b1db43f2ecd3e161041ac1ee9d2352ddf72f065 \ + --hash=sha256:363c6f671b761efcb30608d24925a382497c12c506b51661883c3e22337265ed \ + --hash=sha256:39c1fec2c11dc8d89bba6b2bf1556af381611a173ac2b511cf7231622058af41 \ + --hash=sha256:3b1ac0d3e594bf121308112697cf4b32be538fb1444468fb0a6ae4feebc83411 \ + --hash=sha256:3be571a8b5afed347da347bfcf27ba12b069d9d7f42cb8c7028b5e98bbb12597 \ + --hash=sha256:3c714d2fc58b5ca3e285461a4cc0c9a66bd0e24c5da9911e30158286c9b5be7f \ + --hash=sha256:3d00075aa65772e7ce9e990cab3ff1de702aa09be3940d1dc88d5abf1ab8a09c \ + --hash=sha256:3e90baa811a5d73f3ca0bcbf32064d663ed81318ab225ee4f427ad4e26e5aff3 \ + --hash=sha256:47819cea040f31d670cc8d324bb6435c6f133b8c7a19ec3d61634e62f8d8f9eb \ + --hash=sha256:47b099e1f4fbc95b701b6e85768e1fcdaf1630f3cbe4765fa216596f12310e2e \ + --hash=sha256:4a9fac8e469d04ce6c25bb2610dc535235bd4aa14996b4e6dbebf5e007eba5ee \ + --hash=sha256:4b826973a4a2ae47ba357e4e82fa44a463b8f168e1ca775ac64521442b19e87f \ + --hash=sha256:4c2529b320eb9e35af0fa3016c187dffb84a3ecc572bcee7c3ce302bfeba52bf \ + --hash=sha256:54479983bd5fb469c38f2f5c7e3a24f9a4e70594cd68cd1fa6b9340dadaff7cf \ + --hash=sha256:558d023b3df0bffe50a04e710bc87742de35060580a293c2a984299ed83bc4e4 \ + --hash=sha256:5756779642579d902eed757b21b0164cd6fe338506a8083eb58af5c372e39d9a \ + --hash=sha256:592f1a9fe869c778694f0aa806ba0374e97648ab57936f092fd9d87f8bc03665 \ + --hash=sha256:595b6c3969023ecf9041b2936ac3827e4623bfa3ccf007575f04c5a6aa318c22 \ + --hash=sha256:5a939de6b7b4e18ca683218320fc67ea886038265fd1ed30173f5ce3f8e85675 \ + --hash=sha256:5d54b09eba2bada6011aea5375542a157637b91029687eb4fdb2dab11059c1b4 \ + --hash=sha256:5df592cd503496351d6dc14f7cdad49f268d8e618f80dce0cd5a36b93c3fc08d \ + --hash=sha256:5f4c04ead5aed67c8a1a20491d54cdfba5884507a48dd798ecaf13c74c4489f5 \ + --hash=sha256:64dee438fed052b52e4f98f76c5790513235efaa1ef7f3f2192c392cd7c91b65 \ + --hash=sha256:66dd88c918e3287efc22409d426c8f729688d89a0c587c88971a0faa2c2f3792 \ + --hash=sha256:678999709e68425ae2593acf2e3ebcbcf2e69885a5ee78f9eb80e6e371f1bf57 \ + --hash=sha256:67f2b6de947f8c757db2db9c71527933ad0019737ec374a8a6be9a956786aaf9 \ + --hash=sha256:693f0192126df6c2327cce3baa7c06f2a117575e32ab2308f7f8216c29d9e2e3 \ + --hash=sha256:746ee8dba912cd6fc889a8147168991d50ed70447bf18bcda7039f7d2e3d9151 \ + --hash=sha256:756c56e867a90fb00177d530dca4b097dd753cde348448a1012ed6c5131f8b7d \ + --hash=sha256:76d1f20b1c7a2fa82367e04982e708723ba0e7b8d43aa643d3dcd404d74f1475 \ + --hash=sha256:7f493881579c90fc262d9cdbaa05a6b54b3811c2f300766748db79f098db9940 \ + --hash=sha256:823c248b690b2fd9303ba00c4f66cd5e2d8c3ba4aa968b2779be9532a4dad431 \ + --hash=sha256:82544de02076bafba038ce055ee6412d68da13ab47f0c60cab827346de828dee \ + --hash=sha256:8dd8327c795b3e3f219760fa603dcae1dcc148172290a8ab15158cf85a953413 \ + --hash=sha256:8fdc51055e6ff4adeb88d58a11042ec9a5eae317a0a53d12c062c8a8865909e8 \ + --hash=sha256:a625e06551975f4b7ea7102bc43895b90742746797e2e14b70ed61c43a90f09b \ + --hash=sha256:abdc0c6c8c648b4805c5eacd131910d2a7f6455dfd3becab248ef108e89ab16a \ + --hash=sha256:ac017dd64572e5c3bd01939121e4d16cf30e5d7e110a119399cf3133b63ad054 \ + --hash=sha256:ac1e5c9054fe23226fb11e05a6e630837f074174c4c2f0fe442996112a6de4fb \ + --hash=sha256:ac60e3b188ec7574cb761b08d50fcedf9d77f1530352db4eef1707fe9dee7205 \ + --hash=sha256:b359ed09954d7c18bbc1680f380c7301f92c60bf924171629c5db97febb12f04 \ + --hash=sha256:b7643a03db5c95c799b89b31c036d5f27eeb4d259c798e878d6937d71832b1e4 \ + --hash=sha256:ba9e56e8ceeeedb2e080147ba85ffcd5cd0711b89576b83784d8605a7df455fa \ + --hash=sha256:c338ffa0520bdb12fbc527265235639fb76e7bc7faafbb93f6ba80d9c06578a9 \ + --hash=sha256:cad21560da69f4ce7658ca2cb83138fb4cf695a2ba3e475e0559e05991aa8122 \ + --hash=sha256:d08eb4c2b7d6c41da6ca0600c077e93f5adcfd979cd777d747e9ee624556da4b \ + --hash=sha256:d50fd1ee42388dcfb2b3676132c78116490976f1300da28eb629272d5d93e905 \ + --hash=sha256:d591f8de75824cbb7acad4e05d2d710484f15f29d4a915092675ad3456f11770 \ + --hash=sha256:d5f6b181bb38171a8ad1d6aa58a67a6aa9d4b38d0f8c5f496b9e42561dfc62fe \ + --hash=sha256:d63efaa0cd96cf0c5fe4d581521d9fa87744540d4bc999ae6e08595a1014b45b \ + --hash=sha256:d99e5546bf73dbad5bf3547174cd6cb8ba7273062a23808ffea025ecb1cf8562 \ + --hash=sha256:e09473f095a819042ecb2ab9465aee615bd9c2028e4ef7d933600a8401c79561 \ + --hash=sha256:e8b56bdcdb4505c8078cb6c7157d9811a85790f2f2b3632c7d1462ab5783d215 \ + --hash=sha256:ee443ef070bb3b6ed74514f5efaa37a252af57c90eb33b956d35c8e9c10a1931 \ + --hash=sha256:f29d80eb9a9263b8d109135351caf568cc3f80b9928bccde535c235de55c22d9 \ + --hash=sha256:f7a866fbc1e97b5c617ee4116daaa09b722101d4a3c170c787450ba409f9736f \ + --hash=sha256:fcd5cf9e305d7b8338754470cf69cf81f420459dbae8a3b40cee57417f4614a7 + # via litellm +yarl==1.25.1 \ + --hash=sha256:0136d640dfa9b0523853e411430a99f8a91eca85774c6420285a33b755bc6de3 \ + --hash=sha256:03dd38de09bc213e9a8b29761eec33ee1d5318dac0e49d8af36e4d27830e23a7 \ + --hash=sha256:0a191bfdb30a79b98e5d175d75285f9fcb78bf0e46ba5efda042e1c72071a0de \ + --hash=sha256:0a66db89ea473abeac4b70523cafd94db3772380e565f9d28af7a179b7af71fa \ + --hash=sha256:0ae12ff2b805fa02c4dab838005caef735e39986322698c48588d3beacb65c62 \ + --hash=sha256:0f12afda4eea8c8994a76d4df1875c765194f5fbe8a9d197929ea303caee29ec \ + --hash=sha256:10b2fd95332f0d716d5eee3c9fb2ce8eada19082de7fee83d32e37992fd75c26 \ + --hash=sha256:126a2533570c554719ca40a1288fdee1700b6bc82e7131aa69fa85252d92e651 \ + --hash=sha256:12b6bc4906e11f5e1a1cdcb12296e7afbd366c783cc8073403cd2fb74334e453 \ + --hash=sha256:142c06c4d6a35ee3ec5da08499805e879cb3ca7c1fbfbecb0140fe72403818d6 \ + --hash=sha256:14b79a30a93a3ce2e8832603fd0ab780ada281b0ba5110b519a634f2d7d7d1fc \ + --hash=sha256:17c9877a89fb6e2bca6f9087eb24cd7fb434653946ef5075e470d23d49b52287 \ + --hash=sha256:192a866877a49993949ef1975864ad8728bea28ee810f6abe1a0729c2b500426 \ + --hash=sha256:1ab7618921a93767387a4b83776f751588f5b5ae9bb5bc96620e2e2e00bca868 \ + --hash=sha256:1e80dcf1446e1b080b1932b0d103c464a04112f5bc31f0f983ad418172063cde \ + --hash=sha256:1f51020b2eb8a003c84925638ec63c21a750a4bddd3a22ec8eac6a742dadf1b9 \ + --hash=sha256:1fb2a01ba8cd9c5d2c5dc1ec35e0fc951d04b4f037541d4ac090c993ce58b3d7 \ + --hash=sha256:2239a02249d9326655419e0168a28ca9008938eaab31dc29fc875c217927a6c0 \ + --hash=sha256:23bf5b403c879a54964e0feac7285688e04bb220074878d737d331522da0a5bf \ + --hash=sha256:24ce942011a61953e7d313438038f4d32ff21387b775f58a957f7a07dd55ef95 \ + --hash=sha256:25868beca8b6765f8f7d0e11fe6dd7c66dd4b0793b9500286d20cc92352126a5 \ + --hash=sha256:287e99ff5aa4dc1c7630bfc683ded6f106d756c99dec432a2d7f197a784f51c6 \ + --hash=sha256:29273edf1530e397bd07cb784db1fbe0d2590b77569f2e24679a9c0a2d763b94 \ + --hash=sha256:2b49375d22299b0a834c2bca72f39aaecc270d96fb24c30424899676f487b22a \ + --hash=sha256:30eec96e8a91bd588ce897c9543f6d5d8d34b28fbcba28a4dedf20ebeae9fe57 \ + --hash=sha256:319e070a01db9920fb63761843f96a104c8e2b9427266731810dc1e22595b17c \ + --hash=sha256:35dcbea443fafb3eece757ad4e514560ddeb6c34cfae1582c620d7b293d7feee \ + --hash=sha256:3f4d48a6112712973e676bd792121fee470e432d749177162d9949d5c9460a1b \ + --hash=sha256:3feb99222553a8cbedfa52c2f59dd84c3f50d5b582c728d522caf8d72769a54b \ + --hash=sha256:419f392a1da624877975709e3864dfe833af6cc7671b39318086d456e288380c \ + --hash=sha256:42a66563d8cc056ee32e6191e05097a7b2b3bc302e0bc3133daf8710eb18bd26 \ + --hash=sha256:48796ea00a303961507dc6c8437c4b325a6fc3f95f7c36c71b91ea9a8150963c \ + --hash=sha256:4bd6340d20ae2c7ca719b87b426e808e90743b676d05d4c26c4fb5ca71f41184 \ + --hash=sha256:4ca89e4e21854ed27ec753297dde84b16c9f8e53b14a4866fb44457d643c19f8 \ + --hash=sha256:4d781294bb815ecb5ea57ff6bbf8038e0a31a95fdf3e1788f66e0dc100d64b58 \ + --hash=sha256:4f1c91f5a5980a937ff8e238e98e6897e1ad74a4b1e2c0d68c73b5ffbb3f5c0b \ + --hash=sha256:564fdc7085d2245ab84f88882fdb1d6ac0723124bff6ded35bfb1c00f812630d \ + --hash=sha256:59ba3a6e1aa8cfe5adf4bd270fd965db21955401b7ca6f1696010c55ed4daec2 \ + --hash=sha256:5df89f769cc8ff94c3d7e7603386fba309d25ce5240132d26c15baa8d0e96c4c \ + --hash=sha256:632da579b2d879f6bad20f2cfa35ded1efe2f4f77f8abb26a6234a5b236acd2f \ + --hash=sha256:65b5b2066651b7432d389e9799d979c703bcc6ef44266bb8153ef54e91e4aab3 \ + --hash=sha256:664ec6a520b74a1df2810666eb67695fcb77fa663e6ea0a25aaf2e529cb24dfa \ + --hash=sha256:681c758b0490f9e96b78e5fa8e8dc6e648e9185bb6eaebe73183c33ea0c445f3 \ + --hash=sha256:683e362b8ba453080f7489c66f4ea794e751c35b72e7eab3575ef784c2fbc7fb \ + --hash=sha256:68782fdb4027b8d1eee25ec35e9a6db05e863b899eb0310b3a33b6c3fef55707 \ + --hash=sha256:6efaf45df6a849cef613a03a94c845647456662f85438c886bb67a9c027c8c2c \ + --hash=sha256:71f42c5b9a948c113bbdebfa544598321431d064ff959d32e99b1feb61d68345 \ + --hash=sha256:72849d892954be4d09e569b8b831ac39ce58417fedc767d4308a0fe542018a40 \ + --hash=sha256:72c34ac7ad4314c19362d5ce27626dcc8429bd30bbf8c179f4234078851f9492 \ + --hash=sha256:734f6e5400352ac4254456003d462866c684703570929cff7a7bde015d0cb371 \ + --hash=sha256:75baa6cf9b6d1c52f3e111a130e202fd8cf0a5b3a066c3f73d615e885092e4ec \ + --hash=sha256:77716e245c90f058466a05e6a465bb8600f767a8f4b18b4d40f3aff958e5f73c \ + --hash=sha256:77e5099b99b37f3cf79c246998ca9f7313a78054cd1809ec46bc1afad47e1c4c \ + --hash=sha256:783dd1467083f4d3f7722ad6a313f24c173e7571372738fcb7a6e6d1ba48df25 \ + --hash=sha256:7a5c3115595995779ee21f2567035793911c3802a43c74f3fbb0314929ec67ac \ + --hash=sha256:7c88edaec8c349ad4c5ad4c486a3defcc4b80ceb2f074436ffa0a87caf5e76a6 \ + --hash=sha256:7cb414a73e21a7ab58254926073f2930cb22f5b4314ea4260a687e2b3fd4dce3 \ + --hash=sha256:7d42e7e3ca399555578b4d617e3a6ecf13371b3743a115995fa010c7bf341459 \ + --hash=sha256:7d575b54cb3863ef9bc290ea4b009999d55dc237326131e4853cf33e888fee03 \ + --hash=sha256:7e4de3ac4adbad3d0bc7c6f4360a7dbff5de2f15e3b723be3198074e17fd9c40 \ + --hash=sha256:7efc9f082dfed77c316edffa9deb52888e1bc6789171887cc1f68e06d65465c8 \ + --hash=sha256:80a063f8297fc796296f00f100be520f209b23dc98f93ce8eba6ee7122598209 \ + --hash=sha256:80e47012e730da131c9f059c80936783f9659aae22dc31c03c0595590d11ed54 \ + --hash=sha256:83d4a37e4b95da4d8bda930d6d35b75b4cdadbacbb4980cae290ea3100b5d51d \ + --hash=sha256:83e9f4a25085bd4b7214701a0794ff1f50fc633ffb8bdfebf07abdd81c2db126 \ + --hash=sha256:85a18376073f8a39aa07be34f9fc77e2869aa72c55c441efdd2cf79a0407504d \ + --hash=sha256:87796fedc3ba97ec14fab55acb48584276e6c1e4c1e89c422bda62c838e754a9 \ + --hash=sha256:882569ff613758cac762a457a5d72d6e211b28d4bcfea89d1d71ea942b02eac0 \ + --hash=sha256:8ce4d6ccafb33d39bd78444612d14938ead674c25702ded2ee9c54a47735d225 \ + --hash=sha256:8e7d98cdbb6d71e726f7d525952867096053d1f290dd4e3c50d7d313a136f414 \ + --hash=sha256:8ee202350cf57abf0e9502a41601841019c25d3db7ff52d980aaf31446254059 \ + --hash=sha256:8fb0eb4955adf0579001581f2f71a126e8781ba61bcd120f127b0401163c6c2d \ + --hash=sha256:90c30ed53546da833c700115c0064c22120d1b1560f474699fd31f22dd668233 \ + --hash=sha256:9489e6abf47ba37f332075a91444c7cfedb03e6ce99fbb2f116bfe1ce810da3b \ + --hash=sha256:94d7aa6debf92a1dd14cb5280b083a764169a13cfb23a452111160274ed989f4 \ + --hash=sha256:98d370568f393215d605304cdb77b3d5539bd192c75b623c7304c42c8d6d8273 \ + --hash=sha256:9b1bdaae98bc016825dd3c9d8ee1832f829b3341f9cc6ebd1a1b0a7fef7367cc \ + --hash=sha256:9d693bf4bf534e9ba3ae2780cfd577f5135629f7b5ac653490859d0b77864865 \ + --hash=sha256:9d6ed3d17bccce4c05343e1ca8da13bc5c02c812a4e7282ddd05e8769322d3fc \ + --hash=sha256:9e23c82b63cd7652fc24d33ed6cc17099d607aa3b4fc4ddc75e95062f3d82df4 \ + --hash=sha256:a1daf47cd95a7c3a63456336bc5aaa8c86dd3a47d07ed3d0e76132ae4666a5a1 \ + --hash=sha256:a1e32763e641a1566507d90a8d3b19bfc3cc04a9d4e5ae3e32189874ed4b58a3 \ + --hash=sha256:a2059a2d891bd156bc5184e7ab7a56e78a84dfcfdeac8c501b552533ad1c36ee \ + --hash=sha256:a2ed0ba415ccdf08f14bf544cb78346d0f76086707ffee24921a2c84dbf1305a \ + --hash=sha256:a3faadac7d812ddac258feb57b9846b60c1b437c4f4b9ad42595c6f6fe4390df \ + --hash=sha256:a5877f2255aab518ebe528289037699201d5dc5f045f2396cb30aa02db22f57f \ + --hash=sha256:a78b50b4f7918a3de71105d5c0b93bbc57bb8339a4d03a9dfd449f9068e76f3d \ + --hash=sha256:a8c2b841478068440d8b733005d13a5ef535b9928cbc05f17182d410f32ba449 \ + --hash=sha256:a9ca696eb02e5c02a8afd872ada510eba9b7fe6e68b9572c2e9a9b1941e31e2e \ + --hash=sha256:aa4ed3dd308548f9e707d9caaf005d2d7f8c1e7868f858dfeb47fe76e16b391d \ + --hash=sha256:ab2054c5531af2a9ba7b69b8ec91e4f884420e83a8c5e579b013084cb57e5e5d \ + --hash=sha256:abb1384477f5901d436b5d2e5465954de46ea6098f59163d243660b5c4461d35 \ + --hash=sha256:acae6b45d1ace09b6ba3876da43b88366ef368f73b988c7f57e14231753d4420 \ + --hash=sha256:acfa7e22aa6c6e7a5996a41d275bfa01efa7ea56ab890590280e9063e2cf5c1b \ + --hash=sha256:af4ea5b37403ef4e30f3927eaed540db942bde01d8d3ff083527c0704d1c9c68 \ + --hash=sha256:b10dd0557ba422715b5206b3743192135a6022acca8baec51aa127d0a75db8fe \ + --hash=sha256:b13b88747769537f3d32e89e3a735da10c0a9e35d7322928c701b5f93d3afffd \ + --hash=sha256:b51c159a9794633f5e0db7ecec7b2b6e3734eca1f5d17dc989ff3552a43ff78b \ + --hash=sha256:b5402a340723fa7da00b5cff987ddab61276be6d11251ea71ae02bcac54890d8 \ + --hash=sha256:b7abffdf37af1cec6a2ad69b827aa84320db5894791bc8ed932dc93fb274b7e9 \ + --hash=sha256:b8075fe90bc08e40b8b8a1874fab42ee4c7b56af05c5886e9cc841397f916908 \ + --hash=sha256:bc3ac7bf569f6b64dad04dd7808c7872dae8a97df657856eac05e9b7e3614a85 \ + --hash=sha256:bd0912757081f89b107d6c00b2ff8a194401b0b87eadcf4481de2b865a8fd44f \ + --hash=sha256:bdc8d8b8c22e9e43ac68316b5e6cf083dec537f4ec213cb4aa967b583bc3fa64 \ + --hash=sha256:be80550d9bfe83d9b62398a37081a90434e6df2d978ec345c3d2820de6beddab \ + --hash=sha256:c6f117789d22dce188e5754e8bc65b7e6ebf8cb73963b9fa761f672a5883769d \ + --hash=sha256:ca32926d7d77bcc8838425c4c95e040a3ace1cb7dfdae599013458dcda2607ca \ + --hash=sha256:cce0727fd5ac04d372fa9bbfde9febc2bcf209aadfcf0468e45dec72719895d1 \ + --hash=sha256:d0f1489233a254bb3643d2f05de7d59019254d81daeca6b9162fe9edef57e0c7 \ + --hash=sha256:d1c557dfd5e3db046053a0bdc72261ade790ebe8e2c7a41b36b0ca1f14cb95f3 \ + --hash=sha256:d21f0fa80a02d05299207eeaafef345d812ace96d5306e4ef265e1d419a615fa \ + --hash=sha256:d45673badd08456d0340e9364eddafe1c53a9d2896424294de4d7dd71ad3ee57 \ + --hash=sha256:d5add7b4ca7afeea91d52e4d4e4db3b1fe9885b71f07054560d8c4296b7441a2 \ + --hash=sha256:d5f90e44653c4e0f78501ed9bb7d3fce835a8d62b7c6ed0cb16557534087e743 \ + --hash=sha256:d7306dee25b8a0e737363f347362b875094b4dc4e367311470656ae420fdbf8e \ + --hash=sha256:dbcef5a9119ef653653132cccaf999b30a0af6f33bb0a4ba80bec30056868487 \ + --hash=sha256:def538065f9e4d4cf1ae164bd59aba00dfa84f03923e0de4c3788f252d6bcd17 \ + --hash=sha256:df23df54b5114a17c2d0ef192433e2e5a9f0c5178c32375e90b7cfc965f349d0 \ + --hash=sha256:dfbf531053a0935f2e871bcd4753f90313688772ff8c017f5ea402e315a78c1f \ + --hash=sha256:e029648f9c951db30e98a7d7ec90835db88ec4b32820efe2a9bdc2287e032eb6 \ + --hash=sha256:e07595c7d6f4db270ceede356a1bd1c07a34f1c26f958d1ed0cd7b48e0d2bba3 \ + --hash=sha256:e12c538e00e7c1b286a07061046b90e8124e6a9793efae2c70db6a4aad07faad \ + --hash=sha256:e546fe1d4a93ebc2910f0d768baff19faa09843ab3f2036a67ed6e69fae4419d \ + --hash=sha256:e5637ca8d0bd7fb72648a6c7934af4baaccb697657f7438c9d264fc2abb8b0b1 \ + --hash=sha256:e636b64d24fd9c38053c5e389a1174c66361fa49dcfd220f4dd35b4abde7cb89 \ + --hash=sha256:e7011b8fb8c4054bf0c12e5edc6cd83778b0028e99ce59b18586ed036f92cfdc \ + --hash=sha256:e80f557716fd765439577131e526b8942ffc2c07bdbc5e39fa62f660ba1e963f \ + --hash=sha256:e92b6bcc741b86d67606c40d3cb9c7cc8e6c737f81e31f4a94efc204456c92e3 \ + --hash=sha256:eb96ed1ae6c7d072d60840c0434aef07a2df611812810807fbc54263a6053e9a \ + --hash=sha256:eda19ea5ee88742f47a2340816e6f2d40b53bed3ab5b69794769f36af9f35bb4 \ + --hash=sha256:ef74070ac553c59eb4f04258722066d6c6135b7baa03b2e9f2da65c096e96d98 \ + --hash=sha256:efb01a106f971cb3752856bca2318bbdf7f01bd8823779c461586cbe5ffd5258 \ + --hash=sha256:f074e8d4aa0a5798920ddb6de3d08b228c614ff3724c3e8bd7577f4bafea867b \ + --hash=sha256:f38a70074041d3b7e138e452799f5174198bae5bd5ab2000917badf403908c5f \ + --hash=sha256:f41753a76f4f63927d03a0d8ba8f5ce0f2083bec29a8cfaccc55371b1564b96b \ + --hash=sha256:f53dcd26694f148f738edc052b5a69234833e739f10f4c3287bdfd8ec0f7b326 \ + --hash=sha256:f61964f235a43738bfac50da46fc4254943a7eea3051aeb0b6fc7c992c29fadc \ + --hash=sha256:fe01645169a2112aa1d4ebc3e4c5f029c5c8f97adfc32e5d37c993b39a994d75 + # via aiohttp +zipp==4.1.2 \ + --hash=sha256:b30cb6cd253122169c47de245ca24a86bac2a5d3802ba15bf7ba6414eb9e144d \ + --hash=sha256:cf474b90b07ea932637e17c6b9479de2b2882900b0d311bdaf4f5c000a15a97f + # via importlib-metadata diff --git a/official-templates/ray-cluster/inference/nginx/vllm-api-key.map b/official-templates/ray-cluster/inference/nginx/vllm-api-key.map deleted file mode 100644 index 4ca575d0..00000000 --- a/official-templates/ray-cluster/inference/nginx/vllm-api-key.map +++ /dev/null @@ -1,5 +0,0 @@ -# Which Authorization headers reach vLLM through the 8001 front door, included -# into vllm-api.conf's map. /opt/runpod/inference/start rewrites it on the head -# with the key, or with `default 1;` for VLLM_API_KEY=none. Until then, and on -# every pod that doesn't serve, nothing gets through. -default 0; diff --git a/official-templates/ray-cluster/inference/nginx/vllm-api.conf b/official-templates/ray-cluster/inference/nginx/vllm-api.conf deleted file mode 100644 index d9f4f833..00000000 --- a/official-templates/ray-cluster/inference/nginx/vllm-api.conf +++ /dev/null @@ -1,68 +0,0 @@ -# vLLM API front door on 8001 for the inference variant, included into the -# base image's nginx http block. vLLM itself listens on 127.0.0.1:8000 only, so -# this is the one way in from outside the head pod, and it checks the key -# before vLLM sees the request: every route except /health and /ping needs -# `Authorization: Bearer `, whatever routes vLLM adds. While vLLM isn't -# serving (the model is loading, or it was not started), requests get 503. -# -# The accepted header lives in vllm-api-key.map, written by -# /opt/runpod/inference/start; the shipped one accepts nothing. - -map $http_authorization $vllm_authorized { - include /etc/nginx/vllm-api-key.map; -} - -map $http_upgrade $vllm_connection { - default upgrade; - "" close; -} - -server { - listen 8001; - - # Multimodal requests carry images and audio inline. - client_max_body_size 100m; - - # Stream tokens as vLLM produces them, and let long generations run. - proxy_http_version 1.1; - proxy_buffering off; - proxy_request_buffering off; - proxy_read_timeout 1h; - proxy_send_timeout 1h; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - # The Realtime API is a WebSocket. - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $vllm_connection; - - # nginx's own 502 (vLLM not listening); vLLM's own errors pass through. - error_page 502 = @not_serving; - error_page 401 = @unauthorized; - - # Health checks stay public, as with vLLM's own --api-key. - location = /health { - proxy_pass http://127.0.0.1:8000; - } - location = /ping { - proxy_pass http://127.0.0.1:8000; - } - - location / { - if ($vllm_authorized = 0) { - return 401; - } - proxy_pass http://127.0.0.1:8000; - } - - location @unauthorized { - default_type application/json; - add_header WWW-Authenticate Bearer always; - return 401 '{"error": "Unauthorized"}\n'; - } - - location @not_serving { - default_type application/json; - add_header Retry-After 30 always; - return 503 '{"error": "vLLM is not serving yet: the model may still be loading. See the head pod logs."}\n'; - } -} diff --git a/official-templates/ray-cluster/inference/post_start.sh b/official-templates/ray-cluster/inference/post_start.sh index 22b4a6aa..a9692b39 100644 --- a/official-templates/ray-cluster/inference/post_start.sh +++ b/official-templates/ray-cluster/inference/post_start.sh @@ -4,10 +4,14 @@ # # Invoked by the shared /start.sh (`execute_script "/post_start.sh"`). Runs the # Ray image's own hook (/post_start.ray.sh, renamed at build time: monitoring -# bringup and the Ray scrape job), then, on the head, adds a Prometheus job -# for vLLM's metrics. vLLM listens on 127.0.0.1:8000 with no key (the key is -# checked by nginx on 8001), so the head's Prometheus scrapes it directly. -# Until vLLM is up, the target is simply down. +# bringup and the Ray scrape job), then, on the head, adds Prometheus jobs +# for the inference stack: +# - vllm: 127.0.0.1:8000, vLLM's engine metrics, with no key (vLLM is +# reachable only from this pod); +# - litellm: 127.0.0.1:8001/metrics, the API's request metrics, sending the +# master key from /etc/litellm/master_key (root-only, written by +# /opt/runpod/inference/start), as LiteLLM requires it on /metrics. +# Until they are up, the targets are simply down. # # Never hard-fails the pod: no `set -e`, always exits 0. # ---------------------------------------------------------------------------- # @@ -25,15 +29,21 @@ if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" ]]; then fi if [[ ! -f "$PROM_CONFIG" ]]; then - log "note: $PROM_CONFIG absent; skipping vLLM scrape wiring" + log "note: $PROM_CONFIG absent; skipping inference scrape wiring" elif grep -q "job_name: vllm" "$PROM_CONFIG"; then - log "vLLM scrape job already present" + log "inference scrape jobs already present" else - log "adding vLLM scrape job (127.0.0.1:8000)" + log "adding vLLM (127.0.0.1:8000) and LiteLLM (127.0.0.1:8001) scrape jobs" { echo " - job_name: vllm" echo " static_configs:" echo " - targets: ['127.0.0.1:8000']" + echo " - job_name: litellm" + echo " metrics_path: /metrics/" + echo " authorization:" + echo " credentials_file: /etc/litellm/master_key" + echo " static_configs:" + echo " - targets: ['127.0.0.1:8001']" } >> "$PROM_CONFIG" # Prometheus runs without --web.enable-lifecycle, so restart to reload. supervisorctl restart prometheus > /dev/null 2>&1 diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 58a9fe92..a413f5c1 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -6,33 +6,26 @@ # - Head: wait until NUM_NODES nodes have joined Ray, then `vllm serve # $MODEL_REPO` across the whole cluster: tensor parallelism is the GPUs per # node, pipeline parallelism the node count. vLLM listens on -# 127.0.0.1:8000; nginx's front door on 8001 checks the key -# (/etc/nginx/vllm-api.conf). -# - No NODE_RANK (a plain pod): `vllm serve` on this pod's GPUs, without Ray. +# 127.0.0.1:8000 only; the API on 8001 is LiteLLM's proxy in front of it, +# which checks the key. +# - No NODE_RANK (a plain pod): the same on this pod's GPUs, without Ray. # # Every path ends in /start.sh (SSH, Jupyter on the head, the dashboard front -# door, monitoring), and vLLM runs beside it, so the pod stays up for -# interactive use when vLLM is not started or exits. +# door, monitoring), and vLLM and LiteLLM run beside it, so the pod stays up +# for interactive use when they are not started or exit. # -# Never `set -x` here: the vLLM key is in the environment. +# Never `set -x` here: the API key is in the environment. set -uo pipefail readonly INFERENCE_DIR=/opt/runpod/inference +readonly LITELLM=/opt/litellm/bin/litellm +readonly LITELLM_DIR=/etc/litellm readonly VLLM_PORT=8000 -readonly FRONT_PORT=8001 -readonly KEY_MAP=/etc/nginx/vllm-api-key.map +readonly API_PORT=8001 log() { echo "[ray-inference] $*"; } services() { exec /start.sh; } -# Reloads nginx if it is running already; otherwise /start.sh starts it with -# the current map. A reload missed in a race leaves the shipped map in force, -# which accepts nothing, so serve() reloads once more before starting vLLM. -reload_nginx() { - [[ -s /run/nginx.pid ]] && nginx -s reload 2> /dev/null - return 0 -} - if [[ -n "${NODE_RANK:-}" && "$NODE_RANK" != 0 ]]; then log "worker node: Ray only; vLLM runs from the head" services @@ -46,46 +39,43 @@ if [[ -z "${MODEL_REPO:-}" ]]; then fi # --- Authentication --------------------------------------------------------- # -# The key is VLLM_API_KEY (vLLM's own variable), else the head's -# JUPYTER_PASSWORD (the console's password for the pod), used verbatim so it -# matches Jupyter's. With neither, vLLM is not started. Pasted whitespace -# around VLLM_API_KEY is trimmed. nginx checks it on 8001 (vllm-api.conf); vLLM -# itself runs without one, reachable only from this pod. -key=${VLLM_API_KEY:-} +# LiteLLM's master key is LITELLM_MASTER_KEY (LiteLLM's own variable), else the +# head's JUPYTER_PASSWORD (the console's password for the pod), used verbatim +# so it matches Jupyter's. With neither, nothing is started. Pasted whitespace +# around LITELLM_MASTER_KEY is trimmed. LiteLLM checks it on every route but +# its health checks, /metrics included; vLLM behind it takes no key, being +# reachable only from this pod. The key also goes, root-only, to +# $LITELLM_DIR/master_key, which the head's Prometheus sends when it scrapes +# LiteLLM (post_start.sh). +key=${LITELLM_MASTER_KEY:-} key="${key#"${key%%[![:space:]]*}"}" key="${key%"${key##*[![:space:]]}"}" if [[ -n "$key" ]]; then - key_source=VLLM_API_KEY + key_source=LITELLM_MASTER_KEY elif [[ -n "${JUPYTER_PASSWORD:-}" ]]; then key=$JUPYTER_PASSWORD key_source=JUPYTER_PASSWORD else - log "error: neither VLLM_API_KEY nor JUPYTER_PASSWORD is set, so vLLM was not started. Set VLLM_API_KEY, or VLLM_API_KEY=none to serve without authentication, and restart the pod." - services -fi -# A header can't carry control characters, so such a key could never match. -if [[ "$key" == *[[:cntrl:]]* ]]; then - log "error: the key in $key_source contains control characters, so vLLM was not started" + log "error: neither LITELLM_MASTER_KEY nor JUPYTER_PASSWORD is set, so vLLM was not started. Set LITELLM_MASTER_KEY, or LITELLM_MASTER_KEY=none to serve without authentication, and restart the pod." services fi -if [[ "$key_source" == VLLM_API_KEY && "${key,,}" == none ]]; then - map_entries='default 1;' - log "warn: VLLM_API_KEY=none: the API on $FRONT_PORT answers every request without authentication" +mkdir -p "$LITELLM_DIR" && chmod 700 "$LITELLM_DIR" +litellm_env=(DISABLE_ADMIN_UI=True LITELLM_LOCAL_MODEL_COST_MAP=True) +if [[ "$key_source" == LITELLM_MASTER_KEY && "${key,,}" == none ]]; then + unset LITELLM_MASTER_KEY + key=none + # LiteLLM refuses to start without a master key unless told to. + litellm_env+=(LITELLM_DANGEROUSLY_PERMIT_WEAK_OR_UNSET_MASTER_KEY=true) + log "warn: LITELLM_MASTER_KEY=none: the API on $API_PORT answers every request without authentication" else - # An nginx quoted string: only \ and " need escaping; map keys are - # literal, so a $ in the key is not a variable. - escaped=${key//\\/\\\\} - escaped=${escaped//\"/\\\"} - map_entries=$(printf 'default 0;\n"Bearer %s" 1;' "$escaped") - log "authentication on (key from $key_source): every route on $FRONT_PORT except /health and /ping needs 'Authorization: Bearer '" + export LITELLM_MASTER_KEY=$key + log "authentication on (key from $key_source): every route on $API_PORT except LiteLLM's health checks needs 'Authorization: Bearer '" fi -# Root-only, written whole, then swapped in: nginx never reads half a map. ( umask 077 - printf '%s\n' "$map_entries" > "$KEY_MAP.tmp" -) && mv "$KEY_MAP.tmp" "$KEY_MAP" -reload_nginx -# vLLM reads VLLM_API_KEY itself; nginx has already checked the key. + printf '%s' "$key" > "$LITELLM_DIR/master_key" +) +# vLLM reads VLLM_API_KEY itself, and LiteLLM sends it none. unset VLLM_API_KEY # --- Shape -------------------------------------------------------------------- # @@ -119,7 +109,7 @@ else fi parallel_args+=(--tensor-parallel-size "$gpus") -# --- Serve ---------------------------------------------------------------------- # +# --- vLLM --------------------------------------------------------------------- # model_args=() [[ -n "${MAX_MODEL_LENGTH:-}" ]] && model_args+=(--max-model-len "$MAX_MODEL_LENGTH") @@ -127,21 +117,61 @@ read -ra extra_args <<< "${VLLM_EXTRA_ARGS:-}" for arg in "${extra_args[@]}"; do case "$arg" in --api-key | --api-key=*) - log "warn: VLLM_EXTRA_ARGS sets --api-key, and vLLM prints its arguments at startup, so that key is now in the pod logs. Set VLLM_API_KEY instead; nginx checks it on $FRONT_PORT." + log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM prints its arguments at startup, so that key is now in the pod logs. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." + services ;; *) ;; esac done # VLLM_EXTRA_ARGS follows the derived settings so it can override them; the -# listen address is last, so vLLM stays behind the front door. +# listen address is last, so vLLM stays reachable only from this pod. cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" --host 127.0.0.1 --port "$VLLM_PORT") -reload_nginx -log "starting vLLM on 127.0.0.1:$VLLM_PORT, served on $FRONT_PORT: ${cmd[*]}" +log "starting vLLM on 127.0.0.1:$VLLM_PORT: ${cmd[*]}" ( - "${cmd[@]}" + env -u LITELLM_MASTER_KEY "${cmd[@]}" log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." ) & +# --- LiteLLM ------------------------------------------------------------------ # +# One model, MODEL_REPO, under its own name, so clients use the same model id +# as with vLLM directly. Written as JSON (valid YAML), so no model name can +# break the config. Until vLLM has loaded, requests fail with LiteLLM's +# upstream connection error (500). Prometheus metrics on /metrics. No admin UI +# (it needs a database this pod doesn't have) and no fetch of the model price +# map. Without a database, a key other than the master key gets LiteLLM's 400 +# "No connected db." rather than a 401: still refused. LiteLLM also refuses to +# start on a publicly known master key, such as sk-1234. +if ! python3 - "$MODEL_REPO" "$VLLM_PORT" > "$LITELLM_DIR/config.json" << 'EOF' +import json, sys + +model, vllm_port = sys.argv[1:] +print(json.dumps({ + "model_list": [{ + "model_name": model, + "litellm_params": { + "model": f"hosted_vllm/{model}", + "api_base": f"http://127.0.0.1:{vllm_port}/v1", + "api_key": "unused", + }, + }], + "litellm_settings": { + "callbacks": ["prometheus"], + # A rejected key is recorded as-is in this label, so a mistyped key + # would sit in plain text in Prometheus and Grafana. + "prometheus_exclude_labels": ["hashed_api_key"], + }, +}, indent=2)) +EOF +then + log "error: could not write $LITELLM_DIR/config.json (see above), so LiteLLM was not started" + services +fi +log "starting LiteLLM on $API_PORT for $MODEL_REPO" +( + env "${litellm_env[@]}" "$LITELLM" --config "$LITELLM_DIR/config.json" --host 0.0.0.0 --port "$API_PORT" + log "LiteLLM exited with status $?; the pod stays up. Restart the pod to serve again." +) & + services From d3f910e0257f02ec708a803c709449829c58b000 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 09:46:55 -0500 Subject: [PATCH 06/24] feat(ray-cluster): serve the inference API on LiteLLM's default port, 4000 8001 was kept from the earlier nginx front door. 4000 is where LiteLLM's docs and users expect it, and it doesn't share a port with the base nginx's 8001 slot. That block (proxying to localhost:8000 without auth) is still removed, since 8000 is vLLM here. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 10 +++++----- official-templates/ray-cluster/inference/Dockerfile | 12 ++++++------ .../ray-cluster/inference/litellm/requirements.in | 2 +- .../ray-cluster/inference/post_start.sh | 6 +++--- official-templates/ray-cluster/inference/start.sh | 5 +++-- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 54265712..a09af65d 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -48,7 +48,7 @@ It also logs a warning if the installed Ray differs from the version the image w `runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0 behind LiteLLM's proxy, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): - **Worker:** joins Ray and runs nothing else. -- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on `127.0.0.1:8000` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count (every node needs the same GPU count), and LiteLLM's proxy on **8001** in front of it. +- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on `127.0.0.1:8000` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count (every node needs the same GPU count), and LiteLLM's proxy on **4000** (LiteLLM's default) in front of it. - **No `NODE_RANK`** (a plain pod): the same on that pod's GPUs, without Ray. Configuration, all environment variables: @@ -57,11 +57,11 @@ Configuration, all environment variables: |---|---|---| | `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`; also the model name clients send. Unset: the head logs that it is skipping vLLM and stays up for interactive use. | | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | -| `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 8001 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | +| `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 4000 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | | `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` is refused (LiteLLM can't send it). | -The API on 8001 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod; the inference image also removes the base nginx's 8001 server, which proxied to `localhost:8000` with no auth and would otherwise have exposed vLLM. LiteLLM runs with only a master key and no database: +The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod; the inference image also removes the base nginx's 8001 server, which proxies to `localhost:8000` with no auth and would otherwise expose vLLM to anything that reaches 8001. LiteLLM runs with only a master key and no database: - the master key is `LITELLM_MASTER_KEY`, else the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too. Any string works (no `sk-` prefix needed), except a publicly known default such as `sk-1234`, which LiteLLM refuses to start with; - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; @@ -69,7 +69,7 @@ The API on 8001 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. Until vLLM has loaded the model, requests get LiteLLM's `500` with an upstream connection error. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. -On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:8001/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. +On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray, or if any nginx server still listens on 8001. @@ -83,7 +83,7 @@ vLLM pins torch exactly, so the variant is built only on the Ray build whose tor | 20217 | Ray metrics (every node) | host scrape; the head's Prometheus | | 52365 | Ray dashboard agent (every node), token-authenticated | the head's dashboard, for jobs and logs | | 8889 | Grafana, token-authenticated (inherited from `pytorch-cluster`) | cluster owner's browser; map this in the Runpod template | -| 8001 | Inference API: LiteLLM's proxy in front of vLLM (head; inference variant only), key-authenticated | API clients; map this in the inference template. vLLM itself listens on `127.0.0.1:8000` | +| 4000 | Inference API: LiteLLM's proxy in front of vLLM (head; inference variant only), key-authenticated | API clients; map this in the inference template. vLLM itself listens on `127.0.0.1:8000` | All except Grafana, the dashboard front door and the inference variant's API front door are host-internal: the daemon reaches them on the docker bridge and leaves them unmapped. Unauthenticated, the Ray dashboard's API is job submission, which is remote code execution in the cluster (ShadowRay, CVE-2023-48022). Ray's own token authentication closes that: the UI asks for the token once and keeps it in an HttpOnly `ray-authentication-token` cookie; API clients send `Authorization: Bearer `. Health checks (`/api/gcs_healthz`), the static UI and the login endpoint stay public. The same token gates every node's dashboard agent on 52365, which serves job submission and logs (Ray 2.54 added this; earlier versions left the agent open), apart from its `/api/healthz` and `/api/local_raylet_healthz`. The metrics port (20217) is not gated, so keep it and the agent port unmapped. **With `RAY_AUTH_MODE=disabled`, never map 8265 or 8266.** diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 36eafef0..28754ea0 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -34,9 +34,9 @@ COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start # The base nginx.conf proxies 8001 to localhost:8000 (a VS Code server slot). -# Here 8000 is vLLM, so that block would serve vLLM on 8001 with no key, and -# it would hold the port LiteLLM needs. Remove it, and fail the build if any -# nginx server still listens on 8001. +# Here 8000 is vLLM, so that block would serve vLLM with no key to anything +# that reaches 8001 (a template mapping it, another node). Remove it, and fail +# the build if any nginx server still listens on 8001. RUN python3 - <<'EOF' import re path = "/etc/nginx/nginx.conf" @@ -50,7 +50,7 @@ open(path, "w").write(conf) EOF RUN ! grep -rqE 'listen[[:space:]]+8001' /etc/nginx/ && nginx -t -# LiteLLM's proxy, the API on 8001 in front of vLLM (which listens on +# LiteLLM's proxy, the API on 4000 (LiteLLM's default) in front of vLLM (which listens on # 127.0.0.1:8000 only), in its own venv so its pins never touch vLLM's, Ray's # or torch's. Hash-locked: every package is checked against litellm/ # requirements.txt, whose hashes were taken when the lock was made. @@ -69,11 +69,11 @@ COPY --chmod=755 post_start.sh /post_start.sh COPY config/provisioning/dashboards/inference.yml /etc/grafana/provisioning/dashboards/inference.yml COPY config/dashboards/ /opt/runpod/inference/grafana-dashboards/ -# 8001 the OpenAI-compatible API on the head: LiteLLM, in front of vLLM. +# 4000 the OpenAI-compatible API on the head: LiteLLM, in front of vLLM. # Every route except LiteLLM's health checks needs LITELLM_MASTER_KEY # (else JUPYTER_PASSWORD). Map this one in the Runpod template. vLLM # itself (8000) listens on 127.0.0.1 only. -EXPOSE 8001 +EXPOSE 4000 LABEL com.runpod.template.variant="ray-cluster-inference" diff --git a/official-templates/ray-cluster/inference/litellm/requirements.in b/official-templates/ray-cluster/inference/litellm/requirements.in index 0dcb4432..7f3cb1d9 100644 --- a/official-templates/ray-cluster/inference/litellm/requirements.in +++ b/official-templates/ray-cluster/inference/litellm/requirements.in @@ -1,4 +1,4 @@ -# LiteLLM's proxy, the inference variant's API on 8001, in its own venv +# LiteLLM's proxy, the inference variant's API on 4000, in its own venv # (/opt/litellm) so its pins never touch vLLM's, Ray's or torch's. # 1.108.x is LiteLLM's LTS line. The `proxy-runtime` extra is left out (cloud # SDKs, tracing vendors); prometheus-client is the one piece of it we use. diff --git a/official-templates/ray-cluster/inference/post_start.sh b/official-templates/ray-cluster/inference/post_start.sh index a9692b39..58730c16 100644 --- a/official-templates/ray-cluster/inference/post_start.sh +++ b/official-templates/ray-cluster/inference/post_start.sh @@ -8,7 +8,7 @@ # for the inference stack: # - vllm: 127.0.0.1:8000, vLLM's engine metrics, with no key (vLLM is # reachable only from this pod); -# - litellm: 127.0.0.1:8001/metrics, the API's request metrics, sending the +# - litellm: 127.0.0.1:4000/metrics, the API's request metrics, sending the # master key from /etc/litellm/master_key (root-only, written by # /opt/runpod/inference/start), as LiteLLM requires it on /metrics. # Until they are up, the targets are simply down. @@ -33,7 +33,7 @@ if [[ ! -f "$PROM_CONFIG" ]]; then elif grep -q "job_name: vllm" "$PROM_CONFIG"; then log "inference scrape jobs already present" else - log "adding vLLM (127.0.0.1:8000) and LiteLLM (127.0.0.1:8001) scrape jobs" + log "adding vLLM (127.0.0.1:8000) and LiteLLM (127.0.0.1:4000) scrape jobs" { echo " - job_name: vllm" echo " static_configs:" @@ -43,7 +43,7 @@ else echo " authorization:" echo " credentials_file: /etc/litellm/master_key" echo " static_configs:" - echo " - targets: ['127.0.0.1:8001']" + echo " - targets: ['127.0.0.1:4000']" } >> "$PROM_CONFIG" # Prometheus runs without --web.enable-lifecycle, so restart to reload. supervisorctl restart prometheus > /dev/null 2>&1 diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index a413f5c1..03d8b3f7 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -6,7 +6,8 @@ # - Head: wait until NUM_NODES nodes have joined Ray, then `vllm serve # $MODEL_REPO` across the whole cluster: tensor parallelism is the GPUs per # node, pipeline parallelism the node count. vLLM listens on -# 127.0.0.1:8000 only; the API on 8001 is LiteLLM's proxy in front of it, +# 127.0.0.1:8000 only; the API on 4000 (LiteLLM's default) is LiteLLM's +# proxy in front of it, # which checks the key. # - No NODE_RANK (a plain pod): the same on this pod's GPUs, without Ray. # @@ -21,7 +22,7 @@ readonly INFERENCE_DIR=/opt/runpod/inference readonly LITELLM=/opt/litellm/bin/litellm readonly LITELLM_DIR=/etc/litellm readonly VLLM_PORT=8000 -readonly API_PORT=8001 +readonly API_PORT=4000 log() { echo "[ray-inference] $*"; } services() { exec /start.sh; } From c0c846e43d8119f895a72a7ff676547120fe7e15 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 09:48:17 -0500 Subject: [PATCH 07/24] fix(ray-cluster): accept a base nginx without the 8001 block #248 removes the base's unused 8001 -> localhost:8000 block. The inference image builds on published Ray images, which keep it until that's released, so its removal step now accepts either state; the guard that nothing in nginx listens on 8001 is unchanged. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/inference/Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 28754ea0..115cde60 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -33,10 +33,12 @@ RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start -# The base nginx.conf proxies 8001 to localhost:8000 (a VS Code server slot). -# Here 8000 is vLLM, so that block would serve vLLM with no key to anything -# that reaches 8001 (a template mapping it, another node). Remove it, and fail -# the build if any nginx server still listens on 8001. +# Base nginx.conf releases before #248 proxy 8001 to localhost:8000 (a +# leftover VS Code server slot). Here 8000 is vLLM, so that block would serve +# vLLM with no key to anything that reaches 8001 (a template mapping it, +# another node). Remove it if the base still has it, and fail the build if any +# nginx server still listens on 8001. Drop this step once the Ray base is on a +# base release without the block; the guard after it stays. RUN python3 - <<'EOF' import re path = "/etc/nginx/nginx.conf" @@ -45,7 +47,7 @@ conf = open(path).read() # one is preceded by a comment line. block = re.compile(r"\n[ \t]*(#[^\n]*\n[ \t]*)?server \{(?:[^{}]|\{[^{}]*\})*?listen 8001;(?:[^{}]|\{[^{}]*\})*?\n[ \t]*\}") conf, n = block.subn("", conf) -assert n == 1, f"expected one 8001 server block in {path}, found {n}" +assert n <= 1, f"expected at most one 8001 server block in {path}, found {n}" open(path, "w").write(conf) EOF RUN ! grep -rqE 'listen[[:space:]]+8001' /etc/nginx/ && nginx -t From 379fed4f6ac2741ec36eb99c78c98b48a86b338b Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 09:51:45 -0500 Subject: [PATCH 08/24] refactor(ray-cluster): leave the base nginx 8001 block to #248 #248 removes the base's unused 8001 -> localhost:8000 relay for every image, so the inference image no longer strips it itself. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 4 ++-- .../ray-cluster/inference/Dockerfile | 19 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index a09af65d..3079dd48 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -61,7 +61,7 @@ Configuration, all environment variables: | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | | `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` is refused (LiteLLM can't send it). | -The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod; the inference image also removes the base nginx's 8001 server, which proxies to `localhost:8000` with no auth and would otherwise expose vLLM to anything that reaches 8001. LiteLLM runs with only a master key and no database: +The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod (once the base no longer carries its unused 8001 → `localhost:8000` nginx relay, #248). LiteLLM runs with only a master key and no database: - the master key is `LITELLM_MASTER_KEY`, else the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too. Any string works (no `sk-` prefix needed), except a publicly known default such as `sk-1234`, which LiteLLM refuses to start with; - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; @@ -71,7 +71,7 @@ vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front do On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. -vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray, or if any nginx server still listens on 8001. +vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. ## Ports diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 115cde60..9284cce6 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -33,25 +33,6 @@ RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start -# Base nginx.conf releases before #248 proxy 8001 to localhost:8000 (a -# leftover VS Code server slot). Here 8000 is vLLM, so that block would serve -# vLLM with no key to anything that reaches 8001 (a template mapping it, -# another node). Remove it if the base still has it, and fail the build if any -# nginx server still listens on 8001. Drop this step once the Ray base is on a -# base release without the block; the guard after it stays. -RUN python3 - <<'EOF' -import re -path = "/etc/nginx/nginx.conf" -conf = open(path).read() -# The base's server blocks nest one level of braces (location), and the 8001 -# one is preceded by a comment line. -block = re.compile(r"\n[ \t]*(#[^\n]*\n[ \t]*)?server \{(?:[^{}]|\{[^{}]*\})*?listen 8001;(?:[^{}]|\{[^{}]*\})*?\n[ \t]*\}") -conf, n = block.subn("", conf) -assert n <= 1, f"expected at most one 8001 server block in {path}, found {n}" -open(path, "w").write(conf) -EOF -RUN ! grep -rqE 'listen[[:space:]]+8001' /etc/nginx/ && nginx -t - # LiteLLM's proxy, the API on 4000 (LiteLLM's default) in front of vLLM (which listens on # 127.0.0.1:8000 only), in its own venv so its pins never touch vLLM's, Ray's # or torch's. Hash-locked: every package is checked against litellm/ From 42f6719d099f37cd3403978867e354c359d08389 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 11:24:17 -0500 Subject: [PATCH 09/24] feat(ray-cluster): start LiteLLM only once vLLM is ready LiteLLM used to start alongside vLLM, so every request during the model load (a minute or more on a multi-node cluster) got a 500 and a logged traceback. It now waits for vLLM's /health: until then nothing listens on 4000 and the Runpod proxy answers 502. If vLLM exits first, LiteLLM is not started. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- .../ray-cluster/inference/start.sh | 25 +++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 3079dd48..5b2b9054 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -67,7 +67,7 @@ The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; - the admin UI is disabled (`DISABLE_ADMIN_UI`; it needs the database), and LiteLLM uses its bundled model price map instead of fetching one. -vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. Until vLLM has loaded the model, requests get LiteLLM's `500` with an upstream connection error. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. +vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 03d8b3f7..a535c434 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -134,16 +134,19 @@ log "starting vLLM on 127.0.0.1:$VLLM_PORT: ${cmd[*]}" env -u LITELLM_MASTER_KEY "${cmd[@]}" log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." ) & +vllm_job=$! # --- LiteLLM ------------------------------------------------------------------ # # One model, MODEL_REPO, under its own name, so clients use the same model id # as with vLLM directly. Written as JSON (valid YAML), so no model name can -# break the config. Until vLLM has loaded, requests fail with LiteLLM's -# upstream connection error (500). Prometheus metrics on /metrics. No admin UI -# (it needs a database this pod doesn't have) and no fetch of the model price -# map. Without a database, a key other than the master key gets LiteLLM's 400 -# "No connected db." rather than a 401: still refused. LiteLLM also refuses to -# start on a publicly known master key, such as sk-1234. +# break the config. LiteLLM starts only once vLLM answers /health, so while the +# model loads nothing listens on the API port (the Runpod proxy answers 502) +# instead of LiteLLM failing every request with a 500 and a logged traceback. +# If vLLM exits first, LiteLLM is not started. Prometheus metrics on /metrics. +# No admin UI (it needs a database this pod doesn't have) and no fetch of the +# model price map. Without a database, a key other than the master key gets +# LiteLLM's 400 "No connected db." rather than a 401: still refused. LiteLLM +# also refuses to start on a publicly known master key, such as sk-1234. if ! python3 - "$MODEL_REPO" "$VLLM_PORT" > "$LITELLM_DIR/config.json" << 'EOF' import json, sys @@ -169,8 +172,16 @@ then log "error: could not write $LITELLM_DIR/config.json (see above), so LiteLLM was not started" services fi -log "starting LiteLLM on $API_PORT for $MODEL_REPO" +log "LiteLLM will start on $API_PORT for $MODEL_REPO once vLLM has loaded the model" ( + until curl -sf -o /dev/null "http://127.0.0.1:$VLLM_PORT/health"; do + if ! kill -0 "$vllm_job" 2> /dev/null; then + log "vLLM exited before it was ready, so LiteLLM was not started" + exit 0 + fi + sleep 5 + done + log "vLLM is ready; starting LiteLLM on $API_PORT" env "${litellm_env[@]}" "$LITELLM" --config "$LITELLM_DIR/config.json" --host 0.0.0.0 --port "$API_PORT" log "LiteLLM exited with status $?; the pod stays up. Restart the pod to serve again." ) & From 98b433a1fc4afa277ef5214157088008a58e83c6 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 11:28:29 -0500 Subject: [PATCH 10/24] fix(ray-cluster): point the inference dashboards at this Grafana's Prometheus The vendored vLLM and LiteLLM dashboards kept the variable values their authors exported: a datasource uid from their Grafana (three of the four) and a model name from their deployment (vLLM, Performance Statistics), so their panels queried a datasource or a model that isn't here and showed nothing. DS_PROMETHEUS now selects uid prometheus, and the query variables start empty or All and refresh on load. Co-Authored-By: Claude Opus 5.5 --- .../inference/config/dashboards/litellm.json | 6 ++---- .../dashboards/vllm-performance-statistics.json | 4 ++-- .../config/dashboards/vllm-query-statistics.json | 8 ++------ .../inference/config/dashboards/vllm.json | 12 +++--------- .../config/provisioning/dashboards/inference.yml | 10 +++++++--- 5 files changed, 16 insertions(+), 24 deletions(-) diff --git a/official-templates/ray-cluster/inference/config/dashboards/litellm.json b/official-templates/ray-cluster/inference/config/dashboards/litellm.json index 5b1b6777..17fdce84 100644 --- a/official-templates/ray-cluster/inference/config/dashboards/litellm.json +++ b/official-templates/ray-cluster/inference/config/dashboards/litellm.json @@ -795,16 +795,14 @@ "list": [ { "current": { - "selected": false, - "text": "prometheus", - "value": "edx8memhpd9tsb" + "text": "Prometheus", + "value": "prometheus" }, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "name": "DS_PROMETHEUS", - "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json b/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json index 661d3f14..f2bf58a1 100644 --- a/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm-performance-statistics.json @@ -1370,10 +1370,10 @@ { "current": { "text": [ - "granite-33-2b-instruct" + "All" ], "value": [ - "granite-33-2b-instruct" + "$__all" ] }, "definition": "label_values(vllm:generation_tokens_total,model_name)", diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json b/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json index 1c8f794f..73323f26 100644 --- a/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm-query-statistics.json @@ -1181,11 +1181,10 @@ { "current": { "text": "Prometheus", - "value": "4184fc20-68a7-483a-8d9b-7caa59c680dd" + "value": "prometheus" }, "label": "datasource", "name": "DS_PROMETHEUS", - "options": [], "query": "prometheus", "refresh": 1, "type": "datasource" @@ -1267,10 +1266,7 @@ "type": "custom" }, { - "current": { - "text": "", - "value": "" - }, + "current": {}, "hide": 2, "name": "query0", "options": [], diff --git a/official-templates/ray-cluster/inference/config/dashboards/vllm.json b/official-templates/ray-cluster/inference/config/dashboards/vllm.json index efbf5d90..5774f48b 100644 --- a/official-templates/ray-cluster/inference/config/dashboards/vllm.json +++ b/official-templates/ray-cluster/inference/config/dashboards/vllm.json @@ -1634,16 +1634,14 @@ "list": [ { "current": { - "selected": false, - "text": "prometheus", - "value": "edx8memhpd9tsa" + "text": "Prometheus", + "value": "prometheus" }, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "name": "DS_PROMETHEUS", - "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, @@ -1652,11 +1650,7 @@ "type": "datasource" }, { - "current": { - "selected": false, - "text": "/share/datasets/public_models/Meta-Llama-3-8B-Instruct", - "value": "/share/datasets/public_models/Meta-Llama-3-8B-Instruct" - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" diff --git a/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml b/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml index 1267e3fc..dcad3253 100644 --- a/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml +++ b/official-templates/ray-cluster/inference/config/provisioning/dashboards/inference.yml @@ -1,9 +1,13 @@ apiVersion: 1 # The inference stack's example Grafana dashboards, vendored at the image's -# pinned versions, retitled and with their export ids cleared, otherwise -# unchanged. They pick the Prometheus datasource through their DS_PROMETHEUS -# variable and read the head's `vllm` and `litellm` scrape jobs (post_start.sh). +# pinned versions and read from the head's `vllm` and `litellm` scrape jobs +# (post_start.sh). Changed from upstream only in what the exports saved from +# their authors' Grafana: titles, export ids, and the selected values of their +# variables. DS_PROMETHEUS is set to this Grafana's datasource (uid prometheus; +# the exports named theirs, so every panel came up empty), and the query +# variables (model_name, Deployment_id) start empty or All and refresh on load, +# so they pick up the model this pod serves. Redo all of that on re-vendoring. # - vllm*.json: vllm-project/vllm examples/observability/ (prometheus_grafana/ # grafana.json and dashboards/grafana/*.json) at VLLM_VERSION; # - litellm.json: BerriAI/litellm cookbook/litellm_proxy_server/ From f97e206ca898aa66ec5d5a482ee2f3f06450a831 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 16:54:05 -0500 Subject: [PATCH 11/24] ci: lint the ray-cluster inference Dockerfile on pull requests It was only in hadolint-push.yml, which runs on pushes to main. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/hadolint-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/hadolint-pr.yml b/.github/workflows/hadolint-pr.yml index 678fed2a..f59d3130 100644 --- a/.github/workflows/hadolint-pr.yml +++ b/.github/workflows/hadolint-pr.yml @@ -26,6 +26,8 @@ jobs: ignore: "DL3008" - dockerfile: official-templates/ray-cluster/Dockerfile ignore: "" + - dockerfile: official-templates/ray-cluster/inference/Dockerfile + ignore: "" - dockerfile: official-templates/comfyui/Dockerfile ignore: "DL3008" - dockerfile: official-templates/filebrowser/Dockerfile From caacc8ffc0f7a78bcb48300007b5b869a60acb71 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 16:54:05 -0500 Subject: [PATCH 12/24] fix(ray-cluster): check the inference variant's settings before the node wait - Check VLLM_EXTRA_ARGS and MAX_MODEL_LENGTH before waiting for the cluster, which has no deadline, so a bad setting is reported at once. - Refuse --api_key as well as --api-key: vLLM reads both the same way. - Split VLLM_EXTRA_ARGS like a shell command line (shlex), so a quoted JSON value with spaces stays one argument; nothing is expanded. - Refuse a MODEL_REPO starting with '-', which vllm serve would take as an option. - Time out each vLLM /health probe after 5s. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 8 +-- .../ray-cluster/inference/start.sh | 52 +++++++++++++------ 2 files changed, 41 insertions(+), 19 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 5b2b9054..e38b78b6 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -55,11 +55,11 @@ Configuration, all environment variables: | Variable | Default | Effect | |---|---|---| -| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`; also the model name clients send. Unset: the head logs that it is skipping vLLM and stays up for interactive use. | +| `MODEL_REPO` | none | Hugging Face model to serve, such as `Qwen/Qwen3-235B-A22B`; also the model name clients send. Unset: the head logs that it is skipping vLLM and stays up for interactive use. A value starting with `-` is refused. | | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | | `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 4000 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` is refused (LiteLLM can't send it). | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` (or `--api_key`) is refused (LiteLLM can't send it). | The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod (once the base no longer carries its unused 8001 → `localhost:8000` nginx relay, #248). LiteLLM runs with only a master key and no database: @@ -69,9 +69,9 @@ The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. -On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack. Re-vendor the dashboards when bumping vLLM or LiteLLM. +On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO` leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. -vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. +vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. vLLM's ranged dependencies are pinned in `inference/requirements.txt`, as `requirements.txt` pins Ray's; re-resolve it on a vLLM bump. ## Ports diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index a535c434..4ba9b561 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -38,6 +38,11 @@ if [[ -z "${MODEL_REPO:-}" ]]; then log "MODEL_REPO is not set; skipping vLLM. To serve a model, set it to a Hugging Face model, such as Qwen/Qwen3-235B-A22B, and restart the pod. The pod stays up for interactive use." services fi +# vllm serve would read a leading dash as an option, not the model. +if [[ "$MODEL_REPO" == -* ]]; then + log "error: MODEL_REPO '$MODEL_REPO' starts with '-', so it is not a model, and vLLM was not started" + services +fi # --- Authentication --------------------------------------------------------- # # LiteLLM's master key is LITELLM_MASTER_KEY (LiteLLM's own variable), else the @@ -79,6 +84,37 @@ fi # vLLM reads VLLM_API_KEY itself, and LiteLLM sends it none. unset VLLM_API_KEY +# --- vLLM arguments ----------------------------------------------------------- # +# Checked before the wait for the cluster, so a bad setting is reported at once. +model_args=() +[[ -n "${MAX_MODEL_LENGTH:-}" ]] && model_args+=(--max-model-len "$MAX_MODEL_LENGTH") + +# Split like a shell command line, so a quoted argument (a JSON config with +# spaces, say) stays one argument; nothing in it is expanded or run. +mapfile -d '' -t extra_args < <(python3 -c ' +import shlex, sys +try: + args = shlex.split(sys.argv[1]) +except ValueError as e: + sys.exit(f"[ray-inference] VLLM_EXTRA_ARGS: {e}") +sys.stdout.write("".join(a + "\0" for a in args)) +' "${VLLM_EXTRA_ARGS:-}") +if ! wait $!; then + log "error: VLLM_EXTRA_ARGS can't be split into arguments (see above), so vLLM was not started" + services +fi +for arg in "${extra_args[@]}"; do + # vLLM takes --api_key as --api-key. + opt=${arg%%=*} + case "${opt//_/-}" in + --api-key) + log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM would print it to the pod logs at startup. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." + services + ;; + *) ;; + esac +done + # --- Shape -------------------------------------------------------------------- # parallel_args=() if [[ -n "${NODE_RANK:-}" ]]; then @@ -111,20 +147,6 @@ fi parallel_args+=(--tensor-parallel-size "$gpus") # --- vLLM --------------------------------------------------------------------- # -model_args=() -[[ -n "${MAX_MODEL_LENGTH:-}" ]] && model_args+=(--max-model-len "$MAX_MODEL_LENGTH") - -read -ra extra_args <<< "${VLLM_EXTRA_ARGS:-}" -for arg in "${extra_args[@]}"; do - case "$arg" in - --api-key | --api-key=*) - log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM prints its arguments at startup, so that key is now in the pod logs. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." - services - ;; - *) ;; - esac -done - # VLLM_EXTRA_ARGS follows the derived settings so it can override them; the # listen address is last, so vLLM stays reachable only from this pod. cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" @@ -174,7 +196,7 @@ then fi log "LiteLLM will start on $API_PORT for $MODEL_REPO once vLLM has loaded the model" ( - until curl -sf -o /dev/null "http://127.0.0.1:$VLLM_PORT/health"; do + until curl -sf --max-time 5 -o /dev/null "http://127.0.0.1:$VLLM_PORT/health"; do if ! kill -0 "$vllm_job" 2> /dev/null; then log "vLLM exited before it was ready, so LiteLLM was not started" exit 0 From 26bec7abcb6ead5fc834a2db1acaa3770feabacb Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 16:54:05 -0500 Subject: [PATCH 13/24] build(ray-cluster): pin vLLM's ranged dependencies As requirements.txt does for Ray: vLLM's unpinned or ranged direct requirements, resolved with the base's torch and Ray, minus those a lower layer already pins at a version vLLM accepts. Co-Authored-By: Claude Opus 5.5 --- .../ray-cluster/inference/Dockerfile | 7 ++- .../ray-cluster/inference/requirements.txt | 61 +++++++++++++++++++ 2 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 official-templates/ray-cluster/inference/requirements.txt diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 9284cce6..241c56df 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -19,12 +19,15 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # build the base chose, and the host's parsers are pinned to the base's Ray. # vLLM needs a newer PyJWT than the base's, which is Debian's python3-jwt and # has no RECORD for pip to uninstall: install the pinned one beside it first -# (pip's copy shadows Debian's on sys.path). +# (pip's copy shadows Debian's on sys.path). vLLM's ranged dependencies are +# pinned in requirements.txt; re-resolve it on a vLLM bump. ARG VLLM_VERSION=0.32.0 ARG PYJWT_VERSION=2.15.1 +COPY requirements.txt /tmp/vllm-requirements.txt RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ python -m pip install --no-cache-dir --ignore-installed "PyJWT==${PYJWT_VERSION}" && \ - python -m pip install --no-cache-dir "vllm==${VLLM_VERSION}" && \ + python -m pip install --no-cache-dir "vllm==${VLLM_VERSION}" -r /tmp/vllm-requirements.txt && \ + rm /tmp/vllm-requirements.txt && \ torch_after=$(python -c 'import torch; print(torch.__version__)') && \ ray_after=$(python -c 'import ray; print(ray.__version__)') && \ { [[ "$torch_after" == "$torch_before" ]] || { echo "vLLM replaced torch $torch_before with $torch_after"; exit 1; }; } && \ diff --git a/official-templates/ray-cluster/inference/requirements.txt b/official-templates/ray-cluster/inference/requirements.txt new file mode 100644 index 00000000..0d2807ca --- /dev/null +++ b/official-templates/ray-cluster/inference/requirements.txt @@ -0,0 +1,61 @@ +# vLLM's direct dependencies that it leaves unpinned or ranged (the ones it +# pins exactly need nothing here), pinned so the image ships known versions +# instead of whatever satisfied vLLM's ranges when the build cache last +# refreshed the layer, as ../requirements.txt does for Ray. Left out, because a +# lower layer already pins a version vLLM accepts: torch and its companions +# (the pytorch base), filelock (the base image), and pydantic, aiohttp and the +# rest of ../requirements.txt. fastapi is the exception: vLLM needs <0.137, so +# this pin replaces Ray's. +# +# Bump deliberately, and re-resolve on a vLLM bump: resolve vLLM together with +# the base's torch and Ray for the image's platform, for example +# printf 'vllm==0.32.0\ntorch==2.13.0\nray[default,serve]==2.59.0\n' | +# uv pip compile - --python-version 3.12 \ +# --python-platform x86_64-manylinux_2_28 --no-annotate +# and take from the result the versions of vLLM's ranged requirements, minus +# the ones left out above. +anthropic==2.10.0 +blake3==1.0.11 +cachetools==8.0.2 +cbor2==6.3.0 +cloudpickle==3.1.3 +einops==0.8.2 +fastapi==0.136.3 +fastsafetensors==0.5.0 +huggingface-hub==2.4.0 +ijson==3.6.0 +instanttensor==0.2.3 +llguidance==1.7.6 +mcp==2.3.0 +mistral-common==1.13.1 +model-hosting-container-standards==0.1.16 +msgspec==0.22.0 +ninja==1.13.2 +numpy==2.3.5 +nvidia-cudnn-frontend==1.33.0 +openai==3.55.1 +opencv-python-headless==5.1.0.95 +opentelemetry-api==1.45.2 +opentelemetry-exporter-otlp==1.45.2 +opentelemetry-semantic-conventions-ai==0.5.1 +oss-harmony==0.0.12 +partial-json-parser==0.2.1.1.post7 +pillow==13.0.0 +prometheus-fastapi-instrumentator==8.1.0 +psutil==7.2.2 +py-cpuinfo==9.0.0 +pybase64==1.5.2 +python-json-logger==4.2.0 +pyzmq==27.3.0 +regex==2026.11.19 +safetensors==0.8.0 +sentencepiece==0.2.3 +setproctitle==1.3.8 +setuptools==80.10.2 +six==1.17.0 +tiktoken==0.14.0 +tokenizers==0.23.3 +tqdm==4.70.1 +transformers==5.19.0 +typing-extensions==4.16.0 +watchfiles==1.3.0 From 61b66a1e555333bcbdcffc1e1e633e9d062893b6 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 16:54:05 -0500 Subject: [PATCH 14/24] fix(ray-cluster): tie inference scrape jobs and bake groups to their inputs - Add the vllm and litellm Prometheus jobs only with a MODEL_REPO; without one they are only ever down. - Put ray-cluster-inference in the CUDA group of INFERENCE_BASE rather than a hard-coded cu1300. Co-Authored-By: Claude Opus 5.5 --- .../ray-cluster/docker-bake.hcl | 21 ++++++++++++------- .../ray-cluster/inference/post_start.sh | 5 +++-- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/official-templates/ray-cluster/docker-bake.hcl b/official-templates/ray-cluster/docker-bake.hcl index 313378d9..b348f02a 100644 --- a/official-templates/ray-cluster/docker-bake.hcl +++ b/official-templates/ray-cluster/docker-bake.hcl @@ -59,19 +59,19 @@ group "default" { # Per-CUDA-major groups so CI can shard the matrix across separate runners # (mirrors pytorch-cluster). group "cu1281" { - targets = [ + targets = concat([ for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" if b.cuda_code == "1281" - ] + ], inference_targets("1281")) } group "cu1290" { - targets = [ + targets = concat([ for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" if b.cuda_code == "1290" - ] + ], inference_targets("1290")) } group "cu1300" { @@ -79,15 +79,15 @@ group "cu1300" { for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" if b.cuda_code == "1300" - ], ["ray-cluster-inference"]) + ], inference_targets("1300")) } group "cu1320" { - targets = [ + targets = concat([ for b in RAY_CLUSTER_BUILDS : "ray-cluster-${b.ubuntu_name}-cu${b.cuda_code}-torch${b.torch_code}" if b.cuda_code == "1320" - ] + ], inference_targets("1320")) } target "ray-cluster-base" { @@ -128,6 +128,13 @@ variable "INFERENCE_BASE" { default = { cuda_code = "1300", torch_code = "2130", ubuntu_name = "ubuntu2404" } } +# The inference target, for the CUDA group of INFERENCE_BASE only: that group +# builds the target it is FROM. +function "inference_targets" { + params = [cuda_code] + result = cuda_code == INFERENCE_BASE.cuda_code ? ["ray-cluster-inference"] : [] +} + target "ray-cluster-inference" { context = "official-templates/ray-cluster/inference" dockerfile = "Dockerfile" diff --git a/official-templates/ray-cluster/inference/post_start.sh b/official-templates/ray-cluster/inference/post_start.sh index 58730c16..531e080f 100644 --- a/official-templates/ray-cluster/inference/post_start.sh +++ b/official-templates/ray-cluster/inference/post_start.sh @@ -23,8 +23,9 @@ PROM_CONFIG=/etc/prometheus/prometheus.yml /post_start.ray.sh -# The head is rank 0, as for Ray's hook; vLLM serves only there. -if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" ]]; then +# The head is rank 0, as for Ray's hook; vLLM serves only there, and only with +# a MODEL_REPO (without one, the targets would only ever be down). +if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" || -z "${MODEL_REPO:-}" ]]; then exit 0 fi From 77546432942ec362ab6292bd1b0928797bc6e85f Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Wed, 18 Nov 2026 16:54:05 -0500 Subject: [PATCH 15/24] test(ray-cluster): table-driven tests for the inference start script Runs start.sh whole with fakes for nvidia-smi, vllm, curl and LiteLLM: every refusal starts nothing and hands off to /start.sh, and every acceptance checks the exact vllm command line, the key LiteLLM gets, the key file's permissions and the LiteLLM config. wait_for_nodes.py's shape check moves into shape_error() and is tested with a fake ray. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/harness-tests.yml | 6 + .../ray-cluster/inference/wait_for_nodes.py | 20 +- tests/unit/test_ray_inference_start.py | 373 ++++++++++++++++++ 3 files changed, 393 insertions(+), 6 deletions(-) create mode 100644 tests/unit/test_ray_inference_start.py diff --git a/.github/workflows/harness-tests.yml b/.github/workflows/harness-tests.yml index aaa8cd1a..a06067b5 100644 --- a/.github/workflows/harness-tests.yml +++ b/.github/workflows/harness-tests.yml @@ -15,6 +15,9 @@ on: # so editing one has to re-run the suite. - 'container-template/start.sh' - 'official-templates/comfyui/scripts/start.sh' + - 'official-templates/ray-cluster/inference/start.sh' + - 'official-templates/ray-cluster/inference/wait_for_nodes.py' + - 'official-templates/ray-cluster/inference/post_start.sh' # test_grafana_auth_proxy runs the real proxy. - 'official-templates/pytorch-cluster/config/grafana-proxy/auth_proxy.py' # test_comfyui_auth_proxy runs the real proxy. @@ -32,6 +35,9 @@ on: - '.github/scripts/generate_test_manifest.py' - 'container-template/start.sh' - 'official-templates/comfyui/scripts/start.sh' + - 'official-templates/ray-cluster/inference/start.sh' + - 'official-templates/ray-cluster/inference/wait_for_nodes.py' + - 'official-templates/ray-cluster/inference/post_start.sh' # test_grafana_auth_proxy runs the real proxy. - 'official-templates/pytorch-cluster/config/grafana-proxy/auth_proxy.py' # test_comfyui_auth_proxy runs the real proxy. diff --git a/official-templates/ray-cluster/inference/wait_for_nodes.py b/official-templates/ray-cluster/inference/wait_for_nodes.py index c00c3df4..416e27f9 100644 --- a/official-templates/ray-cluster/inference/wait_for_nodes.py +++ b/official-templates/ray-cluster/inference/wait_for_nodes.py @@ -33,6 +33,17 @@ def gpus_per_alive_node() -> list[int]: ] +def shape_error(gpus: list[int], want: int) -> str | None: + """Why the alive nodes' GPU counts can't be `want` equal pipeline stages, + or None when they can.""" + if len(gpus) != want: + return f"{len(gpus)} nodes are in Ray but NUM_NODES is {want}" + if min(gpus) == 0 or len(set(gpus)) != 1: + return (f"GPUs per node differ or are missing ({gpus}); pipeline " + "stages need the same GPU count on every node") + return None + + def main() -> int: want = int(sys.argv[1]) # The entrypoint exported RAY_AUTH_TOKEN, so this joins as an authenticated @@ -51,12 +62,9 @@ def main() -> int: next_log += LOG_EVERY_S time.sleep(POLL_S) - if len(gpus) > want: - log(f"{len(gpus)} nodes are in Ray but NUM_NODES is {want}") - return EXIT_SHAPE - if min(gpus) == 0 or len(set(gpus)) != 1: - log(f"GPUs per node differ or are missing ({gpus}); pipeline stages " - "need the same GPU count on every node") + error = shape_error(gpus, want) + if error: + log(error) return EXIT_SHAPE log(f"all {want} nodes joined, {gpus[0]} GPUs each") print(gpus[0]) diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py new file mode 100644 index 00000000..3a049d6c --- /dev/null +++ b/tests/unit/test_ray_inference_start.py @@ -0,0 +1,373 @@ +"""The ray-cluster inference variant's start script and node wait. + +start.sh runs whole, with fakes on PATH for nvidia-smi, vllm, curl and +LiteLLM, and a fake wait_for_nodes.py; the test records what each was run +with. Its fixed paths (/opt/runpod/inference, /etc/litellm, LiteLLM's binary) +point into a sandbox, and `exec /start.sh` becomes "wait for the background +jobs, then stop", so every path ends where the pod would hand off to +/start.sh. Every refusal is checked to start nothing; every acceptance, for +the exact vllm command line and LiteLLM's key. + +wait_for_nodes.py runs against a fake `ray` module. +""" + +import importlib.util +import io +import json +import os +import re +import stat +import subprocess +import sys +import tempfile +import types +import unittest +from contextlib import redirect_stderr, redirect_stdout +from pathlib import Path +from unittest import mock + +REPO_ROOT = Path(__file__).resolve().parents[2] +INFERENCE = REPO_ROOT / "official-templates/ray-cluster/inference" +SCRIPT = INFERENCE / "start.sh" +WAIT_FOR_NODES = INFERENCE / "wait_for_nodes.py" +KEY = "pod-secret-value-1234" +MODEL = "Qwen/Qwen3-0.6B" +HANDOFF = "[test] handed off to /start.sh" + +# Fakes. Each records its arguments NUL-separated, so a quoted argument with +# spaces stays one. +FAKE_VLLM = r"""#!/bin/bash +printf '%s\0' "$@" > "$WORK/vllm.args" +env > "$WORK/vllm.env" +[[ -n "${FAKE_VLLM_FAIL:-}" ]] && exit 1 +sleep 1 +""" +FAKE_LITELLM = r"""#!/bin/bash +printf '%s\0' "$@" > "$WORK/litellm.args" +env > "$WORK/litellm.env" +""" +# Fails like a refused connection while vLLM is down. +FAKE_CURL = r"""#!/bin/bash +[[ -n "${FAKE_CURL_FAIL:-}" ]] && exit 7 +exit 0 +""" +# No FAKE_GPUS: like a pod without the NVIDIA runtime, nvidia-smi fails. +FAKE_NVIDIA_SMI = r"""#!/bin/bash +[[ -n "${FAKE_GPUS:-}" ]] || exit 9 +for ((i = 0; i < FAKE_GPUS; i++)); do echo "GPU $i: NVIDIA H100 (UUID: GPU-$i)"; done +""" +FAKE_WAIT_FOR_NODES = r"""import os, sys +open(os.path.join(os.environ["WORK"], "wait_for_nodes.args"), "w").write(" ".join(sys.argv[1:])) +print(os.environ.get("FAKE_NODE_GPUS", "8")) +sys.exit(int(os.environ.get("FAKE_WAIT_RC", "0"))) +""" + + +def sandboxed_script(work: Path) -> str: + """start.sh with its fixed paths moved into `work`. Fails if one of the + lines it rewrites is gone: update this test, the rule still has to hold.""" + text = SCRIPT.read_text() + for old, new in [ + ("readonly INFERENCE_DIR=/opt/runpod/inference", f"readonly INFERENCE_DIR={work}/inference"), + ("readonly LITELLM=/opt/litellm/bin/litellm", f"readonly LITELLM={work}/bin/litellm"), + ("readonly LITELLM_DIR=/etc/litellm", f"readonly LITELLM_DIR={work}/litellm"), + ("services() { exec /start.sh; }", f'services() {{ wait; echo "{HANDOFF}"; exit 0; }}'), + ]: + if text.count(old) != 1: + raise AssertionError(f"{SCRIPT}: no single `{old}` line to sandbox.") + text = text.replace(old, new) + return text + + +class StartScript(unittest.TestCase): + def setUp(self) -> None: + tmp = tempfile.TemporaryDirectory() + self.addCleanup(tmp.cleanup) + self.work = Path(tmp.name) + for d in ("bin", "inference"): + (self.work / d).mkdir() + for name, body in [("vllm", FAKE_VLLM), ("litellm", FAKE_LITELLM), + ("curl", FAKE_CURL), ("nvidia-smi", FAKE_NVIDIA_SMI)]: + path = self.work / "bin" / name + path.write_text(body) + path.chmod(0o755) + (self.work / "inference/wait_for_nodes.py").write_text(FAKE_WAIT_FOR_NODES) + (self.work / "start.sh").write_text(sandboxed_script(self.work)) + + def run_start(self, env: dict) -> str: + result = subprocess.run( + ["bash", str(self.work / "start.sh")], + env={"PATH": f"{self.work / 'bin'}:{os.environ['PATH']}", + "HOME": str(self.work), "WORK": str(self.work), **env}, + capture_output=True, text=True, timeout=60, + ) + out = result.stdout + result.stderr + self.assertEqual(result.returncode, 0, out) + self.assertIn(HANDOFF, out, "the script must always end in /start.sh") + return out + + def recorded(self, name: str) -> list[str] | None: + path = self.work / name + return path.read_text().split("\0")[:-1] if path.exists() else None + + def recorded_env(self, name: str) -> dict[str, str]: + lines = (self.work / name).read_text().splitlines() + return dict(line.split("=", 1) for line in lines if "=" in line) + + def test_refusals_start_nothing(self) -> None: + """, , . Each still hands + off to /start.sh, so the pod stays up, and runs neither vLLM nor + LiteLLM.""" + serving = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"} + rows = [ + ("worker node", {**serving, "NODE_RANK": "1"}, "worker node: Ray only"), + ("no MODEL_REPO", {"LITELLM_MASTER_KEY": KEY}, "MODEL_REPO is not set; skipping vLLM"), + ("empty MODEL_REPO", {**serving, "MODEL_REPO": ""}, "MODEL_REPO is not set"), + ("MODEL_REPO read as an option", {**serving, "MODEL_REPO": "--trust-remote-code"}, + "starts with '-'"), + ("no key at all", {"MODEL_REPO": MODEL, "FAKE_GPUS": "1"}, + "neither LITELLM_MASTER_KEY nor JUPYTER_PASSWORD is set"), + ("whitespace-only key is no key", {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": " \t ", + "FAKE_GPUS": "1"}, + "neither LITELLM_MASTER_KEY nor JUPYTER_PASSWORD is set"), + ("--api-key", {**serving, "VLLM_EXTRA_ARGS": f"--api-key {KEY}"}, "sets --api-key"), + ("--api-key=", {**serving, "VLLM_EXTRA_ARGS": f"--api-key={KEY}"}, "sets --api-key"), + ("--api_key, vLLM's underscore spelling", {**serving, "VLLM_EXTRA_ARGS": f"--api_key={KEY}"}, + "sets --api-key"), + ("--api-key hidden in quotes", {**serving, "VLLM_EXTRA_ARGS": f"'--api-key={KEY}'"}, + "sets --api-key"), + ("--api-key after other args", {**serving, "VLLM_EXTRA_ARGS": f"--enforce-eager --api-key {KEY}"}, + "sets --api-key"), + ("unbalanced quote", {**serving, "VLLM_EXTRA_ARGS": "--hf-overrides '{\"a\": 1}"}, + "VLLM_EXTRA_ARGS can't be split into arguments"), + ("no GPU on a plain pod", {**serving, "FAKE_GPUS": ""}, "no GPU visible"), + ("zero GPUs on a plain pod", {**serving, "FAKE_GPUS": "0"}, "no GPU visible"), + ] + for count in ("abc", "0", "0000", "-1", "99999", "1.5", "2; id", "$(id)", " 2"): + rows.append((f"NUM_NODES={count!r}", {**serving, "NODE_RANK": "0", "NUM_NODES": count}, + "is not a node count")) + rows += [ + ("nodes can't be split evenly", {**serving, "NODE_RANK": "0", "NUM_NODES": "2", + "FAKE_WAIT_RC": "2"}, + "can't be split into 2 pipeline stages"), + ("Ray unreachable", {**serving, "NODE_RANK": "0", "NUM_NODES": "2", "FAKE_WAIT_RC": "1"}, + "could not read the cluster's nodes from Ray"), + ] + for what, env, want in rows: + with self.subTest(what): + for name in ("vllm.args", "litellm.args"): + (self.work / name).unlink(missing_ok=True) + out = self.run_start(env) + self.assertIn(want, out) + self.assertIsNone(self.recorded("vllm.args"), "vLLM was started") + self.assertIsNone(self.recorded("litellm.args"), "LiteLLM was started") + self.assertNotIn(KEY, out, "the key reached the log") + + def test_vllm_command_line(self) -> None: + """, , ` and + before the fixed --host/--port>.""" + base = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "2"} + rows = [ + ("plain pod: tensor parallel over its GPUs", base, ["--tensor-parallel-size", "2"]), + ("cluster: pipeline over nodes, tensor over GPUs per node", + {**base, "NODE_RANK": "0", "NUM_NODES": "2", "FAKE_NODE_GPUS": "4"}, + ["--distributed-executor-backend", "ray", "--pipeline-parallel-size", "2", + "--tensor-parallel-size", "4"]), + ("cluster: NUM_NODES leading zeros dropped", + {**base, "NODE_RANK": "0", "NUM_NODES": "002", "FAKE_NODE_GPUS": "8"}, + ["--distributed-executor-backend", "ray", "--pipeline-parallel-size", "2", + "--tensor-parallel-size", "8"]), + ("cluster: NUM_NODES unset is one node", {**base, "NODE_RANK": "0", "FAKE_NODE_GPUS": "8"}, + ["--distributed-executor-backend", "ray", "--pipeline-parallel-size", "1", + "--tensor-parallel-size", "8"]), + ("cluster: NUM_NODES upper bound", {**base, "NODE_RANK": "0", "NUM_NODES": "9999", + "FAKE_NODE_GPUS": "1"}, + ["--distributed-executor-backend", "ray", "--pipeline-parallel-size", "9999", + "--tensor-parallel-size", "1"]), + ("MAX_MODEL_LENGTH", {**base, "MAX_MODEL_LENGTH": "4096"}, + ["--tensor-parallel-size", "2", "--max-model-len", "4096"]), + ("extra args follow the derived ones, so they override them", + {**base, "VLLM_EXTRA_ARGS": "--tensor-parallel-size 1 --enforce-eager"}, + ["--tensor-parallel-size", "2", "--tensor-parallel-size", "1", "--enforce-eager"]), + ("a quoted JSON value with spaces stays one argument", + {**base, "VLLM_EXTRA_ARGS": '--speculative-config \'{"method": "ngram", "num_speculative_tokens": 4}\''}, + ["--tensor-parallel-size", "2", "--speculative-config", + '{"method": "ngram", "num_speculative_tokens": 4}']), + ("double quotes and escapes, like a shell", + {**base, "VLLM_EXTRA_ARGS": '--served-model-name "my model" --chat-template a\\ b'}, + ["--tensor-parallel-size", "2", "--served-model-name", "my model", "--chat-template", "a b"]), + ("nothing is expanded or run", + {**base, "VLLM_EXTRA_ARGS": "--x $(touch pwned) `touch pwned` $HOME * ;id"}, + ["--tensor-parallel-size", "2", "--x", "$(touch", "pwned)", "`touch", "pwned`", + "$HOME", "*", ";id"]), + ("flags that only resemble --api-key pass", + {**base, "VLLM_EXTRA_ARGS": "--api-key-file=x --served-model-name=--api-key"}, + ["--tensor-parallel-size", "2", "--api-key-file=x", "--served-model-name=--api-key"]), + ("a --host in the extra args is overridden", + {**base, "VLLM_EXTRA_ARGS": "--host 0.0.0.0 --port 9000"}, + ["--tensor-parallel-size", "2", "--host", "0.0.0.0", "--port", "9000"]), + ] + for what, env, want in rows: + with self.subTest(what): + self.run_start(env) + self.assertEqual(self.recorded("vllm.args"), + ["serve", MODEL, *want, "--host", "127.0.0.1", "--port", "8000"]) + self.assertFalse((self.work / "pwned").exists()) + if "NODE_RANK" in env: + self.assertEqual((self.work / "wait_for_nodes.args").read_text(), + str(int(env.get("NUM_NODES", "1")))) + + def test_key(self) -> None: + """, , , .""" + base = {"MODEL_REPO": MODEL, "FAKE_GPUS": "1"} + rows = [ + ("LITELLM_MASTER_KEY", {**base, "LITELLM_MASTER_KEY": KEY}, KEY, + "authentication on (key from LITELLM_MASTER_KEY)"), + ("pasted whitespace trimmed", {**base, "LITELLM_MASTER_KEY": f" \t{KEY} \n"}, KEY, + "(key from LITELLM_MASTER_KEY)"), + ("LITELLM_MASTER_KEY outranks JUPYTER_PASSWORD", + {**base, "LITELLM_MASTER_KEY": KEY, "JUPYTER_PASSWORD": "jupyter-pw"}, KEY, + "(key from LITELLM_MASTER_KEY)"), + ("JUPYTER_PASSWORD fallback, verbatim", {**base, "JUPYTER_PASSWORD": f" {KEY} "}, f" {KEY} ", + "(key from JUPYTER_PASSWORD)"), + ("none turns authentication off", {**base, "LITELLM_MASTER_KEY": "none"}, None, + "warn: LITELLM_MASTER_KEY=none"), + ("None, any case", {**base, "LITELLM_MASTER_KEY": " NoNe "}, None, + "warn: LITELLM_MASTER_KEY=none"), + ("a JUPYTER_PASSWORD of none is a key, not the opt-out", + {**base, "JUPYTER_PASSWORD": "none"}, "none", "(key from JUPYTER_PASSWORD)"), + ("key with shell and JSON metacharacters", {**base, "LITELLM_MASTER_KEY": "a'b\"c$(id)`x`\\"}, + "a'b\"c$(id)`x`\\", "(key from LITELLM_MASTER_KEY)"), + ] + for what, env, want, log in rows: + with self.subTest(what): + out = self.run_start({**env, "VLLM_API_KEY": "leftover"}) + self.assertIn(log, out) + litellm = self.recorded_env("litellm.env") + vllm = self.recorded_env("vllm.env") + self.assertEqual(litellm.get("LITELLM_MASTER_KEY"), want) + self.assertEqual(litellm.get("LITELLM_DANGEROUSLY_PERMIT_WEAK_OR_UNSET_MASTER_KEY"), + None if want else "true") + self.assertEqual(litellm.get("DISABLE_ADMIN_UI"), "True") + self.assertNotIn("LITELLM_MASTER_KEY", vllm, "vLLM doesn't need the key") + self.assertNotIn("VLLM_API_KEY", vllm, "vLLM would demand a key LiteLLM never sends") + key_file = self.work / "litellm/master_key" + self.assertEqual(key_file.read_text(), want or "none") + self.assertEqual(stat.S_IMODE(key_file.stat().st_mode), 0o600) + self.assertEqual(stat.S_IMODE(key_file.parent.stat().st_mode), 0o700) + if want and want.strip(): + self.assertNotIn(want.strip(), out, "the key reached the log") + + def test_litellm_config(self) -> None: + """One model under MODEL_REPO's own name, valid JSON whatever the + name holds.""" + for model in (MODEL, 'org/we"ird\\name', "org/{{ template }}: x"): + with self.subTest(model): + self.run_start({"MODEL_REPO": model, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"}) + config = json.loads((self.work / "litellm/config.json").read_text()) + (entry,) = config["model_list"] + self.assertEqual(entry["model_name"], model) + self.assertEqual(entry["litellm_params"]["model"], f"hosted_vllm/{model}") + self.assertEqual(entry["litellm_params"]["api_base"], "http://127.0.0.1:8000/v1") + self.assertIn("hashed_api_key", config["litellm_settings"]["prometheus_exclude_labels"]) + args = self.recorded("litellm.args") + self.assertEqual(args[args.index("--port") + 1], "4000") + self.assertEqual(args[args.index("--config") + 1], str(self.work / "litellm/config.json")) + + def test_vllm_exiting_before_ready_skips_litellm(self) -> None: + out = self.run_start({"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1", + "FAKE_VLLM_FAIL": "1", "FAKE_CURL_FAIL": "1"}) + self.assertIn("vLLM exited with status 1", out) + self.assertIn("vLLM exited before it was ready, so LiteLLM was not started", out) + self.assertIsNone(self.recorded("litellm.args")) + + +def load_wait_for_nodes(snapshots: list[list[dict]]) -> types.ModuleType: + """wait_for_nodes.py with a fake `ray` whose nodes() returns each snapshot + in turn, then the last one forever.""" + ray = types.ModuleType("ray") + ray.init = lambda **_: None + calls = iter(snapshots) + last = [] + + def nodes() -> list[dict]: + nonlocal last + last = next(calls, last) + return last + + ray.nodes = nodes + with mock.patch.dict(sys.modules, {"ray": ray}): + spec = importlib.util.spec_from_file_location("wait_for_nodes", WAIT_FOR_NODES) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +def node(gpus: int | None, alive: bool = True) -> dict: + return {"Alive": alive, "Resources": {} if gpus is None else {"GPU": float(gpus), "CPU": 8.0}} + + +class WaitForNodes(unittest.TestCase): + def test_shape_error(self) -> None: + """, , , .""" + shape_error = load_wait_for_nodes([]).shape_error + rows = [ + ("one node", [8], 1, None), + ("equal nodes", [8, 8, 8, 8], 4, None), + ("one GPU each", [1, 1], 2, None), + ("more nodes than NUM_NODES", [8, 8, 8], 2, "3 nodes are in Ray but NUM_NODES is 2"), + ("fewer nodes than NUM_NODES", [8], 2, "1 nodes are in Ray but NUM_NODES is 2"), + ("uneven GPU counts", [8, 4], 2, "GPUs per node differ"), + ("a node without GPUs", [8, 0], 2, "GPUs per node differ or are missing"), + ("no node has GPUs", [0, 0], 2, "are missing"), + ] + for what, gpus, want, error in rows: + with self.subTest(what): + got = shape_error(gpus, want) + if error is None: + self.assertIsNone(got) + else: + self.assertIn(error, got) + + def run_main(self, snapshots: list[list[dict]], want: int) -> tuple[int, str, str]: + module = load_wait_for_nodes(snapshots) + out, err = io.StringIO(), io.StringIO() + with mock.patch.object(sys, "argv", ["wait_for_nodes.py", str(want)]), \ + mock.patch.object(module.time, "sleep"), redirect_stdout(out), redirect_stderr(err): + rc = module.main() + return rc, out.getvalue(), err.getvalue() + + def test_waits_for_every_node_then_prints_gpus_per_node(self) -> None: + rc, out, err = self.run_main([[node(4)], [node(4), node(4, alive=False)], [node(4), node(4)]], 2) + self.assertEqual((rc, out), (0, "4\n")) + self.assertIn("1 of 2 nodes have joined Ray", err) + + def test_shape_error_exits_2_and_prints_nothing(self) -> None: + """stdout is the GPU count start.sh reads; on an error it stays empty.""" + for what, snapshot, want in [ + ("uneven", [node(8), node(4)], 2), + ("a CPU-only node", [node(8), node(None)], 2), + ("too many nodes", [node(8), node(8), node(8)], 2), + ]: + with self.subTest(what): + rc, out, err = self.run_main([snapshot], want) + self.assertEqual((rc, out), (2, "")) + self.assertTrue(err) + + +class PostStart(unittest.TestCase): + """post_start.sh only adds the inference scrape jobs where vLLM serves.""" + + text = (INFERENCE / "post_start.sh").read_text() + + def test_scrape_jobs_need_the_head_metrics_and_a_model(self) -> None: + gate = re.search(r'^if \[\[ (.*) \]\]; then\n exit 0\nfi$', self.text, re.M) + self.assertIsNotNone(gate, "the head/metrics/model gate is gone") + for cond in ('"${NODE_RANK:-}" != "0"', '"${RAY_CLUSTER_METRICS:-1}" == "0"', '-z "${MODEL_REPO:-}"'): + self.assertIn(cond, gate.group(1)) + self.assertLess(gate.start(), self.text.index("job_name: vllm")) + + +if __name__ == "__main__": + unittest.main() From a4f6be4c276f575af0a1cbc9fc6974e38c44e9b3 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 08:23:57 -0500 Subject: [PATCH 16/24] fix(ray-cluster): publish PR builds of the inference variant to the dev repo The inference tag lacked ${REPO_SUFFIX}, so develop/PR builds targeted the public runpod/ray-cluster repo and the push failed with 401. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/docker-bake.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official-templates/ray-cluster/docker-bake.hcl b/official-templates/ray-cluster/docker-bake.hcl index b348f02a..04208c99 100644 --- a/official-templates/ray-cluster/docker-bake.hcl +++ b/official-templates/ray-cluster/docker-bake.hcl @@ -143,6 +143,6 @@ target "ray-cluster-inference" { ray-cluster = "target:ray-cluster-${INFERENCE_BASE.ubuntu_name}-cu${INFERENCE_BASE.cuda_code}-torch${INFERENCE_BASE.torch_code}" } tags = [ - "runpod/ray-cluster:${RELEASE_VERSION}${RELEASE_SUFFIX}-inference-cu${INFERENCE_BASE.cuda_code}-torch${INFERENCE_BASE.torch_code}-${INFERENCE_BASE.ubuntu_name}", + "runpod/ray-cluster${REPO_SUFFIX}:${RELEASE_VERSION}${RELEASE_SUFFIX}-inference-cu${INFERENCE_BASE.cuda_code}-torch${INFERENCE_BASE.torch_code}-${INFERENCE_BASE.ubuntu_name}", ] } From 2df875fb4052632b376579ef4bf19e6e4224316a Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 09:03:54 -0500 Subject: [PATCH 17/24] fix(ray-cluster): strip the base's 8001 relay to vLLM in the inference image The base nginx relays 8001 to localhost:8000, which in the inference variant is vLLM without LiteLLM's key. #248 removes it from the base, but this image builds FROM a published pytorch-cluster that may still carry it. Strip the block here and fail the build if nginx still proxies to 8000, so the merge order of the two PRs doesn't matter. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- official-templates/ray-cluster/inference/Dockerfile | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index e38b78b6..d2ef94fd 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -61,7 +61,7 @@ Configuration, all environment variables: | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | | `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` (or `--api_key`) is refused (LiteLLM can't send it). | -The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod (once the base no longer carries its unused 8001 → `localhost:8000` nginx relay, #248). LiteLLM runs with only a master key and no database: +The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod: the image strips the base's unused 8001 → `localhost:8000` nginx relay, and the build fails if nginx still proxies to 8000. LiteLLM runs with only a master key and no database: - the master key is `LITELLM_MASTER_KEY`, else the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too. Any string works (no `sk-` prefix needed), except a publicly known default such as `sk-1234`, which LiteLLM refuses to start with; - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index 241c56df..da30ade7 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -55,6 +55,16 @@ COPY --chmod=755 post_start.sh /post_start.sh COPY config/provisioning/dashboards/inference.yml /etc/grafana/provisioning/dashboards/inference.yml COPY config/dashboards/ /opt/runpod/inference/grafana-dashboards/ +# The base nginx relays 8001 to localhost:8000 (an unused "vscode server" +# block), which here would be vLLM without LiteLLM's key. #248 removes it from +# the base, but this image builds FROM a published pytorch-cluster that may +# still carry it, so strip it here (a no-op once it's gone) and fail the build +# if anything in nginx still proxies to 8000. +RUN perl -0pi -e 's/(?:^ #[^\n]*\n)?^ server \{\n(?:(?!^ \}\n).)*?proxy_pass http:\/\/(?:localhost|127\.0\.0\.1):8000;(?:(?!^ \}\n).)*^ \}\n\n?//gms' /etc/nginx/nginx.conf && \ + nginx -t && \ + conf=$(nginx -T 2> /dev/null) && \ + { ! grep -Eq 'proxy_pass +https?://[^;]*:8000\b' <<< "$conf" || { echo "nginx still proxies to vLLM's port 8000"; exit 1; }; } + # 4000 the OpenAI-compatible API on the head: LiteLLM, in front of vLLM. # Every route except LiteLLM's health checks needs LITELLM_MASTER_KEY # (else JUPYTER_PASSWORD). Map this one in the Runpod template. vLLM From 308688b94e2be6ed3894105ac19e4f91def514e6 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 09:03:54 -0500 Subject: [PATCH 18/24] fix(ray-cluster): download the inference model on the head before vLLM The base puts HF_HOME on /workspace, so the weights land on the volume, not the container disk as the README said, and with one network volume shared by every node all vLLM workers downloaded the same repo into the same cache at once (huggingface_hub's file locks don't hold across hosts). The head now downloads the model first, in the background vLLM job so SSH and Jupyter come up meanwhile; workers then find a complete cache. Only what vLLM loads is fetched: the first weight format present, the index's safetensors when there is one, never original/. --revision and --download-dir in VLLM_EXTRA_ARGS apply to it, and a local directory is served as is. The README now sizes the volume, not the container disk. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 4 +- .../ray-cluster/inference/Dockerfile | 2 +- .../ray-cluster/inference/download_model.py | 69 +++++++++++ .../ray-cluster/inference/start.sh | 28 ++++- tests/unit/test_ray_inference_start.py | 112 +++++++++++++++++- 5 files changed, 203 insertions(+), 12 deletions(-) create mode 100644 official-templates/ray-cluster/inference/download_model.py diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index d2ef94fd..2d0dcf48 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -67,7 +67,9 @@ The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; - the admin UI is disabled (`DISABLE_ADMIN_UI`; it needs the database), and LiteLLM uses its bundled model price map instead of fetching one. -vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. Each node downloads its own copy of the weights into the Hugging Face cache on its container disk. +vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. + +The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up: only the weight format vLLM loads (the first of safetensors, bin and pt the repo has), never `original/`. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision` or `--download-dir` in `VLLM_EXTRA_ARGS` applies to this download too, and a `MODEL_REPO` that is a local directory is served without one. On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO` leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. diff --git a/official-templates/ray-cluster/inference/Dockerfile b/official-templates/ray-cluster/inference/Dockerfile index da30ade7..1b56b351 100644 --- a/official-templates/ray-cluster/inference/Dockerfile +++ b/official-templates/ray-cluster/inference/Dockerfile @@ -33,7 +33,7 @@ RUN torch_before=$(python -c 'import torch; print(torch.__version__)') && \ { [[ "$torch_after" == "$torch_before" ]] || { echo "vLLM replaced torch $torch_before with $torch_after"; exit 1; }; } && \ { [[ "$ray_after" == "$RAY_CLUSTER_RAY_VERSION" ]] || { echo "vLLM replaced Ray $RAY_CLUSTER_RAY_VERSION with $ray_after"; exit 1; }; } -COPY --chmod=644 wait_for_nodes.py /opt/runpod/inference/ +COPY --chmod=644 wait_for_nodes.py download_model.py /opt/runpod/inference/ COPY --chmod=755 start.sh /opt/runpod/inference/start # LiteLLM's proxy, the API on 4000 (LiteLLM's default) in front of vLLM (which listens on diff --git a/official-templates/ray-cluster/inference/download_model.py b/official-templates/ray-cluster/inference/download_model.py new file mode 100644 index 00000000..2b76c257 --- /dev/null +++ b/official-templates/ray-cluster/inference/download_model.py @@ -0,0 +1,69 @@ +"""Download MODEL_REPO into the Hugging Face cache before vLLM starts. + +Run on the head by /opt/runpod/inference/start, in the background job that +then runs `vllm serve`. The base sets HF_HOME on /workspace, so when every +node mounts one network volume there, all of vLLM's workers would otherwise +download the same repo into the same cache at once, and huggingface_hub's +file locks don't hold across hosts. Downloaded here first, the workers find a +complete cache; without a shared volume, each worker still downloads its own. + +Only what vLLM's default loader reads: the repo's files, minus the weight +formats it skips. It loads the first of safetensors, bin and pt the repo has, +only the safetensors model.safetensors.index.json lists when there is one, +and never original/: repos such as Mistral's and Llama's carry a second, +consolidated copy of the weights. + +Usage: download_model.py +""" + +import fnmatch +import json +import sys + +from huggingface_hub import hf_hub_download, list_repo_files, snapshot_download + +# vLLM's preference order for --load-format auto. +WEIGHT_FORMATS = ["*.safetensors", "*.bin", "*.pt"] +SAFETENSORS_INDEX = "model.safetensors.index.json" +# Never read by vLLM: other frameworks' weights and the consolidated copy. +NEVER_LOADED = ["original/*", "*.pth", "*.h5", "*.msgpack", "*.ot", + "*.tflite", "onnx/*", "*.gguf"] + + +def log(msg: str) -> None: + print(f"[ray-inference] {msg}", file=sys.stderr, flush=True) + + +def ignore_patterns(files: list[str], indexed: set[str] | None = None) -> list[str]: + """Patterns for the files vLLM won't read: every weight format but the + first one present, safetensors outside `indexed` (the index's files, if + the repo has one), and NEVER_LOADED.""" + loaded = [f for f in files if not fnmatch.fnmatch(f, "original/*")] + chosen = next((p for p in WEIGHT_FORMATS if fnmatch.filter(loaded, p)), None) + unindexed = [] + if chosen == "*.safetensors" and indexed: + unindexed = [f for f in fnmatch.filter(loaded, chosen) if f not in indexed] + return [p for p in WEIGHT_FORMATS if p != chosen] + unindexed + NEVER_LOADED + + +def indexed_files(repo: str, revision: str | None, cache_dir: str | None) -> set[str]: + path = hf_hub_download(repo, SAFETENSORS_INDEX, revision=revision, cache_dir=cache_dir) + with open(path) as f: + return set(json.load(f)["weight_map"].values()) + + +def main() -> int: + repo, revision, cache_dir = sys.argv[1], sys.argv[2] or None, sys.argv[3] or None + try: + files = list_repo_files(repo, revision=revision) + indexed = indexed_files(repo, revision, cache_dir) if SAFETENSORS_INDEX in files else None + snapshot_download(repo, revision=revision, cache_dir=cache_dir, + ignore_patterns=ignore_patterns(files, indexed)) + except Exception as e: # noqa: BLE001 - any failure is reported, then vLLM is skipped + log(f"{type(e).__name__}: {e}") + return 1 + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 4ba9b561..8ab8284c 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -3,9 +3,10 @@ # entrypoint (/opt/runpod/ray/entrypoint) has started Ray. # # - Worker: nothing beyond Ray; vLLM runs from the head. -# - Head: wait until NUM_NODES nodes have joined Ray, then `vllm serve -# $MODEL_REPO` across the whole cluster: tensor parallelism is the GPUs per -# node, pipeline parallelism the node count. vLLM listens on +# - Head: wait until NUM_NODES nodes have joined Ray, download the model, +# then `vllm serve $MODEL_REPO` across the whole cluster: tensor +# parallelism is the GPUs per node, pipeline parallelism the node count. +# vLLM listens on # 127.0.0.1:8000 only; the API on 4000 (LiteLLM's default) is LiteLLM's # proxy in front of it, # which checks the key. @@ -103,14 +104,21 @@ if ! wait $!; then log "error: VLLM_EXTRA_ARGS can't be split into arguments (see above), so vLLM was not started" services fi -for arg in "${extra_args[@]}"; do +# The download before vLLM fetches the revision and into the directory vLLM +# will read; the last one given wins, as in vLLM. +revision='' download_dir='' +for ((i = 0; i < ${#extra_args[@]}; i++)); do + arg=${extra_args[i]} # vLLM takes --api_key as --api-key. opt=${arg%%=*} + [[ "$arg" == *=* ]] && value=${arg#*=} || value=${extra_args[i + 1]:-} case "${opt//_/-}" in --api-key) log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM would print it to the pod logs at startup. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." services ;; + --revision) revision=$value ;; + --download-dir) download_dir=$value ;; *) ;; esac done @@ -151,8 +159,18 @@ parallel_args+=(--tensor-parallel-size "$gpus") # listen address is last, so vLLM stays reachable only from this pod. cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" --host 127.0.0.1 --port "$VLLM_PORT") -log "starting vLLM on 127.0.0.1:$VLLM_PORT: ${cmd[*]}" +# The head downloads the model first (download_model.py says why), in this +# background job so SSH and Jupyter come up meanwhile. A local directory is +# served as is. ( + if [[ ! -d "$MODEL_REPO" ]]; then + log "downloading $MODEL_REPO into ${download_dir:-the Hugging Face cache (${HF_HOME:-~/.cache/huggingface})} before starting vLLM" + if ! env -u LITELLM_MASTER_KEY python3 "$INFERENCE_DIR/download_model.py" "$MODEL_REPO" "$revision" "$download_dir"; then + log "error: could not download $MODEL_REPO (see above), so vLLM was not started. Check MODEL_REPO, HF_TOKEN for a gated or private model, and the free space there, then restart the pod." + exit 1 + fi + fi + log "starting vLLM on 127.0.0.1:$VLLM_PORT: ${cmd[*]}" env -u LITELLM_MASTER_KEY "${cmd[@]}" log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." ) & diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index 3a049d6c..6aa171b6 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -1,16 +1,18 @@ """The ray-cluster inference variant's start script and node wait. start.sh runs whole, with fakes on PATH for nvidia-smi, vllm, curl and -LiteLLM, and a fake wait_for_nodes.py; the test records what each was run -with. Its fixed paths (/opt/runpod/inference, /etc/litellm, LiteLLM's binary) +LiteLLM, and fake wait_for_nodes.py and download_model.py; the test records +what each was run with. Its fixed paths (/opt/runpod/inference, /etc/litellm, LiteLLM's binary) point into a sandbox, and `exec /start.sh` becomes "wait for the background jobs, then stop", so every path ends where the pod would hand off to /start.sh. Every refusal is checked to start nothing; every acceptance, for the exact vllm command line and LiteLLM's key. -wait_for_nodes.py runs against a fake `ray` module. +wait_for_nodes.py runs against a fake `ray` module, and download_model.py's +choice of files against fake repo listings. """ +import fnmatch import importlib.util import io import json @@ -30,6 +32,7 @@ INFERENCE = REPO_ROOT / "official-templates/ray-cluster/inference" SCRIPT = INFERENCE / "start.sh" WAIT_FOR_NODES = INFERENCE / "wait_for_nodes.py" +DOWNLOAD_MODEL = INFERENCE / "download_model.py" KEY = "pod-secret-value-1234" MODEL = "Qwen/Qwen3-0.6B" HANDOFF = "[test] handed off to /start.sh" @@ -39,6 +42,7 @@ FAKE_VLLM = r"""#!/bin/bash printf '%s\0' "$@" > "$WORK/vllm.args" env > "$WORK/vllm.env" +[[ -e "$WORK/download.args" ]] && : > "$WORK/vllm.after_download" [[ -n "${FAKE_VLLM_FAIL:-}" ]] && exit 1 sleep 1 """ @@ -61,6 +65,12 @@ print(os.environ.get("FAKE_NODE_GPUS", "8")) sys.exit(int(os.environ.get("FAKE_WAIT_RC", "0"))) """ +FAKE_DOWNLOAD_MODEL = r"""import os, sys +open(os.path.join(os.environ["WORK"], "download.args"), "w").write("".join(a + "\0" for a in sys.argv[1:])) +open(os.path.join(os.environ["WORK"], "download.env"), "w").write("".join(f"{k}={v}\n" for k, v in os.environ.items())) +if os.environ.get("FAKE_DOWNLOAD_FAIL"): + sys.exit("[ray-inference] RepositoryNotFoundError: 404") +""" def sandboxed_script(work: Path) -> str: @@ -92,6 +102,7 @@ def setUp(self) -> None: path.write_text(body) path.chmod(0o755) (self.work / "inference/wait_for_nodes.py").write_text(FAKE_WAIT_FOR_NODES) + (self.work / "inference/download_model.py").write_text(FAKE_DOWNLOAD_MODEL) (self.work / "start.sh").write_text(sandboxed_script(self.work)) def run_start(self, env: dict) -> str: @@ -117,7 +128,7 @@ def recorded_env(self, name: str) -> dict[str, str]: def test_refusals_start_nothing(self) -> None: """, , . Each still hands off to /start.sh, so the pod stays up, and runs neither vLLM nor - LiteLLM.""" + LiteLLM, and downloads nothing.""" serving = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"} rows = [ ("worker node", {**serving, "NODE_RANK": "1"}, "worker node: Ray only"), @@ -155,10 +166,11 @@ def test_refusals_start_nothing(self) -> None: ] for what, env, want in rows: with self.subTest(what): - for name in ("vllm.args", "litellm.args"): + for name in ("vllm.args", "litellm.args", "download.args"): (self.work / name).unlink(missing_ok=True) out = self.run_start(env) self.assertIn(want, out) + self.assertIsNone(self.recorded("download.args"), "the model was downloaded") self.assertIsNone(self.recorded("vllm.args"), "vLLM was started") self.assertIsNone(self.recorded("litellm.args"), "LiteLLM was started") self.assertNotIn(KEY, out, "the key reached the log") @@ -275,6 +287,45 @@ def test_litellm_config(self) -> None: self.assertEqual(args[args.index("--port") + 1], "4000") self.assertEqual(args[args.index("--config") + 1], str(self.work / "litellm/config.json")) + def test_download_before_vllm(self) -> None: + """, , . Always before vLLM, and without the API key.""" + base = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"} + rows = [ + ("defaults", "", ["", ""]), + ("--revision", "--revision abc123", ["abc123", ""]), + ("--revision=", "--revision=abc123", ["abc123", ""]), + ("--download-dir", "--download-dir /workspace/models", ["", "/workspace/models"]), + ("--download_dir=, vLLM's underscore spelling", "--download_dir=/m", ["", "/m"]), + ("the last one wins, as in vLLM", "--revision a --enforce-eager --revision=b", ["b", ""]), + ("a trailing --revision with no value", "--revision", ["", ""]), + ] + for what, extra, want in rows: + with self.subTest(what): + for name in ("download.args", "vllm.after_download"): + (self.work / name).unlink(missing_ok=True) + out = self.run_start({**base, "VLLM_EXTRA_ARGS": extra}) + self.assertEqual(self.recorded("download.args"), [MODEL, *want]) + self.assertTrue((self.work / "vllm.after_download").exists(), "vLLM started first") + self.assertNotIn("LITELLM_MASTER_KEY", self.recorded_env("download.env")) + self.assertIn(f"downloading {MODEL}", out) + + def test_local_directory_is_not_downloaded(self) -> None: + model = str(self.work / "models/local") + Path(model).mkdir(parents=True) + self.run_start({"MODEL_REPO": model, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"}) + self.assertIsNone(self.recorded("download.args")) + self.assertEqual(self.recorded("vllm.args")[:2], ["serve", model]) + + def test_failed_download_starts_nothing(self) -> None: + out = self.run_start({"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1", + "FAKE_DOWNLOAD_FAIL": "1", "FAKE_CURL_FAIL": "1"}) + self.assertIn("RepositoryNotFoundError", out) + self.assertIn(f"could not download {MODEL}", out) + self.assertIn("vLLM exited before it was ready, so LiteLLM was not started", out) + self.assertIsNone(self.recorded("vllm.args")) + self.assertIsNone(self.recorded("litellm.args")) + def test_vllm_exiting_before_ready_skips_litellm(self) -> None: out = self.run_start({"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1", "FAKE_VLLM_FAIL": "1", "FAKE_CURL_FAIL": "1"}) @@ -356,6 +407,57 @@ def test_shape_error_exits_2_and_prints_nothing(self) -> None: self.assertTrue(err) +def load_download_model() -> types.ModuleType: + """download_model.py with a fake huggingface_hub (it runs in the image).""" + hub = types.ModuleType("huggingface_hub") + hub.hf_hub_download = hub.list_repo_files = hub.snapshot_download = None + with mock.patch.dict(sys.modules, {"huggingface_hub": hub}): + spec = importlib.util.spec_from_file_location("download_model", DOWNLOAD_MODEL) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + + +class DownloadModel(unittest.TestCase): + def test_only_the_weight_format_vllm_loads(self) -> None: + """, , , .""" + module = load_download_model() + common = ["config.json", "tokenizer.json", "README.md"] + rows = [ + ("safetensors over bin and pt", + ["model.safetensors", "pytorch_model.bin", "model.pt", "tf_model.h5", "flax_model.msgpack", + "rust_model.ot", "onnx/model.onnx", "model.tflite", "model-q4.gguf"], + None, ["model.safetensors"]), + ("sharded safetensors with an index", + ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", + "model.safetensors.index.json", "pytorch_model-00001-of-00002.bin"], + {"model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors"}, + ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", + "model.safetensors.index.json"]), + ("a consolidated copy beside the indexed shards (Mistral's repos)", + ["consolidated.safetensors", "model-00001-of-00002.safetensors", + "model-00002-of-00002.safetensors", "model.safetensors.index.json", "params.json"], + {"model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors"}, + ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", + "model.safetensors.index.json", "params.json"]), + ("bin when there is no safetensors", ["pytorch_model.bin", "model.pt"], None, + ["pytorch_model.bin"]), + ("pt last", ["model.pt", "tf_model.h5"], None, ["model.pt"]), + ("original/ is never read, nor counts as present", + ["original/consolidated.safetensors", "original/params.json", "consolidated.00.pth", + "pytorch_model.bin"], + None, ["pytorch_model.bin"]), + ("no weights at all", [], None, []), + ] + for what, weights, indexed, want in rows: + with self.subTest(what): + files = common + weights + ignore = module.ignore_patterns(files, indexed) + kept = [f for f in files if not any(fnmatch.fnmatch(f, p) for p in ignore)] + self.assertEqual(kept, common + want) + + class PostStart(unittest.TestCase): """post_start.sh only adds the inference scrape jobs where vLLM serves.""" From 4e24a8886af0445ab656af7035e9c1a0ee6c1b94 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 10:38:01 -0500 Subject: [PATCH 19/24] fix(ray-cluster): don't hold /start.sh for the nodes; download what vLLM reads The head ran wait_for_nodes.py in the foreground, so SSH, Jupyter and monitoring stayed down until every worker joined, forever if one never did. The wait now runs in the background job, after the download, so workers join while the model downloads. The pre-download now picks exactly the weight files vLLM 0.32.0 downloads. Under --load-format auto, vLLM serves a repo with a consolidated*.safetensors (Mistral's) in Mistral's format, so the shards it fetched were never read and every node still downloaded the consolidated copy at once. --load-format is passed on, and formats served by other loaders (gguf, ...) leave the weights to vLLM. When the Hub can't be reached, a snapshot already in the cache is served instead of refusing to start vLLM. The harness unit tests now also run when download_model.py changes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/harness-tests.yml | 2 + official-templates/ray-cluster/README.md | 6 +- .../ray-cluster/inference/download_model.py | 104 ++++++--- .../ray-cluster/inference/start.sh | 69 +++--- tests/unit/test_ray_inference_start.py | 198 +++++++++++++----- 5 files changed, 259 insertions(+), 120 deletions(-) diff --git a/.github/workflows/harness-tests.yml b/.github/workflows/harness-tests.yml index a06067b5..00064c1f 100644 --- a/.github/workflows/harness-tests.yml +++ b/.github/workflows/harness-tests.yml @@ -17,6 +17,7 @@ on: - 'official-templates/comfyui/scripts/start.sh' - 'official-templates/ray-cluster/inference/start.sh' - 'official-templates/ray-cluster/inference/wait_for_nodes.py' + - 'official-templates/ray-cluster/inference/download_model.py' - 'official-templates/ray-cluster/inference/post_start.sh' # test_grafana_auth_proxy runs the real proxy. - 'official-templates/pytorch-cluster/config/grafana-proxy/auth_proxy.py' @@ -37,6 +38,7 @@ on: - 'official-templates/comfyui/scripts/start.sh' - 'official-templates/ray-cluster/inference/start.sh' - 'official-templates/ray-cluster/inference/wait_for_nodes.py' + - 'official-templates/ray-cluster/inference/download_model.py' - 'official-templates/ray-cluster/inference/post_start.sh' # test_grafana_auth_proxy runs the real proxy. - 'official-templates/pytorch-cluster/config/grafana-proxy/auth_proxy.py' diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 2d0dcf48..093ab410 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -48,7 +48,7 @@ It also logs a warning if the installed Ray differs from the version the image w `runpod/ray-cluster:-inference-cu1300-torch2130-ubuntu2404` (`inference/`) is this image plus vLLM 0.32.0 behind LiteLLM's proxy, serving one Hugging Face model across the whole cluster with no image build. It keeps the entrypoint and contract v1 unchanged; only the CMD differs (`/opt/runpod/inference/start`): - **Worker:** joins Ray and runs nothing else. -- **Head:** waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on `127.0.0.1:8000` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count (every node needs the same GPU count), and LiteLLM's proxy on **4000** (LiteLLM's default) in front of it. +- **Head:** downloads the model, waits, with no deadline, until `NUM_NODES` nodes have joined Ray, then runs `vllm serve $MODEL_REPO` on `127.0.0.1:8000` with the Ray executor, tensor parallelism set to the GPUs per node and pipeline parallelism set to the node count (every node needs the same GPU count), and LiteLLM's proxy on **4000** (LiteLLM's default) in front of it. - **No `NODE_RANK`** (a plain pod): the same on that pod's GPUs, without Ray. Configuration, all environment variables: @@ -67,9 +67,9 @@ The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; - the admin UI is disabled (`DISABLE_ADMIN_UI`; it needs the database), and LiteLLM uses its bundled model price map instead of fetching one. -vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image, and the pod stays up if either exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. +The download, the wait for the nodes, vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image while workers are still joining, and the pod stays up if any of them fails or exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. -The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up: only the weight format vLLM loads (the first of safetensors, bin and pt the repo has), never `original/`. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision` or `--download-dir` in `VLLM_EXTRA_ARGS` applies to this download too, and a `MODEL_REPO` that is a local directory is served without one. +The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up and the workers join: exactly the weight files vLLM 0.32.0 would download (for a repo with a `consolidated*.safetensors`, such as Mistral's, that is the consolidated copy, which vLLM's default load format serves), plus the top-level config and tokenizer files. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision`, `--download-dir` or `--load-format` in `VLLM_EXTRA_ARGS` applies to this download too (a load format vLLM serves with another loader, such as `gguf`, leaves the weights to vLLM), and a `MODEL_REPO` that is a local directory is served without one. If the Hub can't be reached (`HF_HUB_OFFLINE=1`, an outage, no egress), a model already in the cache is served as is; with nothing cached, the head logs why and starts neither vLLM nor LiteLLM. On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO` leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. diff --git a/official-templates/ray-cluster/inference/download_model.py b/official-templates/ray-cluster/inference/download_model.py index 2b76c257..6e782c41 100644 --- a/official-templates/ray-cluster/inference/download_model.py +++ b/official-templates/ray-cluster/inference/download_model.py @@ -7,61 +7,103 @@ file locks don't hold across hosts. Downloaded here first, the workers find a complete cache; without a shared volume, each worker still downloads its own. -Only what vLLM's default loader reads: the repo's files, minus the weight -formats it skips. It loads the first of safetensors, bin and pt the repo has, -only the safetensors model.safetensors.index.json lists when there is one, -and never original/: repos such as Mistral's and Llama's carry a second, -consolidated copy of the weights. +The weights are exactly the files vLLM 0.32.0's default loader downloads +(DefaultModelLoader._prepare_weights and download_weights_from_hf), so no +worker finds one missing and none is fetched that it won't read; re-check +weight_patterns on a vLLM bump. Load formats served by other loaders (gguf, +bitsandbytes, ...) are left to vLLM. Beside them, the repo's top-level +config and tokenizer files. -Usage: download_model.py +When the Hub can't be reached (HF_HUB_OFFLINE, an outage, no egress), a +snapshot already in the cache is served as is, as vLLM itself would. + +Usage: download_model.py """ import fnmatch +import glob import json +import posixpath import sys from huggingface_hub import hf_hub_download, list_repo_files, snapshot_download -# vLLM's preference order for --load-format auto. -WEIGHT_FORMATS = ["*.safetensors", "*.bin", "*.pt"] SAFETENSORS_INDEX = "model.safetensors.index.json" -# Never read by vLLM: other frameworks' weights and the consolidated copy. -NEVER_LOADED = ["original/*", "*.pth", "*.h5", "*.msgpack", "*.ot", - "*.tflite", "onnx/*", "*.gguf"] +# vLLM's LoadConfig.ignore_patterns default (Llama's original/ checkpoints). +IGNORE = ["original/**/*"] +# Top-level files that are weights in some format, not config or tokenizer. +WEIGHT_SUFFIXES = (".safetensors", ".bin", ".pt", ".pth", ".h5", ".msgpack", ".ot", + ".tflite", ".onnx", ".onnx_data", ".gguf", ".ckpt", ".npz") def log(msg: str) -> None: print(f"[ray-inference] {msg}", file=sys.stderr, flush=True) -def ignore_patterns(files: list[str], indexed: set[str] | None = None) -> list[str]: - """Patterns for the files vLLM won't read: every weight format but the - first one present, safetensors outside `indexed` (the index's files, if - the repo has one), and NEVER_LOADED.""" - loaded = [f for f in files if not fnmatch.fnmatch(f, "original/*")] - chosen = next((p for p in WEIGHT_FORMATS if fnmatch.filter(loaded, p)), None) - unindexed = [] - if chosen == "*.safetensors" and indexed: - unindexed = [f for f in fnmatch.filter(loaded, chosen) if f not in indexed] - return [p for p in WEIGHT_FORMATS if p != chosen] + unindexed + NEVER_LOADED - - -def indexed_files(repo: str, revision: str | None, cache_dir: str | None) -> set[str]: +def weight_patterns(files: list[str], load_format: str, + indexed: list[str] | None) -> list[str] | None: + """The allow_patterns of vLLM's weight download, or None for a load + format another loader handles. `files` is the repo listing, `indexed` the + files model.safetensors.index.json maps, if the repo has one.""" + if load_format == "auto": + # vLLM serves a repo with a consolidated copy in Mistral's format. + mistral = any(fnmatch.fnmatch(posixpath.basename(f), "consolidated*.safetensors") + for f in files) + load_format = "mistral" if mistral else "hf" + patterns = { + # fall_back_to_pt adds *.pt to every format but the safetensors ones. + "hf": ["*.safetensors", "*.bin", "*.pt"], + "safetensors": ["*.safetensors"], + "fastsafetensors": ["*.safetensors"], + "instanttensor": ["*.safetensors"], + "mistral": ["consolidated*.safetensors"], + "pt": ["*.pt"], + "npcache": ["*.bin", "*.pt"], + }.get(load_format) + if patterns is None: + return None + # download_weights_from_hf narrows them by the repo's top level: the + # index's files, else the first pattern that matches. + top = [f for f in files if "/" not in f] + if "*.safetensors" in patterns and indexed: + return [glob.escape(f) for f in sorted(set(indexed))] + return next(([p] for p in patterns if fnmatch.filter(top, p)), None) + + +def config_files(files: list[str]) -> list[str]: + """Top-level files that aren't weights: config, tokenizer, chat template.""" + return [glob.escape(f) for f in files if "/" not in f and not f.endswith(WEIGHT_SUFFIXES)] + + +def indexed_files(repo: str, revision: str | None, cache_dir: str | None) -> list[str]: path = hf_hub_download(repo, SAFETENSORS_INDEX, revision=revision, cache_dir=cache_dir) with open(path) as f: - return set(json.load(f)["weight_map"].values()) + return list(json.load(f)["weight_map"].values()) + + +def download(repo: str, revision: str | None, cache_dir: str | None, load_format: str) -> None: + files = list_repo_files(repo, revision=revision) + indexed = indexed_files(repo, revision, cache_dir) if SAFETENSORS_INDEX in files else None + weights = weight_patterns(files, load_format, indexed) + if weights is None: + log(f"no weights to download ahead for --load-format {load_format}; vLLM downloads them") + weights = [] + snapshot_download(repo, revision=revision, cache_dir=cache_dir, + allow_patterns=weights + config_files(files), ignore_patterns=IGNORE) def main() -> int: repo, revision, cache_dir = sys.argv[1], sys.argv[2] or None, sys.argv[3] or None + load_format = sys.argv[4].lower() try: - files = list_repo_files(repo, revision=revision) - indexed = indexed_files(repo, revision, cache_dir) if SAFETENSORS_INDEX in files else None - snapshot_download(repo, revision=revision, cache_dir=cache_dir, - ignore_patterns=ignore_patterns(files, indexed)) + download(repo, revision, cache_dir, load_format) except Exception as e: # noqa: BLE001 - any failure is reported, then vLLM is skipped - log(f"{type(e).__name__}: {e}") - return 1 + try: + snapshot_download(repo, revision=revision, cache_dir=cache_dir, local_files_only=True) + except Exception: # noqa: BLE001 - no cached snapshot either + log(f"{type(e).__name__}: {e}") + return 1 + log(f"{type(e).__name__}: {e}; serving the snapshot already in the cache") return 0 diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 8ab8284c..68c37dd7 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -3,18 +3,17 @@ # entrypoint (/opt/runpod/ray/entrypoint) has started Ray. # # - Worker: nothing beyond Ray; vLLM runs from the head. -# - Head: wait until NUM_NODES nodes have joined Ray, download the model, +# - Head: download the model, wait until NUM_NODES nodes have joined Ray, # then `vllm serve $MODEL_REPO` across the whole cluster: tensor # parallelism is the GPUs per node, pipeline parallelism the node count. -# vLLM listens on -# 127.0.0.1:8000 only; the API on 4000 (LiteLLM's default) is LiteLLM's -# proxy in front of it, -# which checks the key. +# vLLM listens on 127.0.0.1:8000 only; the API on 4000 (LiteLLM's +# default) is LiteLLM's proxy in front of it, which checks the key. # - No NODE_RANK (a plain pod): the same on this pod's GPUs, without Ray. # # Every path ends in /start.sh (SSH, Jupyter on the head, the dashboard front -# door, monitoring), and vLLM and LiteLLM run beside it, so the pod stays up -# for interactive use when they are not started or exit. +# door, monitoring), and the download, the wait for the nodes, vLLM and +# LiteLLM run beside it, so the pod is up for interactive use meanwhile and +# stays up when they are not started or exit. # # Never `set -x` here: the API key is in the environment. set -uo pipefail @@ -86,7 +85,7 @@ fi unset VLLM_API_KEY # --- vLLM arguments ----------------------------------------------------------- # -# Checked before the wait for the cluster, so a bad setting is reported at once. +# Checked before anything starts, so a bad setting is reported at once. model_args=() [[ -n "${MAX_MODEL_LENGTH:-}" ]] && model_args+=(--max-model-len "$MAX_MODEL_LENGTH") @@ -104,9 +103,9 @@ if ! wait $!; then log "error: VLLM_EXTRA_ARGS can't be split into arguments (see above), so vLLM was not started" services fi -# The download before vLLM fetches the revision and into the directory vLLM -# will read; the last one given wins, as in vLLM. -revision='' download_dir='' +# The download before vLLM fetches the revision, into the directory and in +# the load format vLLM will read; the last one given wins, as in vLLM. +revision='' download_dir='' load_format=auto for ((i = 0; i < ${#extra_args[@]}; i++)); do arg=${extra_args[i]} # vLLM takes --api_key as --api-key. @@ -119,11 +118,14 @@ for ((i = 0; i < ${#extra_args[@]}; i++)); do ;; --revision) revision=$value ;; --download-dir) download_dir=$value ;; + --load-format) load_format=$value ;; *) ;; esac done # --- Shape -------------------------------------------------------------------- # +# On a cluster, the GPUs per node are known once every node has joined Ray, +# which the background job below waits for. parallel_args=() if [[ -n "${NODE_RANK:-}" ]]; then nodes=${NUM_NODES:-1} @@ -132,18 +134,6 @@ if [[ -n "${NODE_RANK:-}" ]]; then services fi nodes=$((10#$nodes)) - gpus=$(python3 "$INFERENCE_DIR/wait_for_nodes.py" "$nodes") - case $? in - 0) ;; - 2) - log "error: the cluster can't be split into $nodes pipeline stages, so vLLM was not started" - services - ;; - *) - log "error: could not read the cluster's nodes from Ray (see above and /tmp/ray/session_latest/logs), so vLLM was not started" - services - ;; - esac parallel_args=(--distributed-executor-backend ray --pipeline-parallel-size "$nodes") else gpus=$(nvidia-smi -L 2> /dev/null | grep -c '^GPU ') || gpus=0 @@ -152,24 +142,39 @@ else services fi fi -parallel_args+=(--tensor-parallel-size "$gpus") # --- vLLM --------------------------------------------------------------------- # -# VLLM_EXTRA_ARGS follows the derived settings so it can override them; the -# listen address is last, so vLLM stays reachable only from this pod. -cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" "${model_args[@]}" "${extra_args[@]}" - --host 127.0.0.1 --port "$VLLM_PORT") -# The head downloads the model first (download_model.py says why), in this -# background job so SSH and Jupyter come up meanwhile. A local directory is -# served as is. +# In the background, so SSH and Jupyter come up meanwhile: download the model +# (download_model.py says why the head does it first; a local directory is +# served as is), wait for the nodes, which join during the download, then +# serve. A refusal here ends the job: /start.sh is already running. ( if [[ ! -d "$MODEL_REPO" ]]; then log "downloading $MODEL_REPO into ${download_dir:-the Hugging Face cache (${HF_HOME:-~/.cache/huggingface})} before starting vLLM" - if ! env -u LITELLM_MASTER_KEY python3 "$INFERENCE_DIR/download_model.py" "$MODEL_REPO" "$revision" "$download_dir"; then + if ! env -u LITELLM_MASTER_KEY python3 "$INFERENCE_DIR/download_model.py" \ + "$MODEL_REPO" "$revision" "$download_dir" "$load_format"; then log "error: could not download $MODEL_REPO (see above), so vLLM was not started. Check MODEL_REPO, HF_TOKEN for a gated or private model, and the free space there, then restart the pod." exit 1 fi fi + if [[ -n "${NODE_RANK:-}" ]]; then + gpus=$(python3 "$INFERENCE_DIR/wait_for_nodes.py" "$nodes") + case $? in + 0) ;; + 2) + log "error: the cluster can't be split into $nodes pipeline stages, so vLLM was not started" + exit 1 + ;; + *) + log "error: could not read the cluster's nodes from Ray (see above and /tmp/ray/session_latest/logs), so vLLM was not started" + exit 1 + ;; + esac + fi + # VLLM_EXTRA_ARGS follows the derived settings so it can override them; + # the listen address is last, so vLLM stays reachable only from this pod. + cmd=(vllm serve "$MODEL_REPO" "${parallel_args[@]}" --tensor-parallel-size "$gpus" + "${model_args[@]}" "${extra_args[@]}" --host 127.0.0.1 --port "$VLLM_PORT") log "starting vLLM on 127.0.0.1:$VLLM_PORT: ${cmd[*]}" env -u LITELLM_MASTER_KEY "${cmd[@]}" log "vLLM exited with status $?; the pod stays up. Restart the pod to serve again." diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index 6aa171b6..cafd3df2 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -3,9 +3,9 @@ start.sh runs whole, with fakes on PATH for nvidia-smi, vllm, curl and LiteLLM, and fake wait_for_nodes.py and download_model.py; the test records what each was run with. Its fixed paths (/opt/runpod/inference, /etc/litellm, LiteLLM's binary) -point into a sandbox, and `exec /start.sh` becomes "wait for the background -jobs, then stop", so every path ends where the pod would hand off to -/start.sh. Every refusal is checked to start nothing; every acceptance, for +point into a sandbox, and `exec /start.sh` becomes "say so, wait for the +background jobs, then stop", so every path ends where the pod would hand off +to /start.sh. Every refusal is checked to start nothing; every acceptance, for the exact vllm command line and LiteLLM's key. wait_for_nodes.py runs against a fake `ray` module, and download_model.py's @@ -36,6 +36,7 @@ KEY = "pod-secret-value-1234" MODEL = "Qwen/Qwen3-0.6B" HANDOFF = "[test] handed off to /start.sh" +SERVICES = "[test] /start.sh started" # Fakes. Each records its arguments NUL-separated, so a quoted argument with # spaces stays one. @@ -60,7 +61,10 @@ [[ -n "${FAKE_GPUS:-}" ]] || exit 9 for ((i = 0; i < FAKE_GPUS; i++)); do echo "GPU $i: NVIDIA H100 (UUID: GPU-$i)"; done """ -FAKE_WAIT_FOR_NODES = r"""import os, sys +# Slow enough that /start.sh, which must not wait for it, starts first. +FAKE_WAIT_FOR_NODES = r"""import os, sys, time +time.sleep(float(os.environ.get("FAKE_WAIT_S", "0"))) +print("[fake] all nodes joined", file=sys.stderr, flush=True) open(os.path.join(os.environ["WORK"], "wait_for_nodes.args"), "w").write(" ".join(sys.argv[1:])) print(os.environ.get("FAKE_NODE_GPUS", "8")) sys.exit(int(os.environ.get("FAKE_WAIT_RC", "0"))) @@ -81,7 +85,8 @@ def sandboxed_script(work: Path) -> str: ("readonly INFERENCE_DIR=/opt/runpod/inference", f"readonly INFERENCE_DIR={work}/inference"), ("readonly LITELLM=/opt/litellm/bin/litellm", f"readonly LITELLM={work}/bin/litellm"), ("readonly LITELLM_DIR=/etc/litellm", f"readonly LITELLM_DIR={work}/litellm"), - ("services() { exec /start.sh; }", f'services() {{ wait; echo "{HANDOFF}"; exit 0; }}'), + ("services() { exec /start.sh; }", + f'services() {{ echo "{SERVICES}"; wait; echo "{HANDOFF}"; exit 0; }}'), ]: if text.count(old) != 1: raise AssertionError(f"{SCRIPT}: no single `{old}` line to sandbox.") @@ -129,7 +134,8 @@ def test_refusals_start_nothing(self) -> None: """, , . Each still hands off to /start.sh, so the pod stays up, and runs neither vLLM nor LiteLLM, and downloads nothing.""" - serving = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"} + serving = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1", + "FAKE_CURL_FAIL": "1"} rows = [ ("worker node", {**serving, "NODE_RANK": "1"}, "worker node: Ray only"), ("no MODEL_REPO", {"LITELLM_MASTER_KEY": KEY}, "MODEL_REPO is not set; skipping vLLM"), @@ -157,13 +163,6 @@ def test_refusals_start_nothing(self) -> None: for count in ("abc", "0", "0000", "-1", "99999", "1.5", "2; id", "$(id)", " 2"): rows.append((f"NUM_NODES={count!r}", {**serving, "NODE_RANK": "0", "NUM_NODES": count}, "is not a node count")) - rows += [ - ("nodes can't be split evenly", {**serving, "NODE_RANK": "0", "NUM_NODES": "2", - "FAKE_WAIT_RC": "2"}, - "can't be split into 2 pipeline stages"), - ("Ray unreachable", {**serving, "NODE_RANK": "0", "NUM_NODES": "2", "FAKE_WAIT_RC": "1"}, - "could not read the cluster's nodes from Ray"), - ] for what, env, want in rows: with self.subTest(what): for name in ("vllm.args", "litellm.args", "download.args"): @@ -175,6 +174,30 @@ def test_refusals_start_nothing(self) -> None: self.assertIsNone(self.recorded("litellm.args"), "LiteLLM was started") self.assertNotIn(KEY, out, "the key reached the log") + def test_cluster_refusals_after_the_download_start_nothing(self) -> None: + """Known only once the nodes have joined, after the download: still + neither vLLM nor LiteLLM.""" + serving = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "NODE_RANK": "0", + "NUM_NODES": "2", "FAKE_CURL_FAIL": "1"} + for what, rc, want in [ + ("nodes can't be split evenly", "2", "can't be split into 2 pipeline stages"), + ("Ray unreachable", "1", "could not read the cluster's nodes from Ray"), + ]: + with self.subTest(what): + for name in ("vllm.args", "litellm.args"): + (self.work / name).unlink(missing_ok=True) + out = self.run_start({**serving, "FAKE_WAIT_RC": rc}) + self.assertIn(want, out) + self.assertIsNone(self.recorded("vllm.args"), "vLLM was started") + self.assertIsNone(self.recorded("litellm.args"), "LiteLLM was started") + + def test_start_sh_does_not_wait_for_the_nodes(self) -> None: + """SSH and Jupyter come up while workers are still joining.""" + out = self.run_start({"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "NODE_RANK": "0", + "NUM_NODES": "2", "FAKE_WAIT_S": "2"}) + self.assertLess(out.index(SERVICES), out.index("[fake] all nodes joined")) + self.assertIsNotNone(self.recorded("vllm.args")) + def test_vllm_command_line(self) -> None: """, , ` and before the fixed --host/--port>.""" @@ -288,17 +311,20 @@ def test_litellm_config(self) -> None: self.assertEqual(args[args.index("--config") + 1], str(self.work / "litellm/config.json")) def test_download_before_vllm(self) -> None: - """, , . Always before vLLM, and without the API key.""" + """, , . Always before vLLM, and without the API + key.""" base = {"MODEL_REPO": MODEL, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"} rows = [ - ("defaults", "", ["", ""]), - ("--revision", "--revision abc123", ["abc123", ""]), - ("--revision=", "--revision=abc123", ["abc123", ""]), - ("--download-dir", "--download-dir /workspace/models", ["", "/workspace/models"]), - ("--download_dir=, vLLM's underscore spelling", "--download_dir=/m", ["", "/m"]), - ("the last one wins, as in vLLM", "--revision a --enforce-eager --revision=b", ["b", ""]), - ("a trailing --revision with no value", "--revision", ["", ""]), + ("defaults", "", ["", "", "auto"]), + ("--revision", "--revision abc123", ["abc123", "", "auto"]), + ("--revision=", "--revision=abc123", ["abc123", "", "auto"]), + ("--download-dir", "--download-dir /workspace/models", ["", "/workspace/models", "auto"]), + ("--download_dir=, vLLM's underscore spelling", "--download_dir=/m", ["", "/m", "auto"]), + ("--load-format", "--load-format mistral --tokenizer-mode mistral", ["", "", "mistral"]), + ("--load_format=", "--load_format=gguf", ["", "", "gguf"]), + ("the last one wins, as in vLLM", "--revision a --enforce-eager --revision=b", ["b", "", "auto"]), + ("a trailing --revision with no value", "--revision", ["", "", "auto"]), ] for what, extra, want in rows: with self.subTest(what): @@ -418,44 +444,108 @@ def load_download_model() -> types.ModuleType: return module +def kept(files: list[str], allow: list[str], ignore: list[str]) -> list[str]: + """What snapshot_download keeps of `files` (huggingface_hub matches with + fnmatch, as here).""" + return [f for f in files + if any(fnmatch.fnmatch(f, p) for p in allow) and not any(fnmatch.fnmatch(f, p) for p in ignore)] + + class DownloadModel(unittest.TestCase): - def test_only_the_weight_format_vllm_loads(self) -> None: - """, , , .""" - module = load_download_model() - common = ["config.json", "tokenizer.json", "README.md"] + module = load_download_model() + + def test_the_weights_vllm_downloads(self) -> None: + """, , , , .""" + config = ["config.json", "tokenizer.json", "README.md"] + shards = ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors"] rows = [ ("safetensors over bin and pt", - ["model.safetensors", "pytorch_model.bin", "model.pt", "tf_model.h5", "flax_model.msgpack", - "rust_model.ot", "onnx/model.onnx", "model.tflite", "model-q4.gguf"], - None, ["model.safetensors"]), - ("sharded safetensors with an index", - ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", - "model.safetensors.index.json", "pytorch_model-00001-of-00002.bin"], - {"model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors"}, - ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", - "model.safetensors.index.json"]), - ("a consolidated copy beside the indexed shards (Mistral's repos)", - ["consolidated.safetensors", "model-00001-of-00002.safetensors", - "model-00002-of-00002.safetensors", "model.safetensors.index.json", "params.json"], - {"model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors"}, - ["model-00001-of-00002.safetensors", "model-00002-of-00002.safetensors", - "model.safetensors.index.json", "params.json"]), - ("bin when there is no safetensors", ["pytorch_model.bin", "model.pt"], None, + ["model.safetensors", "pytorch_model.bin", "model.pt", "tf_model.h5", "onnx/model.onnx"], + "auto", None, ["model.safetensors"]), + ("the index's shards only", [*shards, "model-extra.safetensors", "pytorch_model.bin"], + "auto", shards, shards), + ("bin when there is no safetensors", ["pytorch_model.bin", "model.pt"], "auto", None, ["pytorch_model.bin"]), - ("pt last", ["model.pt", "tf_model.h5"], None, ["model.pt"]), - ("original/ is never read, nor counts as present", - ["original/consolidated.safetensors", "original/params.json", "consolidated.00.pth", - "pytorch_model.bin"], - None, ["pytorch_model.bin"]), - ("no weights at all", [], None, []), + ("pt last", ["model.pt", "tf_model.h5"], "auto", None, ["model.pt"]), + ("a consolidated copy makes auto Mistral's format (Mistral's repos)", + ["consolidated.safetensors", *shards, "params.json"], "auto", shards, + ["consolidated.safetensors"]), + ("--load-format safetensors reads the index instead", + ["consolidated.safetensors", *shards], "safetensors", shards, shards), + ("--load-format mistral", ["consolidated.safetensors", *shards], "mistral", shards, + ["consolidated.safetensors"]), + ("--load-format pt", ["model.safetensors", "model.pt"], "pt", None, ["model.pt"]), + ("original/ is ignored, as vLLM's default --ignore-patterns does", + ["original/sub/model.safetensors", "original/consolidated.00.pth", "model.safetensors"], + "auto", None, ["model.safetensors"]), + ("weights only in subfolders: left to vLLM", ["sub/model.safetensors"], "auto", None, None), + ("no weights at all: left to vLLM", [], "auto", None, None), + ("another loader's format: left to vLLM", ["model.safetensors"], "gguf", None, None), + ("bitsandbytes", ["model.safetensors"], "bitsandbytes", None, None), ] - for what, weights, indexed, want in rows: + for what, weights, load_format, indexed, want in rows: with self.subTest(what): - files = common + weights - ignore = module.ignore_patterns(files, indexed) - kept = [f for f in files if not any(fnmatch.fnmatch(f, p) for p in ignore)] - self.assertEqual(kept, common + want) + files = config + weights + patterns = self.module.weight_patterns(files, load_format, indexed) + if want is None: + self.assertIsNone(patterns) + else: + self.assertEqual(kept(files, patterns, self.module.IGNORE), want) + + def test_config_files(self) -> None: + files = ["config.json", "tokenizer.model", "chat_template.jinja", "merges.txt", + "model.safetensors", "pytorch_model.bin", "consolidated.00.pth", "model.gguf", + "original/params.json", "assets/logo.png", "odd[name].json"] + self.assertEqual(kept(files, self.module.config_files(files), []), + ["config.json", "tokenizer.model", "chat_template.jinja", "merges.txt", + "odd[name].json"]) + + def run_main(self, online: bool, cached: bool, load_format: str = "auto") -> tuple[int, str, list]: + calls = [] + + def list_repo_files(repo, revision=None): + if not online: + raise OSError("Hub unreachable") + return ["config.json", "model.safetensors"] + + def snapshot_download(repo, **kwargs): + calls.append(kwargs) + if kwargs.get("local_files_only") and not cached: + raise FileNotFoundError("not in the cache") + return "/cache/snapshot" + + err = io.StringIO() + with mock.patch.object(self.module, "list_repo_files", list_repo_files), \ + mock.patch.object(self.module, "snapshot_download", snapshot_download), \ + mock.patch.object(sys, "argv", ["download_model.py", MODEL, "", "", load_format]), \ + redirect_stderr(err): + rc = self.module.main() + return rc, err.getvalue(), calls + + def test_online(self) -> None: + rc, _, calls = self.run_main(online=True, cached=False) + self.assertEqual(rc, 0) + (call,) = calls + self.assertEqual(call["allow_patterns"], ["*.safetensors", "config.json"]) + self.assertEqual(call["ignore_patterns"], ["original/**/*"]) + + def test_another_loaders_format_still_gets_the_config(self) -> None: + rc, err, calls = self.run_main(online=True, cached=False, load_format="GGUF") + self.assertEqual((rc, calls[0]["allow_patterns"]), (0, ["config.json"])) + self.assertIn("--load-format gguf; vLLM downloads them", err) + + def test_hub_unreachable_serves_the_cached_snapshot(self) -> None: + """HF_HUB_OFFLINE, an outage or no egress, after an earlier download.""" + rc, err, calls = self.run_main(online=False, cached=True) + self.assertEqual(rc, 0) + self.assertTrue(calls[-1]["local_files_only"]) + self.assertIn("serving the snapshot already in the cache", err) + + def test_hub_unreachable_and_nothing_cached_fails(self) -> None: + rc, err, _ = self.run_main(online=False, cached=False) + self.assertEqual(rc, 1) + self.assertIn("OSError: Hub unreachable", err) class PostStart(unittest.TestCase): From 57d477df489ad0ef8176fe35640546139a2fa52c Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 12:32:29 -0500 Subject: [PATCH 20/24] fix(ray-cluster): serve the cached model only when the Hub is unreachable download_model.py fell back to the cached snapshot on any failure, and snapshot_download(local_files_only=True) accepts one only partly downloaded: the index fetched first creates it. On a full volume (ENOSPC or EDQUOT) the head then logged "serving the snapshot already in the cache" and started vLLM, whose workers downloaded the missing shards at once; a refused HF_TOKEN or a download cut short on an earlier boot did the same. The fallback now covers only an unreachable Hub (offline mode, an httpx2 transport error, or a file not cached because of either), and only a snapshot whose download completed here for the same load format, marked by .runpod-complete. Any other failure stops vLLM with the start script's message about HF_TOKEN and free space. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- .../ray-cluster/inference/download_model.py | 42 +++++++-- tests/unit/test_ray_inference_start.py | 94 ++++++++++++++----- 3 files changed, 107 insertions(+), 31 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 093ab410..ac8096ce 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -69,7 +69,7 @@ The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in The download, the wait for the nodes, vLLM and LiteLLM run beside `/start.sh`, so SSH, Jupyter, the dashboard front door and monitoring come up as on the base image while workers are still joining, and the pod stays up if any of them fails or exits; restart the pod to serve again. LiteLLM starts only once vLLM answers `/health`, so while the model loads (on a multi-node cluster, a minute or more even for a small model) nothing listens on 4000 and the Runpod proxy answers `502`; the head logs `vLLM is ready; starting LiteLLM on 4000` when it can serve. If vLLM exits before it's ready, LiteLLM is not started. -The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up and the workers join: exactly the weight files vLLM 0.32.0 would download (for a repo with a `consolidated*.safetensors`, such as Mistral's, that is the consolidated copy, which vLLM's default load format serves), plus the top-level config and tokenizer files. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision`, `--download-dir` or `--load-format` in `VLLM_EXTRA_ARGS` applies to this download too (a load format vLLM serves with another loader, such as `gguf`, leaves the weights to vLLM), and a `MODEL_REPO` that is a local directory is served without one. If the Hub can't be reached (`HF_HUB_OFFLINE=1`, an outage, no egress), a model already in the cache is served as is; with nothing cached, the head logs why and starts neither vLLM nor LiteLLM. +The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up and the workers join: exactly the weight files vLLM 0.32.0 would download (for a repo with a `consolidated*.safetensors`, such as Mistral's, that is the consolidated copy, which vLLM's default load format serves), plus the top-level config and tokenizer files. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision`, `--download-dir` or `--load-format` in `VLLM_EXTRA_ARGS` applies to this download too (a load format vLLM serves with another loader, such as `gguf`, leaves the weights to vLLM), and a `MODEL_REPO` that is a local directory is served without one. If the Hub can't be reached (`HF_HUB_OFFLINE=1`, an outage, no egress), a model this download completed on an earlier boot, with the same load format, is served from the cache as is; with none (nothing cached, or a download cut short), the head logs why and starts neither vLLM nor LiteLLM, as it does on any other download failure, such as a full volume. On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO` leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. diff --git a/official-templates/ray-cluster/inference/download_model.py b/official-templates/ray-cluster/inference/download_model.py index 6e782c41..4bdf45f7 100644 --- a/official-templates/ray-cluster/inference/download_model.py +++ b/official-templates/ray-cluster/inference/download_model.py @@ -15,7 +15,10 @@ config and tokenizer files. When the Hub can't be reached (HF_HUB_OFFLINE, an outage, no egress), a -snapshot already in the cache is served as is, as vLLM itself would. +snapshot already in the cache is served as is, as vLLM itself would, but only +one an earlier download here completed for the same load format: a download +cut short (a full volume, a restart) leaves a snapshot vLLM would find +missing shards in. Any other failure (no space, a refused HF_TOKEN) is one. Usage: download_model.py """ @@ -23,12 +26,20 @@ import fnmatch import glob import json +import os import posixpath import sys +import httpx2 from huggingface_hub import hf_hub_download, list_repo_files, snapshot_download +from huggingface_hub.errors import LocalEntryNotFoundError, OfflineModeIsEnabled SAFETENSORS_INDEX = "model.safetensors.index.json" +# Written into the snapshot once its download completes; holds the load format. +COMPLETE = ".runpod-complete" +# What huggingface_hub raises when the Hub can't be reached: offline mode, a +# transport failure, or either one for a file that isn't cached. +HUB_UNREACHABLE = (OfflineModeIsEnabled, httpx2.TransportError, LocalEntryNotFoundError) # vLLM's LoadConfig.ignore_patterns default (Llama's original/ checkpoints). IGNORE = ["original/**/*"] # Top-level files that are weights in some format, not config or tokenizer. @@ -88,8 +99,22 @@ def download(repo: str, revision: str | None, cache_dir: str | None, load_format if weights is None: log(f"no weights to download ahead for --load-format {load_format}; vLLM downloads them") weights = [] - snapshot_download(repo, revision=revision, cache_dir=cache_dir, - allow_patterns=weights + config_files(files), ignore_patterns=IGNORE) + snapshot = snapshot_download(repo, revision=revision, cache_dir=cache_dir, + allow_patterns=weights + config_files(files), ignore_patterns=IGNORE) + with open(os.path.join(snapshot, COMPLETE), "w") as f: + f.write(load_format) + + +def complete_snapshot(repo: str, revision: str | None, cache_dir: str | None, + load_format: str) -> bool: + """Whether the cache holds a snapshot download() completed for load_format.""" + try: + snapshot = snapshot_download(repo, revision=revision, cache_dir=cache_dir, + local_files_only=True) + with open(os.path.join(snapshot, COMPLETE)) as f: + return f.read() == load_format + except OSError: # LocalEntryNotFoundError included: no snapshot at all + return False def main() -> int: @@ -97,13 +122,14 @@ def main() -> int: load_format = sys.argv[4].lower() try: download(repo, revision, cache_dir, load_format) - except Exception as e: # noqa: BLE001 - any failure is reported, then vLLM is skipped - try: - snapshot_download(repo, revision=revision, cache_dir=cache_dir, local_files_only=True) - except Exception: # noqa: BLE001 - no cached snapshot either - log(f"{type(e).__name__}: {e}") + except HUB_UNREACHABLE as e: + if not complete_snapshot(repo, revision, cache_dir, load_format): + log(f"{type(e).__name__}: {e}; no completely downloaded snapshot in the cache") return 1 log(f"{type(e).__name__}: {e}; serving the snapshot already in the cache") + except Exception as e: # noqa: BLE001 - any other failure is reported, then vLLM is skipped + log(f"{type(e).__name__}: {e}") + return 1 return 0 diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index cafd3df2..6db62a8b 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -433,11 +433,30 @@ def test_shape_error_exits_2_and_prints_nothing(self) -> None: self.assertTrue(err) +class OfflineModeIsEnabled(ConnectionError): + pass + + +class LocalEntryNotFoundError(FileNotFoundError): + pass + + +class TransportError(Exception): + pass + + def load_download_model() -> types.ModuleType: - """download_model.py with a fake huggingface_hub (it runs in the image).""" + """download_model.py with a fake huggingface_hub and httpx2 (they're in the + image), raising huggingface_hub 2.4.0's exceptions' bases.""" hub = types.ModuleType("huggingface_hub") hub.hf_hub_download = hub.list_repo_files = hub.snapshot_download = None - with mock.patch.dict(sys.modules, {"huggingface_hub": hub}): + errors = types.ModuleType("huggingface_hub.errors") + errors.OfflineModeIsEnabled = OfflineModeIsEnabled + errors.LocalEntryNotFoundError = LocalEntryNotFoundError + httpx2 = types.ModuleType("httpx2") + httpx2.TransportError = TransportError + with mock.patch.dict(sys.modules, {"huggingface_hub": hub, "huggingface_hub.errors": errors, + "httpx2": httpx2}): spec = importlib.util.spec_from_file_location("download_model", DOWNLOAD_MODEL) module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) @@ -501,19 +520,30 @@ def test_config_files(self) -> None: ["config.json", "tokenizer.model", "chat_template.jinja", "merges.txt", "odd[name].json"]) - def run_main(self, online: bool, cached: bool, load_format: str = "auto") -> tuple[int, str, list]: + def run_main(self, error: Exception | None = None, cached: str | None = None, + load_format: str = "auto") -> tuple[int, str, list, str | None]: + """main() with the repo listing raising `error` (None: the Hub answers) + and the cache holding a snapshot with `cached` in its completion marker + ("": no marker; None: no snapshot). Returns the exit status, stderr, + snapshot_download's calls and the marker afterwards.""" calls = [] + tmp = tempfile.TemporaryDirectory() + self.addCleanup(tmp.cleanup) + snapshot = Path(tmp.name) + marker = snapshot / self.module.COMPLETE + if cached: + marker.write_text(cached) def list_repo_files(repo, revision=None): - if not online: - raise OSError("Hub unreachable") + if error is not None: + raise error return ["config.json", "model.safetensors"] def snapshot_download(repo, **kwargs): calls.append(kwargs) - if kwargs.get("local_files_only") and not cached: - raise FileNotFoundError("not in the cache") - return "/cache/snapshot" + if kwargs.get("local_files_only") and cached is None: + raise LocalEntryNotFoundError("not in the cache") + return str(snapshot) err = io.StringIO() with mock.patch.object(self.module, "list_repo_files", list_repo_files), \ @@ -521,31 +551,51 @@ def snapshot_download(repo, **kwargs): mock.patch.object(sys, "argv", ["download_model.py", MODEL, "", "", load_format]), \ redirect_stderr(err): rc = self.module.main() - return rc, err.getvalue(), calls + return rc, err.getvalue(), calls, marker.read_text() if marker.exists() else None def test_online(self) -> None: - rc, _, calls = self.run_main(online=True, cached=False) + rc, _, calls, marker = self.run_main() self.assertEqual(rc, 0) (call,) = calls self.assertEqual(call["allow_patterns"], ["*.safetensors", "config.json"]) self.assertEqual(call["ignore_patterns"], ["original/**/*"]) + self.assertEqual(marker, "auto") def test_another_loaders_format_still_gets_the_config(self) -> None: - rc, err, calls = self.run_main(online=True, cached=False, load_format="GGUF") + rc, err, calls, _ = self.run_main(load_format="GGUF") self.assertEqual((rc, calls[0]["allow_patterns"]), (0, ["config.json"])) self.assertIn("--load-format gguf; vLLM downloads them", err) - def test_hub_unreachable_serves_the_cached_snapshot(self) -> None: - """HF_HUB_OFFLINE, an outage or no egress, after an earlier download.""" - rc, err, calls = self.run_main(online=False, cached=True) - self.assertEqual(rc, 0) - self.assertTrue(calls[-1]["local_files_only"]) - self.assertIn("serving the snapshot already in the cache", err) - - def test_hub_unreachable_and_nothing_cached_fails(self) -> None: - rc, err, _ = self.run_main(online=False, cached=False) - self.assertEqual(rc, 1) - self.assertIn("OSError: Hub unreachable", err) + def test_failed_download(self) -> None: + """, , , , . The Hub is unreachable with HF_HUB_OFFLINE, an + outage or no egress.""" + offline = OfflineModeIsEnabled("HF_HUB_OFFLINE is set") + rows = [ + ("unreachable, a completed snapshot: served", offline, "auto", 0, + "serving the snapshot already in the cache"), + ("a transport error is unreachable too", TransportError("connection refused"), "auto", 0, + "TransportError: connection refused; serving"), + ("a file not cached, the Hub unreachable", LocalEntryNotFoundError("offline"), "auto", 0, + "serving"), + ("unreachable, nothing cached", offline, None, 1, "no completely downloaded snapshot"), + ("unreachable, a download cut short", offline, "", 1, "no completely downloaded snapshot"), + ("unreachable, completed for another load format", offline, "safetensors", 1, + "no completely downloaded snapshot"), + ("no space: not served from the cache", OSError(28, "No space left on device"), "auto", 1, + "OSError: [Errno 28] No space left on device"), + ("a refused token: not served from the cache", RuntimeError("401 Unauthorized"), "auto", 1, + "RuntimeError: 401 Unauthorized"), + ] + for what, error, cached, want_rc, want_err in rows: + with self.subTest(what): + rc, err, calls, _ = self.run_main(error, cached) + self.assertEqual(rc, want_rc) + self.assertIn(want_err, err) + self.assertNotIn("serving" if want_rc else "no completely", err) + if want_rc and not isinstance(error, (OfflineModeIsEnabled, TransportError, + LocalEntryNotFoundError)): + self.assertEqual(calls, []) class PostStart(unittest.TestCase): From 655ca7e7fd0c1363c624a71976b689dd706658a5 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 12:40:00 -0500 Subject: [PATCH 21/24] fix(ray-cluster): name LiteLLM's model after vLLM's --served-model-name LiteLLM's one model was always MODEL_REPO, so a --served-model-name in VLLM_EXTRA_ARGS broke every request: vLLM answered 404 for MODEL_REPO, and LiteLLM refused the served name, having no deployment by it. The start script now reads --served-model-name with the other flags it reads from VLLM_EXTRA_ARGS (the last one given wins, as in vLLM) and names LiteLLM's model, and the hosted_vllm/ model it forwards to, after its first name, the one vLLM answers with. Without one, it is MODEL_REPO as before. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 4 +-- .../ray-cluster/inference/start.sh | 25 +++++++++++-------- tests/unit/test_ray_inference_start.py | 24 ++++++++++++------ 3 files changed, 34 insertions(+), 19 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index ac8096ce..dadc4f49 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -59,9 +59,9 @@ Configuration, all environment variables: | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | | `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 4000 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; `--api-key` (or `--api_key`) is refused (LiteLLM can't send it). | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; a `--served-model-name` is the model's name on the API too (its first name, if it has several); `--api-key` (or `--api_key`) is refused (LiteLLM can't send it). | -The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO`, served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod: the image strips the base's unused 8001 → `localhost:8000` nginx relay, and the build fails if nginx still proxies to 8000. LiteLLM runs with only a master key and no database: +The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO` (or its first `--served-model-name`), served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod: the image strips the base's unused 8001 → `localhost:8000` nginx relay, and the build fails if nginx still proxies to 8000. LiteLLM runs with only a master key and no database: - the master key is `LITELLM_MASTER_KEY`, else the head's `JUPYTER_PASSWORD`, so the pod's console password works for the API too. Any string works (no `sk-` prefix needed), except a publicly known default such as `sk-1234`, which LiteLLM refuses to start with; - a missing key gets `401`; a wrong key gets LiteLLM's `400 "No connected db."` (it looks keys up in a database it doesn't have), still refused; diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 68c37dd7..35ccb27e 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -104,8 +104,10 @@ if ! wait $!; then services fi # The download before vLLM fetches the revision, into the directory and in -# the load format vLLM will read; the last one given wins, as in vLLM. -revision='' download_dir='' load_format=auto +# the load format vLLM will read, and LiteLLM asks vLLM for the model by the +# first --served-model-name, its name in vLLM's responses; the last one given +# wins, as in vLLM. +revision='' download_dir='' load_format=auto served_name='' for ((i = 0; i < ${#extra_args[@]}; i++)); do arg=${extra_args[i]} # vLLM takes --api_key as --api-key. @@ -119,6 +121,7 @@ for ((i = 0; i < ${#extra_args[@]}; i++)); do --revision) revision=$value ;; --download-dir) download_dir=$value ;; --load-format) load_format=$value ;; + --served-model-name) served_name=$value ;; *) ;; esac done @@ -182,17 +185,19 @@ fi vllm_job=$! # --- LiteLLM ------------------------------------------------------------------ # -# One model, MODEL_REPO, under its own name, so clients use the same model id -# as with vLLM directly. Written as JSON (valid YAML), so no model name can -# break the config. LiteLLM starts only once vLLM answers /health, so while the -# model loads nothing listens on the API port (the Runpod proxy answers 502) -# instead of LiteLLM failing every request with a 500 and a logged traceback. -# If vLLM exits first, LiteLLM is not started. Prometheus metrics on /metrics. +# One model, under vLLM's name for it (MODEL_REPO, or a --served-model-name), +# so clients use the same model id as with vLLM directly. Written as JSON +# (valid YAML), so no model name can break the config. LiteLLM starts only +# once vLLM answers /health, so while the model loads nothing listens on the +# API port (the Runpod proxy answers 502) instead of LiteLLM failing every +# request with a 500 and a logged traceback. If vLLM exits first, LiteLLM is +# not started. Prometheus metrics on /metrics. # No admin UI (it needs a database this pod doesn't have) and no fetch of the # model price map. Without a database, a key other than the master key gets # LiteLLM's 400 "No connected db." rather than a 401: still refused. LiteLLM # also refuses to start on a publicly known master key, such as sk-1234. -if ! python3 - "$MODEL_REPO" "$VLLM_PORT" > "$LITELLM_DIR/config.json" << 'EOF' +model_name=${served_name:-$MODEL_REPO} +if ! python3 - "$model_name" "$VLLM_PORT" > "$LITELLM_DIR/config.json" << 'EOF' import json, sys model, vllm_port = sys.argv[1:] @@ -217,7 +222,7 @@ then log "error: could not write $LITELLM_DIR/config.json (see above), so LiteLLM was not started" services fi -log "LiteLLM will start on $API_PORT for $MODEL_REPO once vLLM has loaded the model" +log "LiteLLM will start on $API_PORT for $model_name once vLLM has loaded the model" ( until curl -sf --max-time 5 -o /dev/null "http://127.0.0.1:$VLLM_PORT/health"; do if ! kill -0 "$vllm_job" 2> /dev/null; then diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index 6db62a8b..ba3f9b83 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -295,15 +295,25 @@ def test_key(self) -> None: self.assertNotIn(want.strip(), out, "the key reached the log") def test_litellm_config(self) -> None: - """One model under MODEL_REPO's own name, valid JSON whatever the - name holds.""" - for model in (MODEL, 'org/we"ird\\name', "org/{{ template }}: x"): - with self.subTest(model): - self.run_start({"MODEL_REPO": model, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1"}) + """, , , : vLLM's name for it, in valid JSON whatever the name holds.""" + rows = [ + ("MODEL_REPO's own name", MODEL, "", MODEL), + ("quotes and backslashes", 'org/we"ird\\name', "", 'org/we"ird\\name'), + ("YAML and template syntax", "org/{{ template }}: x", "", "org/{{ template }}: x"), + ("--served-model-name", MODEL, "--served-model-name qwen --enforce-eager", "qwen"), + ("its first name, as vLLM answers with", MODEL, "--served-model-name qwen q", "qwen"), + ("--served_model_name=, the last one given", MODEL, + "--served-model-name a --served_model_name=b", "b"), + ] + for what, model, extra, want in rows: + with self.subTest(what): + self.run_start({"MODEL_REPO": model, "LITELLM_MASTER_KEY": KEY, "FAKE_GPUS": "1", + "VLLM_EXTRA_ARGS": extra}) config = json.loads((self.work / "litellm/config.json").read_text()) (entry,) = config["model_list"] - self.assertEqual(entry["model_name"], model) - self.assertEqual(entry["litellm_params"]["model"], f"hosted_vllm/{model}") + self.assertEqual(entry["model_name"], want) + self.assertEqual(entry["litellm_params"]["model"], f"hosted_vllm/{want}") self.assertEqual(entry["litellm_params"]["api_base"], "http://127.0.0.1:8000/v1") self.assertIn("hashed_api_key", config["litellm_settings"]["prometheus_exclude_labels"]) args = self.recorded("litellm.args") From ed916ad978357e4976fc0f08480a1b200915f4a4 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 13:20:36 -0500 Subject: [PATCH 22/24] fix(ray-cluster): read abbreviated vLLM options in VLLM_EXTRA_ARGS vLLM's argparse keeps allow_abbrev, so it takes any unambiguous prefix of an option, but the start script matched VLLM_EXTRA_ARGS by exact name. --api-k got past the --api-key refusal (vLLM then demanded a key LiteLLM never sends, and logged it), --served-model left LiteLLM's model under the wrong name, and --revis, --download-d or --load-f sent the pre-download somewhere other than what vLLM reads. The script now maps a prefix of --api-key, --revision, --download-dir, --load-format or --served-model-name to that option, after turning underscores into dashes, as vLLM does. An ambiguous prefix fails vLLM anyway, so reading it as one of these is harmless. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- official-templates/ray-cluster/inference/start.sh | 12 ++++++++++-- tests/unit/test_ray_inference_start.py | 7 +++++++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index dadc4f49..1e1baef2 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -59,7 +59,7 @@ Configuration, all environment variables: | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | | `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 4000 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; a `--served-model-name` is the model's name on the API too (its first name, if it has several); `--api-key` (or `--api_key`) is refused (LiteLLM can't send it). | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; a `--served-model-name` is the model's name on the API too (its first name, if it has several); `--api-key` (or `--api_key`, or an abbreviation vLLM accepts, such as `--api-k`) is refused (LiteLLM can't send it). | The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO` (or its first `--served-model-name`), served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod: the image strips the base's unused 8001 → `localhost:8000` nginx relay, and the build fails if nginx still proxies to 8000. LiteLLM runs with only a master key and no database: diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 35ccb27e..91cf2b02 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -110,10 +110,18 @@ fi revision='' download_dir='' load_format=auto served_name='' for ((i = 0; i < ${#extra_args[@]}; i++)); do arg=${extra_args[i]} - # vLLM takes --api_key as --api-key. + # vLLM takes --api_key as --api-key, and (argparse's allow_abbrev) any + # unambiguous prefix, such as --api-k; an ambiguous one fails vLLM anyway. opt=${arg%%=*} + opt=${opt//_/-} [[ "$arg" == *=* ]] && value=${arg#*=} || value=${extra_args[i + 1]:-} - case "${opt//_/-}" in + for name in --api-key --revision --download-dir --load-format --served-model-name; do + if [[ "$opt" == --?* && "$name" == "$opt"* ]]; then + opt=$name + break + fi + done + case "$opt" in --api-key) log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM would print it to the pod logs at startup. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." services diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index ba3f9b83..93dbfe98 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -155,6 +155,10 @@ def test_refusals_start_nothing(self) -> None: "sets --api-key"), ("--api-key after other args", {**serving, "VLLM_EXTRA_ARGS": f"--enforce-eager --api-key {KEY}"}, "sets --api-key"), + ("--api-k, an abbreviation vLLM's argparse takes", {**serving, "VLLM_EXTRA_ARGS": f"--api-k {KEY}"}, + "sets --api-key"), + ("--api_k=, abbreviated with underscores", {**serving, "VLLM_EXTRA_ARGS": f"--api_k={KEY}"}, + "sets --api-key"), ("unbalanced quote", {**serving, "VLLM_EXTRA_ARGS": "--hf-overrides '{\"a\": 1}"}, "VLLM_EXTRA_ARGS can't be split into arguments"), ("no GPU on a plain pod", {**serving, "FAKE_GPUS": ""}, "no GPU visible"), @@ -305,6 +309,7 @@ def test_litellm_config(self) -> None: ("its first name, as vLLM answers with", MODEL, "--served-model-name qwen q", "qwen"), ("--served_model_name=, the last one given", MODEL, "--served-model-name a --served_model_name=b", "b"), + ("--served-model, an abbreviation", MODEL, "--served-model qwen", "qwen"), ] for what, model, extra, want in rows: with self.subTest(what): @@ -335,6 +340,8 @@ def test_download_before_vllm(self) -> None: ("--load_format=", "--load_format=gguf", ["", "", "gguf"]), ("the last one wins, as in vLLM", "--revision a --enforce-eager --revision=b", ["b", "", "auto"]), ("a trailing --revision with no value", "--revision", ["", "", "auto"]), + ("abbreviations, as vLLM's argparse takes them", "--revis abc --download_d=/m --load-f pt", + ["abc", "/m", "pt"]), ] for what, extra, want in rows: with self.subTest(what): From b1e6bb7a2de5113df0e54d86d716a0241ba07382 Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 13:20:36 -0500 Subject: [PATCH 23/24] fix(ray-cluster): scrape vLLM and LiteLLM only once the head accepts the settings post_start.sh added the vllm and litellm scrape jobs whenever MODEL_REPO was set, so a head that refused its settings (no key, --api-key, a bad NUM_NODES, no GPU) left Prometheus two targets that never came up, the litellm one with a credentials_file that didn't exist. The start script now writes the master key only once those checks pass, and first removes one left from an earlier boot; post_start.sh adds the jobs only when the key is there. Also pins httpx2, which download_model.py imports, at the version that resolves with vLLM, torch and Ray, and passes check=False and re.MULTILINE in the tests, for Ruff. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- .../ray-cluster/inference/post_start.sh | 10 ++++++---- .../ray-cluster/inference/requirements.txt | 3 +++ .../ray-cluster/inference/start.sh | 19 ++++++++++++------- tests/unit/test_ray_inference_start.py | 17 ++++++++++++----- 5 files changed, 34 insertions(+), 17 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index 1e1baef2..ca4451e8 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -71,7 +71,7 @@ The download, the wait for the nodes, vLLM and LiteLLM run beside `/start.sh`, s The weights go to the Hugging Face cache, which the base image puts on the volume (`HF_HOME=/workspace/.cache/huggingface`), so size the **volume** for the model (`Qwen/Qwen3-235B-A22B` is about 470 GB), not the container disk; they persist across restarts. The head downloads the model before starting vLLM (`inference/download_model.py`), while SSH and Jupyter are already up and the workers join: exactly the weight files vLLM 0.32.0 would download (for a repo with a `consolidated*.safetensors`, such as Mistral's, that is the consolidated copy, which vLLM's default load format serves), plus the top-level config and tokenizer files. With one network volume shared by every node, the workers then find a complete cache instead of all downloading into it at once; without one, each worker downloads its own copy into its own `/workspace`. A `--revision`, `--download-dir` or `--load-format` in `VLLM_EXTRA_ARGS` applies to this download too (a load format vLLM serves with another loader, such as `gguf`, leaves the weights to vLLM), and a `MODEL_REPO` that is a local directory is served without one. If the Hub can't be reached (`HF_HUB_OFFLINE=1`, an outage, no egress), a model this download completed on an earlier boot, with the same load format, is served from the cache as is; with none (nothing cached, or a download cut short), the head logs why and starts neither vLLM nor LiteLLM, as it does on any other download failure, such as a full volume. -On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO` leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. +On the head, both join the inherited monitoring: the variant's `/post_start.sh` runs the Ray image's hook (renamed `/post_start.ray.sh`), then adds two Prometheus jobs: `vllm` scrapes `127.0.0.1:8000/metrics` with no key, and `litellm` scrapes `127.0.0.1:4000/metrics/`, sending the master key from `/etc/litellm/master_key` (root-only, written by the start script). LiteLLM's `hashed_api_key` label is excluded: it records a rejected key as sent. Grafana loads the inference dashboards (`inference/config/dashboards/`: vLLM's three from its `examples/observability/`, and LiteLLM's "Prod v2" from its `cookbook/`, each at the pinned version) into an **Inference** folder. `RAY_CLUSTER_METRICS=0` leaves the jobs out with the rest of the head's stack, and an unset `MODEL_REPO`, or a setting the head refuses, leaves out just these two. Re-vendor the dashboards when bumping vLLM or LiteLLM. vLLM pins torch exactly, so the variant is built only on the Ray build whose torch matches it (`INFERENCE_BASE` in `docker-bake.hcl`), FROM that target in the same bake run. The build fails if installing vLLM would replace torch or Ray. vLLM's ranged dependencies are pinned in `inference/requirements.txt`, as `requirements.txt` pins Ray's; re-resolve it on a vLLM bump. diff --git a/official-templates/ray-cluster/inference/post_start.sh b/official-templates/ray-cluster/inference/post_start.sh index 531e080f..23759124 100644 --- a/official-templates/ray-cluster/inference/post_start.sh +++ b/official-templates/ray-cluster/inference/post_start.sh @@ -20,12 +20,14 @@ set +e log() { echo "[ray-inference] $*"; } PROM_CONFIG=/etc/prometheus/prometheus.yml +LITELLM_KEY=/etc/litellm/master_key /post_start.ray.sh -# The head is rank 0, as for Ray's hook; vLLM serves only there, and only with -# a MODEL_REPO (without one, the targets would only ever be down). -if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" || -z "${MODEL_REPO:-}" ]]; then +# The head is rank 0, as for Ray's hook; vLLM serves only there, only with a +# MODEL_REPO, and only once the start script has accepted the settings, which +# is when it writes the master key (else the targets would only ever be down). +if [[ "${NODE_RANK:-}" != "0" || "${RAY_CLUSTER_METRICS:-1}" == "0" || -z "${MODEL_REPO:-}" || ! -f "$LITELLM_KEY" ]]; then exit 0 fi @@ -42,7 +44,7 @@ else echo " - job_name: litellm" echo " metrics_path: /metrics/" echo " authorization:" - echo " credentials_file: /etc/litellm/master_key" + echo " credentials_file: ${LITELLM_KEY}" echo " static_configs:" echo " - targets: ['127.0.0.1:4000']" } >> "$PROM_CONFIG" diff --git a/official-templates/ray-cluster/inference/requirements.txt b/official-templates/ray-cluster/inference/requirements.txt index 0d2807ca..40757410 100644 --- a/official-templates/ray-cluster/inference/requirements.txt +++ b/official-templates/ray-cluster/inference/requirements.txt @@ -22,6 +22,9 @@ cloudpickle==3.1.3 einops==0.8.2 fastapi==0.136.3 fastsafetensors==0.5.0 +# Not vLLM's but huggingface-hub's, pinned because download_model.py imports +# it (catches its TransportError). +httpx2==2.16.2 huggingface-hub==2.4.0 ijson==3.6.0 instanttensor==0.2.3 diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 91cf2b02..0540dfab 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -27,6 +27,10 @@ readonly API_PORT=4000 log() { echo "[ray-inference] $*"; } services() { exec /start.sh; } +# Written again below once the settings are accepted; post_start.sh scrapes +# LiteLLM only when it's there, so none may be left from an earlier boot. +rm -f "$LITELLM_DIR/master_key" + if [[ -n "${NODE_RANK:-}" && "$NODE_RANK" != 0 ]]; then log "worker node: Ray only; vLLM runs from the head" services @@ -50,9 +54,9 @@ fi # so it matches Jupyter's. With neither, nothing is started. Pasted whitespace # around LITELLM_MASTER_KEY is trimmed. LiteLLM checks it on every route but # its health checks, /metrics included; vLLM behind it takes no key, being -# reachable only from this pod. The key also goes, root-only, to -# $LITELLM_DIR/master_key, which the head's Prometheus sends when it scrapes -# LiteLLM (post_start.sh). +# reachable only from this pod. Once every setting is accepted, the key also +# goes, root-only, to $LITELLM_DIR/master_key, which the head's Prometheus +# sends when it scrapes LiteLLM (post_start.sh). key=${LITELLM_MASTER_KEY:-} key="${key#"${key%%[![:space:]]*}"}" key="${key%"${key##*[![:space:]]}"}" @@ -77,10 +81,6 @@ else export LITELLM_MASTER_KEY=$key log "authentication on (key from $key_source): every route on $API_PORT except LiteLLM's health checks needs 'Authorization: Bearer '" fi -( - umask 077 - printf '%s' "$key" > "$LITELLM_DIR/master_key" -) # vLLM reads VLLM_API_KEY itself, and LiteLLM sends it none. unset VLLM_API_KEY @@ -154,6 +154,11 @@ else fi fi +( + umask 077 + printf '%s' "$key" > "$LITELLM_DIR/master_key" +) + # --- vLLM --------------------------------------------------------------------- # # In the background, so SSH and Jupyter come up meanwhile: download the model # (download_model.py says why the head does it first; a local directory is diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index 93dbfe98..e10d43cb 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -99,7 +99,7 @@ def setUp(self) -> None: tmp = tempfile.TemporaryDirectory() self.addCleanup(tmp.cleanup) self.work = Path(tmp.name) - for d in ("bin", "inference"): + for d in ("bin", "inference", "litellm"): (self.work / d).mkdir() for name, body in [("vllm", FAKE_VLLM), ("litellm", FAKE_LITELLM), ("curl", FAKE_CURL), ("nvidia-smi", FAKE_NVIDIA_SMI)]: @@ -113,6 +113,7 @@ def setUp(self) -> None: def run_start(self, env: dict) -> str: result = subprocess.run( ["bash", str(self.work / "start.sh")], + check=False, env={"PATH": f"{self.work / 'bin'}:{os.environ['PATH']}", "HOME": str(self.work), "WORK": str(self.work), **env}, capture_output=True, text=True, timeout=60, @@ -171,8 +172,12 @@ def test_refusals_start_nothing(self) -> None: with self.subTest(what): for name in ("vllm.args", "litellm.args", "download.args"): (self.work / name).unlink(missing_ok=True) + # One left from an earlier boot that served. + (self.work / "litellm/master_key").write_text("earlier-key") out = self.run_start(env) self.assertIn(want, out) + self.assertFalse((self.work / "litellm/master_key").exists(), + "a master key is left, so post_start.sh would scrape a LiteLLM that never starts") self.assertIsNone(self.recorded("download.args"), "the model was downloaded") self.assertIsNone(self.recorded("vllm.args"), "vLLM was started") self.assertIsNone(self.recorded("litellm.args"), "LiteLLM was started") @@ -620,10 +625,12 @@ class PostStart(unittest.TestCase): text = (INFERENCE / "post_start.sh").read_text() - def test_scrape_jobs_need_the_head_metrics_and_a_model(self) -> None: - gate = re.search(r'^if \[\[ (.*) \]\]; then\n exit 0\nfi$', self.text, re.M) - self.assertIsNotNone(gate, "the head/metrics/model gate is gone") - for cond in ('"${NODE_RANK:-}" != "0"', '"${RAY_CLUSTER_METRICS:-1}" == "0"', '-z "${MODEL_REPO:-}"'): + def test_scrape_jobs_need_the_head_metrics_a_model_and_the_key(self) -> None: + gate = re.search(r'^if \[\[ (.*) \]\]; then\n exit 0\nfi$', self.text, re.MULTILINE) + self.assertIsNotNone(gate, "the head/metrics/model/key gate is gone") + self.assertIn("LITELLM_KEY=/etc/litellm/master_key\n", self.text) + for cond in ('"${NODE_RANK:-}" != "0"', '"${RAY_CLUSTER_METRICS:-1}" == "0"', '-z "${MODEL_REPO:-}"', + '! -f "$LITELLM_KEY"'): self.assertIn(cond, gate.group(1)) self.assertLess(gate.start(), self.text.index("job_name: vllm")) From cee3f867e1d8a8f1836619d89e8af7d6ee17062f Mon Sep 17 00:00:00 2001 From: Taylor Burmeister Date: Thu, 19 Nov 2026 13:28:14 -0500 Subject: [PATCH 24/24] fix(ray-cluster): refuse --config in VLLM_EXTRA_ARGS vLLM's --config reads options from a YAML file, so it could set --api-key, --served-model-name, --revision, --download-dir or --load-format where the start script never sees them: the refusal of --api-key and the names and paths the script reads from VLLM_EXTRA_ARGS would no longer hold. The script now refuses --config (and its abbreviations, such as --conf), asking for its options in VLLM_EXTRA_ARGS instead. --config-format, a different option, still passes. Co-Authored-By: Claude Opus 5.5 --- official-templates/ray-cluster/README.md | 2 +- official-templates/ray-cluster/inference/start.sh | 6 +++++- tests/unit/test_ray_inference_start.py | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/official-templates/ray-cluster/README.md b/official-templates/ray-cluster/README.md index ca4451e8..db4903c5 100644 --- a/official-templates/ray-cluster/README.md +++ b/official-templates/ray-cluster/README.md @@ -59,7 +59,7 @@ Configuration, all environment variables: | `HF_TOKEN` | none | Token for gated or private models; vLLM reads it from the environment. | | `LITELLM_MASTER_KEY` | `JUPYTER_PASSWORD` | Bearer token required on every route on 4000 except LiteLLM's health checks (`/health/liveliness`, `/health/readiness`), `/metrics` included. With neither set, the head logs an error and starts neither. `none` turns authentication off. | | `MAX_MODEL_LENGTH` | vLLM's | Passed as `--max-model-len`. | -| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; a `--served-model-name` is the model's name on the API too (its first name, if it has several); `--api-key` (or `--api_key`, or an abbreviation vLLM accepts, such as `--api-k`) is refused (LiteLLM can't send it). | +| `VLLM_EXTRA_ARGS` | none | Appended to `vllm serve`, after the derived parallelism, so it can override it. Split like a shell command line, so quote a value with spaces (`--speculative-config '{"method": "ngram"}'`); nothing in it is expanded or run. `--host` and `--port` are always `127.0.0.1` and `8000`; a `--served-model-name` is the model's name on the API too (its first name, if it has several); `--api-key` (or `--api_key`, or an abbreviation vLLM accepts, such as `--api-k`) is refused (LiteLLM can't send it), and so is `--config` (its file could set the options above without the head seeing them; put them in `VLLM_EXTRA_ARGS`). | The API on 4000 is LiteLLM's proxy (`/opt/litellm`, its own venv, hash-locked in `inference/litellm/requirements.txt`; LTS line, 1.108.11), configured with one model, `MODEL_REPO` (or its first `--served-model-name`), served by vLLM. vLLM listens on `127.0.0.1:8000` only, so it is not reachable from outside the head pod: the image strips the base's unused 8001 → `localhost:8000` nginx relay, and the build fails if nginx still proxies to 8000. LiteLLM runs with only a master key and no database: diff --git a/official-templates/ray-cluster/inference/start.sh b/official-templates/ray-cluster/inference/start.sh index 0540dfab..fa9ae80a 100644 --- a/official-templates/ray-cluster/inference/start.sh +++ b/official-templates/ray-cluster/inference/start.sh @@ -115,7 +115,7 @@ for ((i = 0; i < ${#extra_args[@]}; i++)); do opt=${arg%%=*} opt=${opt//_/-} [[ "$arg" == *=* ]] && value=${arg#*=} || value=${extra_args[i + 1]:-} - for name in --api-key --revision --download-dir --load-format --served-model-name; do + for name in --api-key --config --revision --download-dir --load-format --served-model-name; do if [[ "$opt" == --?* && "$name" == "$opt"* ]]; then opt=$name break @@ -126,6 +126,10 @@ for ((i = 0; i < ${#extra_args[@]}; i++)); do log "error: VLLM_EXTRA_ARGS sets --api-key, which LiteLLM can't send, and vLLM would print it to the pod logs at startup. Remove it (LiteLLM checks LITELLM_MASTER_KEY on $API_PORT) and restart the pod. vLLM was not started." services ;; + --config) + log "error: VLLM_EXTRA_ARGS sets --config, whose file can set options this script must see (--api-key, --served-model-name, --revision, --download-dir, --load-format). Put its options in VLLM_EXTRA_ARGS instead and restart the pod. vLLM was not started." + services + ;; --revision) revision=$value ;; --download-dir) download_dir=$value ;; --load-format) load_format=$value ;; diff --git a/tests/unit/test_ray_inference_start.py b/tests/unit/test_ray_inference_start.py index e10d43cb..44e7cc59 100644 --- a/tests/unit/test_ray_inference_start.py +++ b/tests/unit/test_ray_inference_start.py @@ -160,6 +160,11 @@ def test_refusals_start_nothing(self) -> None: "sets --api-key"), ("--api_k=, abbreviated with underscores", {**serving, "VLLM_EXTRA_ARGS": f"--api_k={KEY}"}, "sets --api-key"), + ("--config, a file the script can't read options from", + {**serving, "VLLM_EXTRA_ARGS": "--enforce-eager --config /workspace/vllm.yaml"}, "sets --config"), + ("--config=", {**serving, "VLLM_EXTRA_ARGS": "--config=/workspace/vllm.yaml"}, "sets --config"), + ("--conf, an abbreviation", {**serving, "VLLM_EXTRA_ARGS": "--conf /workspace/vllm.yaml"}, + "sets --config"), ("unbalanced quote", {**serving, "VLLM_EXTRA_ARGS": "--hf-overrides '{\"a\": 1}"}, "VLLM_EXTRA_ARGS can't be split into arguments"), ("no GPU on a plain pod", {**serving, "FAKE_GPUS": ""}, "no GPU visible"), @@ -247,6 +252,9 @@ def test_vllm_command_line(self) -> None: ("flags that only resemble --api-key pass", {**base, "VLLM_EXTRA_ARGS": "--api-key-file=x --served-model-name=--api-key"}, ["--tensor-parallel-size", "2", "--api-key-file=x", "--served-model-name=--api-key"]), + ("--config-format is not --config", + {**base, "VLLM_EXTRA_ARGS": "--config-format hf --config_format=hf"}, + ["--tensor-parallel-size", "2", "--config-format", "hf", "--config_format=hf"]), ("a --host in the extra args is overridden", {**base, "VLLM_EXTRA_ARGS": "--host 0.0.0.0 --port 9000"}, ["--tensor-parallel-size", "2", "--host", "0.0.0.0", "--port", "9000"]),