• 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
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-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.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...