feat(fv-ml1): rebalance GPUs 0/1 by usage; contexts to published maximums; gen-small default output cap

Layout: GPU 0 = cyberprev (KV 16 -> 15 GiB, 1.29x), erp-seat (moved from
GPU 1, KV 8.49 -> 5.5 GiB, 1.32x), voices (ctx 8,192 -> 40,960, its native
maximum, KV 6 GiB, 1.07x), coder (moved from GPU 1, ctx 16,384 -> 32,768,
the card maximum, 2.35x), parakeet-nemo. GPU 1 = gen-small (moved from
GPU 0, 5.5 GiB, 1.76x), meromero-rp (22 GiB, 1.32x), intern-decision.

Sizing rule: KV >= 1.25x max context rounded up to 0.5 GiB, checked against
7 days of LiteLLM traffic and the engines' own KV-usage logs. Each card keeps
spare memory for its bursty tenant (parakeet's cap on GPU 0, intern-decision's
32k call on GPU 1). YaRN extensions are not enabled: they do not fit, and the
Qwen cards warn static YaRN degrades short prompts.

gen-small gets --override-generation-config max_new_tokens 32768. It applies
only to requests that omit max_tokens (vLLM get_max_tokens) and answers 9
runaway ~260k-token replies in 7 days; the longest normal reply was 6,357.

Applied with playbooks/fv-ml1-rebalance-20261005.yaml (boot-check guard and
health/KV verification per seat); all nine seats healthy, gateway smoke
tests pass.
This commit is contained in:
vh
2026-10-05 22:51:17 -07:00
parent 6851ecbd0b
commit c35f6510bf
15 changed files with 319 additions and 25 deletions
+3 -2
View File
@@ -31,13 +31,14 @@ CYBER_SERVED_NAME_THINK=cyberprev-27b-thinking
# 0.40 of the card, sharing GPU 0 with mog-sec. KV pinned in bytes (8 GiB) so the
# figure is reproducible regardless of what else is resident at start time.
CYBER_GPU_MEM_UTIL=0.40
CYBER_KV_CACHE_MEMORY=8589934592
# 2026-10-05 rebalance: 15 GiB (~337k tokens, 1.29x at 262,144). Live max use seen: 57% of 16 GiB.
CYBER_KV_CACHE_MEMORY=16106127360
# ⚠ 163840, NOT native 262144. Inherited from mog-sec, which crashed five times
# learning that the KV pool's capacity and the card's processing depth are different
# numbers. Raising this requires a deep-prefill probe with a NON-REPEATING prompt on
# THIS checkpoint — a repeated prompt hashes to cached blocks and never prefills deep.
CYBER_MAX_MODEL_LEN=163840
CYBER_MAX_MODEL_LEN=262144
CYBER_MAX_NUM_SEQS=16
CYBER_MAX_NUM_BATCHED_TOKENS=4096
CYBER_KV_CACHE_DTYPE=fp8