-
v0.1.0 — Phase 0: skeleton and sim-engine
Pre-ReleaseCI / test (push) Successful in 18sreleased this
2026-09-16 01:29:41 +02:00 | 891 commits to main since this releaseFirst tagged version. It is useful for exactly one thing: developing and testing
a router without GPUs. The gateway does not serve traffic yet —llmgw server
returns "not implemented".Added
sim-engine (
llmgw sim-engine) — an OpenAI-compatible fake inference engine
that models the behaviours a router has to cope with:- continuous batching with a bounded concurrent sequence count
- KV cache block accounting, queueing when blocks run out, including
head-of-line blocking - automatic prefix caching (chained block hashes over a block-level LRU) and its
effect on time to first token - per-token latency that grows with batch size
- dropping a request and freeing its blocks when the client disconnects
/metricsunder vLLM's real metric names- failure injection (
--fail-rate) and deterministic runs (--seed)
Routing primitives — libraries, not yet wired into a server:
router/scheduler: the filter → score → pick pipeline. Scorers for queue
depth, KV occupancy, router-side inflight, drain rate, capacity weight and
session affinity (bounded-load consistent hashing). Pickers: max-score, p2c,
softmax, round-robin. Built-in profiles: chat, batch, long-context, debug.router/endpoint: live endpoint registry with inflight counting, staleness
detection and drain rate derived from engine counters.router/scrape: parses the engine metric contract (plan §7.6) and refuses
endpoints missing any of the mandatory three. The metric name mapping is
overridable, because names drift between engine versions.router/breaker: cooldown and circuit breaking in one component, with
exponential backoff and half-open probes.
Known limitations
llmgw server,llmgw agentandllmgw ctlare stubs.- The scheduler has no HTTP layer yet; nothing routes real requests.
- No admission control, so a batch workload can still starve interactive traffic
once the router exists. That is what v0.3.0 is for. - Prefix awareness is tier 0 only (session affinity). Tiers 1 and 2 are later.
Notes
- The project language is English throughout: code, comments, tests, commits and
the design document. - Plan §7.6 corrects an error from plan v0.1: the KV usage metric is
vllm:kv_cache_usage_perc, notvllm:gpu_cache_usage_perc.
Full notes and the version/phase map: CHANGELOG.md
Downloads