Initial commit: router front-door vLLM stack
Three always-running vLLM services (text TP=2 GPU0+1, ocr + embed on GPU2, sleep mode) behind a FastAPI router that auto-wakes models on request. Tiered idle (sleep 15 min / offload 3 h), depth-aware 503s with Retry-After, persisted wake-intent recovery, admin API on 127.0.0.1:8010. Routine control via vllmctl is pure HTTP — no docker on the request path. Verified: 91 router unit tests + 15-test E2E on real hardware (measurements in CALIBRATION.md; design record in .claude/memory/router-front-door-plan.md). Old nginx stack files removed before git init; design survives in .claude/memory/sleep-mode-implementation-plan.md. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
9
.env.example
Normal file
9
.env.example
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copy to .env and fill in. Only these three are read by compose.yml;
|
||||
# per-model serving args live in compose.yml itself.
|
||||
HF_TOKEN=
|
||||
VLLM_VERSION=v0.27.1
|
||||
MODEL_ROOT=/data/home/renbaibing/huggingface
|
||||
|
||||
# Optional client-side convenience (open-deep-research etc.)
|
||||
OPENAI_API_KEY=EMPTY
|
||||
OPENAI_BASE_URL=http://127.0.0.1:8000/v1
|
||||
Reference in New Issue
Block a user