Every fv-ml1 link on the Homepage dashboard was broken. Measured against the
live dashboard API before the fix: 16 entries pointing at the dead 10.250.50.54
and zero at the live 10.251.50.54, covering gen, M.O.G.-SEC, Scriberr, Embed,
Rerank, Reward, Coder, Dockge and six dormant seats.
The miss was structural, not careless. fv-ml1-rename-sweep.sh works from an
allowlist assembled from files that mention the HOST, and a homepage.href label
mentions only an IP -- so every stack whose sole stale reference was a label
fell outside it. The allowlist now covers those 24 files, and records how to
derive the list next time (grep the old address, subtract history) rather than
enumerating from memory.
History is still untouched, and the exclusions are now written down with the
reason each one keeps the old address: recorded benchmark results, whose
base_url is part of a measurement's provenance; the one LiteLLM comment
preserving a retired hand-test endpoint; and the cutover runbooks, where the old
address is the subject matter.
Two bugs found while applying it, both fixed here:
- deploy-stack.sh rejected any stack name containing a dot, so qwen3.5-122b,
qwopus3.5-122b and mistral-medium-3.5 could not be deployed by the script at
all. The check exists to stop path traversal, which means rejecting ".." and
"/" -- not every dot. Traversal is now rejected explicitly and tested.
- stacks/scriberr/.env.example allowed CORS only from the dead IP and from
scriberr.ana.internal, which no longer resolves; the box is at the fv site
and DNS already carries scriberr.fv.internal. The live .env had both stale
origins, i.e. an allowlist with nothing reachable in it.
Host side, applied separately: canonical pushed for the 16 stacks whose only
difference from the host was this renumber, and an in-place address-only fix for
the nine whose host copy has genuinely drifted or has no canonical copy, so that
drift survives for a deliberate reconciliation instead of being clobbered. Every
compose.yaml on fv-ml1 now reads 10.251.50.54. The labels themselves only take
effect at container creation, so the running containers still need recreating.
86 lines
3.1 KiB
YAML
86 lines
3.1 KiB
YAML
# heretic2-charrp-reasoning — modelopt NVFP4 + native MTP fast char-rp-reasoning seat on
|
|
# fv-ml1 GPU0, replacing the GGUF NEO-CODE reasoning seat (llama-charrp-reasoning, now retired).
|
|
# Same Heretic2/NEO-CODE model; ~77 tok/s (~1.3x over GGUF) via qwen3_5_mtp spec-decode.
|
|
#
|
|
# ⚠️ REQUIRES the MTP workaround: vLLM 0.24.0 doesn't propagate modelopt exclude_modules to the
|
|
# spec-decode DRAFT model, so the BF16 mtp head gets quantized -> shape crash. The mounted
|
|
# sitecustomize.py (conf/mtp-workaround/) force-skips mtp.* in is_layer_skipped. Without it the
|
|
# engine dies at load. Full recipe: eshpfi docs/runbooks/heretic2-nvfp4-mtp-seat.md.
|
|
#
|
|
# Co-located on GPU0 with vllm-aeon-gen (gen) + llama-charrp (char-rp). VRAM: NVFP4 27B weights
|
|
# ~26GB + KV. util 0.30 fits the ~33GB free alongside gen+char-rp -> max-model-len capped at
|
|
# 32768 (the GGUF seat did 256K on lighter Q5 weights; NVFP4 is heavier, so context is reduced
|
|
# until VRAM is rebalanced). Tunables in .env.
|
|
|
|
name: heretic2-charrp-reasoning
|
|
|
|
services:
|
|
vllm-charrp-reasoning:
|
|
image: ${REASONING_IMAGE:-vllm/vllm-openai:v0.24.0}
|
|
container_name: ${REASONING_CONTAINER:-vllm-charrp-reasoning-nvfp4}
|
|
restart: unless-stopped
|
|
ipc: host
|
|
ports:
|
|
- "${REASONING_PORT:-8018}:8000"
|
|
volumes:
|
|
- /tank/aimodels:/tank/aimodels
|
|
# The MTP draft-model quant workaround (sitecustomize.py). PYTHONPATH loads it in the
|
|
# engine-core subprocess. See runbook landmine #4.
|
|
- ./conf/mtp-workaround:/mtp-workaround:ro
|
|
environment:
|
|
- PYTHONPATH=/mtp-workaround
|
|
- VLLM_API_KEY=${API_KEY:-}
|
|
command:
|
|
- ${REASONING_MODEL:-/tank/aimodels/heretic2-nvfp4-work/heretic2-modelopt-nvfp4-mtp}
|
|
- --quantization
|
|
- modelopt
|
|
- --speculative-config
|
|
- '{"method": "qwen3_5_mtp", "num_speculative_tokens": ${SPEC_TOKENS:-3}}'
|
|
- --language-model-only
|
|
- --mamba-cache-dtype
|
|
- float32
|
|
- --reasoning-parser
|
|
- qwen3
|
|
- --tool-call-parser
|
|
- qwen3_coder
|
|
- --enable-auto-tool-choice
|
|
- --served-model-name
|
|
- char-rp-reasoning
|
|
- --max-model-len
|
|
- "${REASONING_MAX_MODEL_LEN:-32768}"
|
|
- --max-num-seqs
|
|
- "${REASONING_MAX_NUM_SEQS:-4}"
|
|
- --gpu-memory-utilization
|
|
- "${REASONING_GPU_MEM_UTIL:-0.30}"
|
|
- --kv-cache-dtype
|
|
- fp8
|
|
- --trust-remote-code
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
device_ids:
|
|
- "${REASONING_GPU_ID:-0}"
|
|
capabilities:
|
|
- gpu
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 600s
|
|
networks:
|
|
- tnet
|
|
labels:
|
|
- homepage.group=AI - Inference
|
|
- homepage.name=char-rp-reasoning (Heretic2 NVFP4+MTP)
|
|
- homepage.icon=mdi-rocket-launch
|
|
- homepage.description=NEO-CODE Heretic2 NVFP4 + native MTP, ~77 tok/s (fv-ml1 GPU0)
|
|
- homepage.href=http://10.251.50.54:${REASONING_PORT:-8018}/docs
|
|
|
|
networks:
|
|
tnet:
|
|
name: traefik-net
|
|
external: true
|