• Stefy Lanza (nextime / spora )'s avatar
    check the KV size a pin asked for, and write it down before it kills you · 16488fa5
    Stefy Lanza (nextime / spora ) authored
    A model configured cache_type_k/v=q8_0 at n_ctx=128000 got a 47.7 GB KV cache
    placed in host RAM and the engine was SIGKILLed mid-load, taking every other
    model resident on it down too. The placement plan that exists to prevent exactly
    that skipped itself, because any pin — type or location — was read as consent to
    whatever size resulted. Quantized KV at a long context is the configuration
    someone writes because they are worried about size; it is the one that most needs
    checking.
    
    A pin is now honoured without switching the check off: a pinned type is never
    requantized, a pinned placement is never moved, and when the remaining levers
    cannot make it fit the load is refused with a message naming the pin.
    
    That refusal needs a measured size, and the measurement was being taken after a
    successful load and printed as advice to copy into the config by hand. A KV cache
    big enough to need the plan is big enough to kill the process before the load
    ends — so there was no "after", nobody was reading, and the engine died, got
    respawned, and repeated the identical load forever. It is now journalled the
    moment llama.cpp names the size, before the allocation is faulted in.
    measured_kv_gb still wins; the journal only answers when the config was silent.
    
    Separately: a quantizer that drops a checkpoint's NextN (multi-token-prediction)
    blocks without lowering block_count makes llama.cpp ask for a block the file does
    not have, reported as a bare "missing tensor 'blk.64.attn_norm.weight'" — which
    reads like a corrupt download. When the file's shape proves that is what
    happened (blocks contiguous from 0, exactly nextn_predict_layers short), the
    declared count is corrected via llama.cpp's own kv_overrides. A file missing
    blocks for any other reason still fails, because a truncated download must not be
    silently reinterpreted into a model that loads and answers nonsense.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    16488fa5
Name
Last commit
Last update
..
superpowers Loading commit data...
README.md Loading commit data...
admin-forward-auth.md Loading commit data...
chunking.md Loading commit data...
cluster.md Loading commit data...
deepseek-ds4.md Loading commit data...
digesta-field-report-2026-10-15.md Loading commit data...
dtype-auto-selection.md Loading commit data...
expressive-tts.md Loading commit data...
frontend-engine-split.md Loading commit data...
gguf-process-isolation.md Loading commit data...
glm-colibri.md Loading commit data...
image-prompts.md Loading commit data...
install-from-packages.md Loading commit data...
isolated-worker-environments.md Loading commit data...
kimi-k3.md Loading commit data...
ktransformers.md Loading commit data...
longcat-video.md Loading commit data...
memory-accounting.md Loading commit data...
minimax-h3.md Loading commit data...
model-defaults-and-sources.md Loading commit data...
modelli-digesta-e-container.md Loading commit data...
moderation.md Loading commit data...
ocr-client-throughput-guide.md Loading commit data...
ocr-throughput-measurements-2026-10-18.md Loading commit data...
ocr.md Loading commit data...
orchestrator-runpod-guide.md Loading commit data...
piano-inferenza-su-coderai-prod.md Loading commit data...
process-isolation-plans.md Loading commit data...
reference-projects.md Loading commit data...
remote-execution.md Loading commit data...
reverse-proxy-nginx.md Loading commit data...
runpod-new-model-images-plan.md Loading commit data...
runpod-regional-storage-plan.md Loading commit data...
runpod.md Loading commit data...
surya-block-router-plan.md Loading commit data...
text-to-music.md Loading commit data...
tools-as-services.md Loading commit data...
unlimited-ocr-plan.md Loading commit data...
video-compose.md Loading commit data...
vision-chat.md Loading commit data...
vllm.md Loading commit data...
vlm-lora-training-plan.md Loading commit data...
zimage-lora-training.md Loading commit data...