• Stefy Lanza (nextime / spora )'s avatar
    size a model by the card that was asked for, and see every kind of load · dd9ba587
    Stefy Lanza (nextime / spora ) authored
    Two bugs of the same shape: a signal that already existed and was not consulted.
    
    Same-path siblings. Two cards can share one weights path and differ only in
    settings -- Wan2.2-I2V-A14B-Lightning and the plain Wan2.2-I2V-A14B both point
    at Wan-AI/Wan2.2-I2V-A14B-Diffusers, declaring 22 GB and 151 GB. The manager
    has disambiguated exactly this since the lisa/lisa-32k case, through
    `requested_id`, and NEITHER placement caller passed it. So the Lightning card
    was sized by its 151 GB sibling, read as ~127 GB over free VRAM -- far outside
    the borderline band -- and went straight to CPU offload without trying the
    card, where it computed at 0% GPU for 26 minutes holding 37 GB of host RAM.
    Measured: 97.4 GB without the id, 14.1 GB with it, which is the difference
    between exile and residency on a 24 GiB card. Quantizing the experts was
    necessary but not sufficient; the ESTIMATE was still the wrong card's.
    
    The leak watcher's load signal. _load_in_progress() consulted only the
    manager's ready event, which diffusers image/video loads never touch -- they
    load in codai/api/{images,video}.py. A 12-minute multi-shard load therefore
    looked idle, its monotonically rising RSS looked exactly like a leak, and the
    mitigation ladder ran against a load doing nothing wrong ("RSS 19.8/43.0 GB
    LEAK SUSPECTED", every poll). It now also consults the loading reservations,
    which cover those paths by construction.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    dd9ba587
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...
diffusion_loras.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...
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...
prompt_weighting.py Loading commit data...
quant.py Loading commit data...
ram_monitor.py Loading commit data...
remote_code.py Loading commit data...
templates.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...