• 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
..
cache Loading commit data...
__init__.py Loading commit data...
acceleration.py Loading commit data...
capabilities.py Loading commit data...
chat_style.py Loading commit data...
deps.py Loading commit data...
diffusion_loras.py Loading commit data...
footprint.py Loading commit data...
gpu_lock.py Loading commit data...
gpu_query.py Loading commit data...
grammar.py Loading commit data...
hf_loading.py Loading commit data...
host_ram.py Loading commit data...
manager.py Loading commit data...
parser.py Loading commit data...
peft_compat.py Loading commit data...
pipeline_cache.py Loading commit data...
placement.py Loading commit data...
proc_mem.py Loading commit data...
prompt_weighting.py Loading commit data...
quant.py Loading commit data...
ram_monitor.py Loading commit data...
remote_code.py Loading commit data...
teardown.py Loading commit data...
templates.py Loading commit data...
text_encoder_offload.py Loading commit data...
text_loras.py Loading commit data...
textual_inversion.py Loading commit data...
thermal.py Loading commit data...
tmp_janitor.py Loading commit data...
tool_call_grammar.gbnf Loading commit data...
turboquant.py Loading commit data...
utils.py Loading commit data...
video_geometry.py Loading commit data...
weight_stores.py Loading commit data...