• Stefy Lanza (nextime / spora )'s avatar
    a GGUF's weights total is the file; its placement is not ours to invent · ed02d1dd
    Stefy Lanza (nextime / spora ) authored
    Follow-up: the footprint fix earlier today addressed one of two sources of the
    same wrong attribution, and the live log showed the other one an hour later.
    
        footprint: 8.48 GB total (weights 7.71 GB (0.00 on GPU, 7.71 on host), …)
        Measured footprint for 'Gemma-4-14B-A4B-Heretic.i1-IQ4_XS': 8.48 GB total
          (… of which 7.71 GB was offloaded to host RAM this load; n_gpu_layers=-1)
    
    That model was loaded with `n_gpu_layers: all` and was holding 10.1 GB of VRAM.
    `measure()` has no torch object to walk for a GGUF, so it takes the weights
    total from the file size -- correctly, a GGUF is loaded as-is -- and banked it in
    `weights_cpu_gb`, which keeps the TOTAL right and asserts a placement nobody
    measured. "0.00 on GPU" is the exact opposite of the truth for a fully resident
    model, and that line is what an operator reads while chasing a CPU-spill
    problem. I read it that way myself this evening and called the earlier mismatch
    cosmetic.
    
    `weights_split_known` now records that the split is unknown, `describe()` says
    "placement not measured here" instead of inventing one, and the manager
    distinguishes the three different things that reach `measured_ram`: a per-module
    measurement (genuinely on the host), a GGUF's unsplit total, and the process's
    RSS growth. Only the first is reported as an offload, and only the first puts a
    size on the Tasks page -- which had been labelling fully-GPU-resident GGUFs
    "CPU offload 7.71 GB".
    
    The arithmetic is untouched in both paths. The total is what sizing and eviction
    consume, it was right, and under-reporting a footprint is how eviction stops
    freeing room and the forward OOMs.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    ed02d1dd
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-acestep.txt Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-latentsync.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-musetalk.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-parler.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements-xtts.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...