Files
esh-pfi-infrastructure/persistent-memory.md
T

29 KiB
Raw Blame History

Persistent memory — eshpfi-management

Last updated: 2026-06-14

Repo purpose

Reference workspace for PFI infrastructure: server inventory, canonical Docker Compose stacks, ops playbooks, and conventions. Authoritative copies of compose files live on the servers under /opt/docker/compose/<stack>/; this repo mirrors them for version control, editing, planning, and CI-driven deploys.

Tools and conventions

Sister repos (separate gitea repos, deployed by playbooks here):

Repo Role CI status
vh/task-board MCP + web dashboard for assistant task state (port 7878) push-to-main → CI deploys (2026-04-29)
vh/vor Inquisitor UI sidecar (port 7879) push-to-main → CI deploys (2026-04-29)
vh/nevermore Twice-daily LLM-curated briefing (port 8181, replaces news-digest) push-to-main → CI deploys (2026-04-30)
vh/asset-engine Internal control plane over inference services (port 8200, LAN-direct) push-to-main → CI deploys (2026-05-12)
vh/althing Inter-agent message bus (chamber UI port 7881, forseti + agent-runner daemons, valkey IPC) push-to-main → CI deploys (2026-05-14)
vh/mead-hall Bifrost tool-provider sidecar (port 5173 on dev VM 10.100.10.50) push-to-main → CI deploys (2026-05-16)
vh/skaldsong Wizard + reader surface (port 8300, ana-docker, registry-pull pattern) push-to-main → CI deploys (2026-05-19)
vh/worldtree Conversation API (corviduo-dev demo :8080 / personal :8081 / pinned :8082) — Heimdall auth, Bifrost integration push-to-main → CI deploys
vh/yt-voice-clipper YouTube → diarized voice-clip dataset builder + audition console (irv-ml1 :8000) push-to-main → gitea-webhook auto-deploy to irv-ml1 (2026-06-03) — see docs/runbooks/ytvc-autodeploy.md
vh/arbo Catalog-driven ComfyUI engine (irv-ml1 :8201, comfy-dev owns engine/catalog/image) push-to-main → gitea-webhook auto-deploy to irv-ml1 (catalog-only restart; infra side = stacks/arbo/)

(vh/volva + Heid were re-architected from systemd daemons to Claude Code session orchestrators 2026-06-08; their nh3-dev .service units were removed — no longer deployed sidecars here. See Recent decisions.)

  • Two-layer backups — Backrest orchestrates restic for file+DB (5 fleet repos, daily 01:00 PDT); PBS-ANA primary + PBS-NH3 DR mirror for VM images. ana-nas is the SPOF for postgres + PBS-ANA datastore + cross-site restic targets — see docs/runbooks/disaster-recovery.md for the blast-radius matrix.

  • pull-hf-repo.yaml is the canonical "get a HuggingFace model/dataset onto ana-ml2's shared cache at /tank/aimodels/huggingface/" playbook. Supports --var repo_type=model|dataset|space. Replaces ad-hoc huggingface_hub.snapshot_download patterns.

  • Worldtree admin auth — per-instance. Each Worldtree deployment (demo :8080, personal :8081, pinned :8082) has its own Heimdall registry and its own bootstrap admin key. Infra-ops's stored long-lived admin key (key_id 61419c92) at ana-docker:/opt/docker/conf/.secrets/worldtree-infra-ops-admin auths against demo only. For personal-instance admin ops, fetch the bootstrap admin per-op via docker exec worldtree-personal-worldtree-api-1 printenv WORLDTREE_BOOTSTRAP_ADMIN_KEY on corviduo-dev. Used for POST /admin/keys, admin diagnostics (/admin/sessions/<id>/{bifrost,tools}, etc.).

  • Per-project user keys against personal Worldtree (issued 2026-05-19): skaldsong:79744637 (nh3-dev iteration), skaldsong:7c1dbbbe (ana-docker prod), althing:50d85460, mead-hall:a360822d. Same user_id=skaldsong across both skaldsong keys → shared Heimdall agent slot; different key_id → independently rotatable. Pattern: mint via /admin/keys, drop value to /tmp/wt-personal-<name>.key mode 600, dev collects + shreds (DO NOT cat to chat transcript).

  • Skaldsong CD pattern (registry-pull). Differs from althing / asset-engine which build-on-host. vh/skaldsong's CI builds and pushes gitea.phasefinal.com/vh/skaldsong:<sha> + :latest; playbooks/deploy-skaldsong.yaml on ana-docker pulls + recreates. SHA-pin only (no :latest health-gated advance yet). Prereq: host needs docker login gitea.phasefinal.com once (read:package PAT) — not currently in the workflow.

  • gitea internal route for fleet hosts. gitea is a container on ana-docker — git-SSH 10.250.50.70:222, HTTP :3000. Fleet/colo hosts must use this internal route, NOT public gitea.phasefinal.com (38.120.12.44, ana-srv1) — the public path fail2bans the host egress IP and wedges webhook deploys. :22 on 10.250.50.70 is ana-docker's HOST sshd, not gitea. Full gotcha in docs/orientation.md → Git/gitea.

  • docker-as-root pattern (for ops that have no admin API, e.g. SqliteUserStore.set_bifrost_credentials): on hosts where the SSH user is in the docker group but lacks passwordless sudo, run docker run --rm -v <target-dir>:/wt -v /var/run/docker.sock:/var/run/docker.sock docker:cli sh -c "..." to edit deploy-owned files without sudo. Documented with security warning in servers/corviduo-dev/README.md. docker-group membership is effectively root via bind-mount; treat as a sudo-equivalent grant. Foot-gun: when running docker compose inside this sandbox, any relative path in compose.yaml (e.g. ${WORLDTREE_CONFIG_DIR:-./config}) resolves against the sandbox CWD, but Docker daemon interprets the resulting path against the HOST filesystem. Always pass -e VAR=/abs/path to the docker run invocation for any relative-default config dir.

  • scripts/elway sudo handling — elway prompts for the sudo password ONCE via getpass before the first sudo: true step. That prompt is interactive → elway can't run unattended from a non-TTY tool if any step needs sudo. For sudo-free playbooks (no sudo: true steps) it runs fully non-interactive over key SSH. To create root-owned dirs WITHOUT host sudo, use the docker-daemon-root trick: docker run --rm -v /worktank:/mnt alpine sh -c 'mkdir -p /mnt/<x> && chown -R 1000:1000 /mnt/<x>'.

Current state / in-flight

As of 2026-06-14:

  • Arbo prod is current + the deploy loop is closed. Backend v0.11.6 / frontend v0.11.8 (frontend rides the git mount). Auth is OFF (WireGuard boundary). Pipeline is ban-immune (internal gitea route) + restart-correct (catalog-only) + version-controlled (stacks/arbo/). OPEN: the gitea registry has never held an arbo image — every deploy is local-image-only on irv-ml1, a rollback SPOF. Operator may mint a vh package:write PAT to backfill; the internal-route fix made it non-blocking, so NOT done. The public-IP fail2ban ban on irv-ml1's egress (38.120.94.3) on the gitea host — operator was handling the unban, but the internal-route repoint made it MOOT; ban-cleanup is optional hygiene (status unverified).

  • R16 splice-pivot yield probe RAN 2026-06-14 (was "awaiting go"). Inline-gen arc stays CLOSED (v1 @ default decode); the splice pivot's cheap de-risk is now executed: 45 standalone NVV ([moan_soft]/[moan_intense]/[groan] × seeds 1-15) from Eleanor.wav on the v4 adapter + objective metrics (Resemblyzer spk-cosine, MFCC-dist, F0, parselmouth HNR) → /mnt/smithy/scratch/r16_audition_yield, served on brokkr-audition :8137. 45/45, 0 degenerate; spk-cosine 0.48-0.81. Brokkr notified. NEXT: operator ear-bin (usable/impure) → brokkr's yield% / survivorship / identity analysis. gen_yield_probe.py in irv-ml1:~/r16-vmoan-harness.

  • ana-ml2 GPU layout RESHAPED by the FP8 vision cutover (2026-06-14, a0fed13; dual RTX PRO 6000 Blackwell Max-Q, 96 GB ea, cc 12.0). GPU 1 now: Qwen3.6-35B- A3B-FP8 vision (qwen36-vl, :8007, util 0.46 — replaced the Qwen3.5-9B) + granite (0.24 / 64K) + reward (0.10) + embed/rerank (0.03 ea) ≈ 90 GB, ~7.5 GB headroom (the OOM buffer — verified under 20-concurrent/endpoint load). GPU 0 now FULLY FREE (llama-swap qwen3.5-9b pin dropped) — reserved for a big-fast- uncensored creative-writing model (pick DEFERRED, see Recent decisions). Vision served under its TRUE name only (qwen3.6-35b-a3b); the old qwen3.5-9b-fp8 name is killed at vLLM + the gateway.

  • R17 v2 corpus characterization still on the local irv-ml1 branch, push HELD (r17-v2-characterization). No-push rule AND ASR-content-exposure call on the intimate-audio batch. Awaiting brokkr-collect or explicit push approval. (LOCAL-ONLY soundgasm-derived corpus — distribution barred, never echo transcripts to the bus.)

  • Mac Pro migration is still the big open projectmigration-plan.md (repo root): WORKSTATION-ONLY move of nh3-dev's Hat-1 dev env to an M2 Ultra Mac Pro on the 10.100 subnet. Hat-2 fleet sidecars STAY on the Linux VM. Phase 0 (push pushables + confirm the ~6 local-only repos) is the only time-sensitive step. Cutover = rsync working trees, NOT re-clone. Everything else waits on hardware.

  • sglang-vs-vLLM bench stack staged but parked (5f049cb) — the originating SGLang-RadixAttention question resolved (vLLM v1 defaults prefix-caching ON, now pinned explicit on granite+qwen). NVFP4 chase abandoned. MAX_JOBS-on-shared-prod foot-gun caps any from-source build on ana-ml2.

  • pi + GLM 5.1 harness live on nh3-devglm launcher runs pi against glm-5.1 (thinking-off) via the LiteLLM gateway; glm-5.1-reasoning for opt-in thinking.

  • Worldtree config-propagation lane is mature + humming — pre-merge delta-ping → sync-on-merge to demo+personal bind-mounts; pinned stays pre-cutover.

  • Disclosed-keys hygiene queue (rotate at convenience): HF token, the wt-personal keys, Gitea runner reg token, MINIFLUX_PASSWORD, ZAI_API_KEY. (The shared all-agents LiteLLM key is intentional, not hygiene-debt.)

  • Still open from prior: clean legacy news-digest on ana-docker; the docker push 60s ceiling mystery uninstrumented.

Recent decisions

  • [2026-06-14] ana-ml2 GPU-1 vision upgraded: Qwen3.5-9B → Qwen3.6-35B-A3B (official FP8), served under its TRUE name only. qwen36-vl replaces qwen35-vl on :8007 (a0fed13). The stale qwen3.5-9b-fp8 name is KILLED at vLLM AND the litellm gateway (404/400) — a model is NEVER aliased under a prior model's name (silent substitution = downstream footgun; operator directive). Consumer comfy-dev/arbo migrated; arbo vkeys → all-proxy-models; shared all-agents-local key repointed qwen3.5-9b-fp8 → qwen3.6-35b-a3b. GPU-1 rebalanced for the ~34 GB FP8 weights (granite 0.35→0.24/64K; embed/rerank 0.05→0.03, reclaimed ~4 GB util-waste). Validated: vision correct, 20-concurrent = no OOM. (auto-memory feedback_no_false_model_aliases)

  • [2026-06-14] NVFP4 was the lighter fit (~21 GB) but is BLOCKED on vLLM — FP8 is the working vision path. nvidia/Qwen3.6-35B-A3B-NVFP4 won't load: the ModelOpt-NVFP4-MoE loader errors on expert/lm_head scale keys across 0.19.1 (w2_input_scale) AND 0.22.0 (lm_head.input_scale, vllm #44081) — a pattern across modelopt NVFP4 MoEs. Revisit NVFP4 (frees ~13 GB on GPU 1) once fixed; the 21 GB checkpoint stays cached on ana-ml2.

  • [2026-06-14] llama-swap qwen3.5-9b GPU-0 pin DROPPED; GPU 0 reserved for a creative-writing model (pick DEFERRED by operator). Deep-research (this session) on big-fast-uncensored creative for a 96 GB Blackwell: GLM-Steam-106B-A12B (already in the llama-swap config — balanced default) vs TheDrummer/Behemoth-X-123B-v2 (prose-tier, tops UGI writing+willingness) vs XORTRON-123B (max willingness, weak prose); GGUF-on-llama-swap is the serving path. Tracking: this session + llama-swap config (GLM-Steam present, untracked by operator choice).

  • [2026-06-14] R16 splice-pivot yield probe executed (infra-ops ran the irv-ml1 inference for brokkr; brokkr owns design + analysis). See Current state. Tracking: althing thread 01KV010WGS…, gen_yield_probe.py in irv-ml1:~/r16-vmoan-harness.

  • [2026-06-14] STANDING DIRECTIVE: migrate ALL infra access to Claude-specific credentials. Agents currently reuse the operator's PERSONAL creds for infra ops — vh Gitea admin via tea (used this session to mint a read:package token for ratatoskr, id 13, under vh), sk-corvid litellm master for vkey admin. Stand up service accounts (a claude-bot Gitea user + scoped tokens, a distinct litellm admin key); re-mint consumer creds under them; flag personal-cred fallbacks until done. (auto-memory project_migrate_infra_access_to_claude_credentials)

  • [2026-06-14] R16 vmoan inline-generation arc CLOSED — v1 at default decode (rep1.2/temp0.8) is the final Chatterbox-tag inline artifact. Operator's ear rejected every alternative: v2/v3 windowing (omission vs coherence-loss), v4 multi-tag (cohesion held but lost to capacity-competition), emergent inline-token modulation (degenerates, not modulates), and the gen-time decode-polish sweep (soft tamers cut the NVV itself — same omission family as v2; p0 baseline beat p1). All adapters v1v4 + tokenizer.json.v3bak preserved on irv-ml1:~/r16-vmoan-harness. Likely-next direction (deferred, NOT formalized): generate→bin→splice + one-shot-clone NVV pipeline routing around the inline-coherence wall. Tracking: brokkr R16 journal + althing thread 01KV010WGSSMPWRNCPAGSPK15Y.

  • [2026-06-14] Arbo deploy pipeline fixed, hardened, and version-controlled. Prod rebuilt v0.11.1 → v0.11.6 backend; the webhook machinery (arbo-deploy.sh + arbo-webhook.py, :9009 HMAC listener) is now repo-tracked at stacks/arbo/ (was host-only = recoverability foot-gun). Deploy reaches gitea via the INTERNAL route (10.250.50.70:222) and restarts the engine ONLY on catalog/ changes (graphs/frontend per-request; warn on src/|Dockerfile only — pyproject/uv.lock churn every commit). Operator kept arbo stack ownership in eshpfi (not migrated to comfy-dev's repo). Secret + .env stay host-only. Tracking: 6d66bc2, 6e58e57, stacks/arbo/README Q5.

  • [2026-06-13] Arbo prod bearer auth turned OFF — WireGuard is the access boundary (operator decision; reverses ADR-0001's "closed the open-auth hole"). ENGINE_TOKEN must be ABSENT, not empty (empty-string still gates) — removed from BOTH the host .env AND the compose environment: injection line. Original token backed up at irv-ml1:/opt/docker/compose/arbo/.env.pre-auth-off.bak; comfy-dev updated their ADR-0001. Tracking: db97899 + playbooks/arbo-disable-engine-token.yaml.

  • [2026-06-13] Storetank image-models archive DECOMMISSIONED; arbo is the single live ComfyUI model tree (502 G). Curated /storetank/image-models/comfy (was 919 G, the native /opt/ComfyUI/models symlink target) → killed everything superseded by arbo's current gen (Hunyuan, WAN2.1, FLUX.1, Chroma, SD3.5, orphaned umt5+llava ≈ 739 G) + migrated the keepers (gen-agnostic utilities + the SDXL/Pony stack, 177 G) into /storetank/arbo/models (same-fs move, skip-existing protects prod). Tracking: docs/storetank-image-models-archive.md + docs/arbo-comfyui-model-catalog.md (19024255007ec1).

  • [2026-06-13] GRANITE_KEY provisioned to comfy-dev's nh3-dev dev env at ~/.arbo_granite_key (0600) for the hero gen+judge script — verbatim copy of the prod arbo-prompt-enhance vkey (now extended to reach BOTH granite-4.1-8b AND qwen3.5-9b-fp8); nothing minted. The vkey README's "granite-only" wording was stale → corrected (f32c6dd).

  • [2026-06-13] ana-ml2 upgraded Ada → dual RTX PRO 6000 Blackwell Max-Q (96 GB each, cc 12.0 / sm_120; was dual RTX 6000 Ada 48 GB / cc 8.9 — confirmed live via nvidia-smi). Unlocks NVFP4 (FP4 tensor cores) and doubles VRAM headroom. CLAUDE.md GPU-spec doc-fix LANDED 355a240 (operator). Tracking: 19a07b9/1e2a3a1 ("Blackwell 96GB").

  • [2026-06-13] NVFP4-W4A4 is infeasible for Granite — FP8 stays the Granite-on-Blackwell format. W4A4 collapses at 30k context, proven producer-independent (modelopt AND llm-compressor both clean-NONE from the same BF16 base + wikitext-2k calib). No 4-bit wins both axes: W4A4 = quality collapse; W4A16-NVFP4/AWQ = weight-only dequant → bf16 (no FP4-core speedup). 30B retired. (auto-memory reference_nvfp4_w4a4_granite_infeasible)

  • [2026-06-13] Qwen3.5-9B VL (FP8) deployed on ana-ml2 GPU 1qwen35-vl stack, :8007, gateway alias qwen3.5-9b-fp8. Pinned nightly digest, not :latest: the stable release quantizes the VL vision tower under --quantization fp8 → garbage vision (LM fine); the nightly correctly excludes it. Re-pin + drop the pin once that exclusion lands stable. (2e3dcc2)

  • [2026-06-13] comfyui 325 G model tree migrated worktank → /storetank/arbo (worktank 97% → 26%). arbo is the consuming app; overlay bind-mount via COMFYUI_MODELS_DIR. (38186be) (See the 2026-06-13 archive-decommission decision above — this tree later absorbed the storetank-archive keepers, reaching 502 G.)

  • [2026-06-13] GPU layout settled on the Blackwell box. GPU 0 held free for large-model hot-loads (llama-swap pinned, edf0f91); GPU 1 steady-tenant — granite 131k ctx, qwen 65k, embed/rerank/reward trio, ~3.5 GB free (1e2a3a1, 19a07b9; trio re-floored for 96 GB, 20×-parallel-stable). embed/rerank left at floor — long docs chunked BEFORE embedding. max-model-len is a ceiling not a reservation.

  • [2026-06-13] Prefix caching pinned explicit on granite + qwen — benched ~6.5× faster TTFT on a shared ~4.5k-token summarizer template; soft/evictable, neutral when prefixes don't repeat. vLLM v1 defaults it ON (granite) but the qwen nightly defaults OFF — pin both. (a9a2be7)

  • [2026-06-13] granite-4.1-8b listed as the always-available summarizer/classifier + a shared all-agents key minted (operator-directed). Global ~/.claude/CLAUDE.md Global-tools entry; key alias all-agents-local, scoped to the FREE local models only (granite + qwen-vision + embed/rerank, NOT paid GLM), internal-gateway-only, rotatable. (auto-memory reference_litellm_gateway)

  • [2026-06-13] arbo engine + frontend stack stood up (ADR-0001) — irv-ml1 co-located inference engine (ee57e69), python-based healthcheck (slim image, no curl/wget, bdb3312), frontend ro-mounted from the checkout (922e8ad, ADR-0001 D2).

  • [2026-06-11] GLM thinking inverted at the LiteLLM gateway (operator call): glm-5.1 defaults thinking-OFF; glm-5.1-reasoning = same z.ai upstream, thinking ON. Mechanism: litellm_params.extra_body:{thinking:{type:disabled}}drop_params strips a top-level thinking/reasoning_effort but forwards extra_body verbatim to z.ai. Shared-gateway change. (95b2701, auto-memory reference_litellm_gateway)

  • [2026-06-11] pi coding agent installed on nh3-dev as a GLM 5.1 harness@earendil-works/pi-coding-agent via bun (npm's global prefix is /usr → needs sudo, bun avoids it). Config ~/.pi/agent/models.json, launcher ~/.local/bin/glm.

  • [2026-06-11] z.ai web-tools (regin) = z.ai hosted MCP path, NOT the /paas/v4 Tool API. WORKS: MCP streamable-HTTP at https://api.z.ai/api/mcp/{web_search_prime,web_reader}/mcp, Authorization: Bearer $ZAI_API_KEY (the MCP key, distinct from Z_AI_API_KEY the LLM key). Reference impl = Worldtree's Leif agent.

  • [2026-06-10] Mac Pro migration framed: workstation-only (M2 Ultra ARM, racked NH3 on-subnet); sidecars stay Linux. migration-plan.md. (See in-flight.)

  • [2026-06-10] Worldtree deployed-config propagation is infra-ops's OWNED lane (operator ruling). worldtree-dev pings the config delta pre-merge; infra-ops syncs config/*.yaml from MERGED canonical to the /opt/worldtree*/config bind-mounts on demo+personal. The v0.33.8 9-HOUR demo outage (a model_roles.yaml startup-dep that never reached the VM) is the failure mode this prevents. providers.yaml stays hand-tuned. corviduo emergency-ops = ssh vh@10.250.50.152, docker no-sudo. (auto-memory reference_worldtree_deploys_cicd, reference_corviduo_dev_emergency_ops)

  • [2026-06-09] LiteLLM scoped virtual keys issued to consumers (operator-authorized): brokkr-smithy (all-proxy-models), arbo-prompt-enhance (comfy-dev — granite, later extended to qwen-vision). Mint via /key/generate (master sk-corvid), scope-restricted + rotatable, value → 600 file never the bus. (auto-memory reference_litellm_gateway)

  • [2026-06-08] volva.service + heid.service removed from nh3-dev — vestigial systemd daemons; Heid/Volva re-architected from Python pollers to Claude Code session orchestrators (heid 12aa5a9); volva.service was crash-looping 203/EXEC. (6e2f80e)

  • [2026-06-05] Granite 4.1 8B FP8 replaced phi4-mini as the production summarizer. Beat phi4 on precision in brokkr's R15 P03. Staying FP8, not Q4/AWQ — primary workload is high-concurrency, where FP8 scales ~linearly (2010 tok/s @ C=32). vLLM vllm-granite :8004 GPU 1, official IBM compressed-tensors FP8. (Then on Ada; box has since gone Blackwell.) (34a43a0, auto-memory reference_ana_ml2_vllm_granite)

  • [2026-06-05] Langfuse v3 on ana-docker (:3001) as the gateway trace UI; LiteLLM success_callback:[langfuse] live. Pretty traces + tok/s dashboard. NOT a prerequisite (spend_logs already capture tokens+latency). (9171e6a)

  • [2026-06-05] Ollama BANNED fleet-wide (operator directive) — never stand one up; tear down any found; serve via llama-swap or vLLM. (auto-memory feedback_avoid_ollama)

  • [2026-06-05] ComfyUI / FLUX.2 work split to ~/development/comfy-dev (dedicated repo + agent). eshpfi keeps the comfyui/arbo stack compose; comfy-dev owns the model/workflow knowledge. (auto-memory reference_irv_ml1_ampere_quant)

  • [2026-06-05] Worldtree summarizer config refresh DEFERRED to Worldtree #254 (granite-4.1-8b is the structured-output profile, ON HOLD, no live consumer). Bind-mount CONFIGS (providers.yaml, vh-owned) ARE infra-ops's to apply directly — only the app/image DEPLOY is CICD; the .env is deploy-owned. (auto-memory reference_worldtree_deploys_cicd)

50 older entries archived to archival-memory.md.

Tried and abandoned

  • [2026-06-14] vLLM ModelOpt-NVFP4-MoE loader is broken for current multimodal MoEs. nvidia/Qwen3.6-35B-A3B-NVFP4 fails weight-load: KeyError: layers.0.mlp.experts.w2_input_scale on 0.19.1, lm_head.input_scale not registered on 0.22.0 (vllm #44081); same class hits Gemma-4 MoE / Qwen3-30B-A3B NVFP4. The arch + quant ARE recognized (gets past arch resolution + vision-processor load) — it's the per-expert/lm_head scale-key mapping. Don't chase nightlies; use official FP8 until fixed.

  • [2026-06-14] vLLM sampler-warmup OOMs on a shared GPU even when weights fit — it warms the sampler with max_num_seqs (default 1024) dummy requests, and a big vocab (Qwen3.6 = 248K) makes that a huge transient logits tensor. A vision endpoint doesn't need 1024-way concurrency: set --max-num-seqs 32. Separately, post-load ValueError: No available memory for the cache blocks means util is too thin (weights+activation+graph ate it) — for 34 GB FP8 weights, util ≥ ~0.45 to leave KV room.

  • [2026-06-14] Recreating multiple vLLM services concurrently races the memory-profiling assertionAssertionError: Error in memory profiling. Initial free memory X / current Y … other processes … release GPU memory while vLLM is profiling. Recreate co-tenant vLLM services ONE AT A TIME (force-recreate one, wait healthy, next).

  • [2026-06-14] embed/rerank (0.6B) at util 0.05 reserve ~5.5 GB each — mostly util-reservation WASTE, not need. A 0.6B model needs ~1.2 GB weights + ~2.5 GB CUDA/torch context; util 0.03 (~3.6 GB) fits with room, reclaiming ~4 GB (vLLM reserves the util fraction regardless of actual KV; embedding models barely use KV). Real-need floor ~3 GB — don't go to 0.02.

  • [2026-06-14] Fleet/colo hosts must reach gitea over the INTERNAL route, NOT the public IP. gitea.phasefinal.com = public 38.120.12.44 (ana-srv1); gitea is a container on ana-docker, git-SSH 10.250.50.70:222 + HTTP :3000. A fleet host egressing to public :22 gets fail2ban-banned after any retrying git loop → silently wedges webhook auto-deploys (git fetch times out under set -euo pipefail, aborts before reset). Bit irv-ml1's arbo deploy. :22 on 10.250.50.70 is ana-docker's HOST sshd (deploy key → Permission denied), NOT gitea. Documented docs/orientation.md (6e58e57).

  • [2026-06-14] Chatterbox-Turbo decode-knob foot-guns (R16 v1-polish + emergent probes): the turbo length cap is max_gen_len (default 1000) on t3.inference_turbo, NOT max_new_tokens — and tts_turbo.generate does NOT forward it (wrap inference_turbo to cap). rep_pen 2.0 / temp 0.5 BACKFIRES (degenerate 24 s run-on). Soft decode tamers cut the NVV ITSELF, not just the run-on tail (operator: "p1 trims the moaning too") — gen-time polish can't beat v1's defaults. Inline base-NVV tokens DEGENERATE (moan-cascade + gibberish), they don't modulate the surrounding words.

  • [2026-06-13] Loading an old LoRA adapter after a vocab bump fails on embedding size. The harness config + tokenizer.json are now at new_vocab_size=50279 (v4 multi-tag); the v1/v2/v3 adapters are 50277. To load v1 (the accepted artifact), set cfg.new_vocab_size=50277 before load_finetuned_engine_lora (else PeftModel state_dict size mismatch). tokenizer.json.v3bak is the 50277 tokenizer for a clean restore.

  • [2026-06-13] Heavy from-source compile (MAX_JOBS=128) on the shared PROD GPU box PINS it — load hit 187, prod vLLM restarted, killed an in-flight quant. ana-ml2 hosts live inference; never run a big build there at full parallelism. Cap MAX_JOBS≤32, build off-box, or cgroup-constrain.

  • [2026-06-13] --quantization fp8 on a VL model can quantize the VISION TOWER → garbage vision (Qwen3.5-VL on stable vLLM: gray-grid output; LM answers text fine, so it "looks" healthy). The nightly excludes the vision tower. Validate the VISION path on a quantized VLM, not just text — and pin the engine digest with the exclusion.

  • [2026-06-13] vLLM's --gpu-memory-utilization is checked against FREE VRAM at startup, not total — on a shared card, growing one service before trimming a co-tenant OOMs. Trim the shrinking service FIRST, then grow. Size to the FREE budget.

  • [2026-06-13] The vllm/vllm-openai entrypoint is already ["vllm","serve"] — compose command: supplies the model as the first POSITIONAL arg + flags; a second serve/--model X → "unrecognized arguments". Same-class: tee masks the real exit code (use >); HF datasets rejects bare wikitext (needs Salesforce/wikitext).

  • [2026-06-13] Chatterbox-Turbo LoRA finetune: the repo's setup.py loads the WRONG tokenizer — pulls gpt2-medium + a grapheme merge file instead of the chatterbox-turbo GPT2 tokenizer (vocab.json+merges.txt, len 50276). Fix = override + delete the grapheme tokenizer.json; [vmoan] → new_vocab_size 50277 (1-row resize), lora_r 64 / alpha 128, modules_to_save=[text_emb,text_head]. Unique-stem corpus collision needs {index}_{stem} IDs. (irv-ml1:~/r16-vmoan-harness)

  • [2026-06-11] A completion-poll while pgrep -f <scriptname> SELF-MATCHES its own remote shell argv — its own pgrep -f always finds itself → the loop never exits. Use a match pattern ABSENT from the poll command (the python stage, or a sentinel file), not the driver's own name.

  • [2026-06-08] Demucs uv pip install demucs pulls torch 2.12/torchaudio 2.11 → ta.save() requires torchcodec → dies AFTER separating (0 stems, rc=1). Fix = pin torch==torchaudio==2.4.1 + UV_LINK_MODE=copy. Validate the SAVE path, not just import + GPU inference, on a bleeding-edge torch.

  • [2026-06-05] vLLM 0.19 CUDA-graph-capture OOMs on a SHARED GPU — fills KV to the --gpu-memory-utilization budget WITHOUT reserving graph-capture memory, so capture_model OOMs AFTER weights+KV load (crash-loops). Fix: free co-tenant room OR --enforce-eager. FP8 single-stream is batch-1 GEMV (memory-bound) → Q4 wins single-stream by physics; FP8 wins under concurrency. (reference_ana_ml2_vllm_granite)

  • [2026-06-05] Langfuse has NO public dashboard-creation API — dashboards/widgets are postgres rows; clone a default + swap the measure. tok/s is the outputTokensPerSecond MEASURE (metrics-API/dashboard query time), not a per-generation field. langfuse-web needs HOSTNAME=0.0.0.0. Host 3000 is gitea's → langfuse on 3001.

  • [2026-06-05] sudo over non-interactive ssh FAILS SILENTLY where the user lacks NOPASSWD (esh + corviduo are OUTSIDE the infra-ops identity) → empty output misread as "empty file." Read world-readable files WITHOUT sudo. corviduo ssh = vh@10.250.50.152; bind-mount configs are vh-owned, the .env is deploy-owned 600.

  • [2026-06-05] Worldtree summarizer-model is NOT an env var — no WORLDTREE_SUMMARIZER_MODEL; defaults to claude-haiku in code, opt-in via config not .env. Inspect the live container env + vh-owned config files first.

53 older entries archived to archival-memory.md.