Files
esh-pfi-infrastructure/stacks/qwopus3.5-122b/compose.yaml
T
vh 3132a16ca0 fv-ml1: finish the renumber the cutover missed -- 16 dead dashboard links
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.
2026-09-12 23:05:29 -07:00

109 lines
4.3 KiB
YAML

# qwopus3.5-122b — OpenYourMind/Qwopus3.5-122B-A10B-Kimi-K2.6-destilled-abliterated-NVFP4
# on fv-ml1 GPU 0, REPLACING the bjk110 text-only qwen3.5-122b as the `gen` model
# (operator 2026-06-19: "already ablated, already quanted, vision tower intact").
#
# Qwen3.5-122B-A10B MoE, Kimi-K2.6-distilled + abliterated, NVFP4 — and crucially
# VISION-INTACT (Qwen3_5MoeForConditionalGeneration + vision_config). So it serves as
# plain MULTIMODAL (no text-only patch, unlike the bjk110 checkpoint which had its
# vision weights stripped). vLLM carries the arch natively.
#
# Served under --served-model-name qwen3.5-122-a10b so the existing litellm records
# (gen / gen-reasoning / qwen3.5-122-a10b[-reasoning] / qwen-large[-reasoning]) route
# here UNCHANGED — the operator's "replace those records with this model". The thinking
# split (chat_template_kwargs.enable_thinking) + tool-calling (qwen3_coder — the
# OpenYourMind card's specified parser for this checkpoint's XML tool calls).
#
# REVERT: down this; the bjk110 qwen3.5-122b stack is still staged.
# Tunables in .env.
name: qwopus3.5-122b
services:
vllm-qwopus35-122b:
image: ${QWOPUS_IMAGE:-vllm/vllm-openai:latest}
container_name: ${QWOPUS_CONTAINER_NAME:-vllm-qwopus35-122b}
restart: unless-stopped
ipc: host
ports:
- "${QWOPUS_PORT:-8013}:8000"
volumes:
- /tank/aimodels/huggingface:/hfcache
- /tank/aimodels/qwopus3.5-122b-nvfp4:/model:ro
environment:
- HF_HOME=/hfcache
- HF_HUB_CACHE=/hfcache/hub
- VLLM_API_KEY=${API_KEY:-}
# Reclaims PyTorch's reserved-but-unallocated fragmentation (4.2GB was stranded at
# util 0.96, starving the FusedMoE workspace → OOM by 0.1GB). Lets the 3.09GB MoE
# workspace allocate cleanly. Same knob the bjk110 qwen3.5-122b stack ran.
- PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
command:
- /model
- --served-model-name
- ${QWOPUS_SERVED_NAME:-qwen3.5-122-a10b}
- --host
- 0.0.0.0
- --port
- "8000"
- --gpu-memory-utilization
- ${QWOPUS_GPU_MEM_UTIL:-0.92}
- --max-model-len
- ${QWOPUS_MAX_MODEL_LEN:-131072}
- --max-num-seqs
- ${QWOPUS_MAX_NUM_SEQS:-8}
- --max-num-batched-tokens
- "32768"
- --trust-remote-code
- --dtype
- auto
- --enable-prefix-caching
- --enable-chunked-prefill
# FULL 256K context on the STABLE image. fp8 KV (near-lossless) measured an 11.8GB
# pool = 934,600 tokens = 3.5x concurrency at the full 262144 window. CUDA graphs ON
# (no --enforce-eager) for decode tok/s. BINDING LIMIT = the FusedMoE transient
# workspace (3.09GB, allocated OUTSIDE vLLM's budget into free VRAM): at util 0.96
# only 2.99GB was free → OOM by 0.1GB, worsened by 4.2GB PyTorch fragmentation.
# FIX = expandable_segments (env above, reclaims the fragmentation) + util 0.95 for
# margin. The card can't go to 0 free — this workspace is the floor. video kept
# ENABLED (operator wants it; banked at util 0.95 with headroom) — the video encoder
# profiling eats into the budget so KV concurrency drops some, but stays well above 2x.
- --kv-cache-dtype
- ${QWOPUS_KV_CACHE_DTYPE:-fp8}
- --limit-mm-per-prompt
- '{"image": 2, "video": 1}'
# reasoning split + tool-calling. The OpenYourMind card specifies qwen3_coder
# as the tool-call parser for this checkpoint (Qwen3.5 XML tool-call format).
- --reasoning-parser
- qwen3
- --enable-auto-tool-choice
- --tool-call-parser
- qwen3_coder
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids:
- "${QWOPUS_GPU_ID:-0}"
capabilities:
- gpu
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 900s
networks:
- tnet
labels:
- homepage.group=AI - Dormant
- homepage.name=Qwopus3.5-122B-A10B (abliterated NVFP4, vision)
- homepage.icon=mdi-creation
- homepage.description=Kimi-distilled abliterated Qwen3.5-122B-A10B NVFP4, vision-intact, the `gen` model (fv-ml1 GPU 0)
- homepage.href=http://10.251.50.54:${QWOPUS_PORT:-8013}/docs
networks:
tnet:
name: traefik-net
external: true