gh#142 offload placement decides whether weights count against VRAM¶
Tests › tests/unit/inference/vram_footprint_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/vram_footprint_test.cpp:110 · its file's page
What it checks (9)
REQUIRE(est.known)observesestimate_vram_footprintviaestCHECK(est.bytes > in.weights_bytes)observesestimate_vram_footprintviaestREQUIRE(est.known)observesestimate_vram_footprintviaestCHECK(est.bytes > agentic_e4b_q8().weights_bytes)observesagentic_e4b_q8REQUIRE(est.known)observesestimate_vram_footprintviaestCHECK(est.bytes < in.weights_bytes)observesestimate_vram_footprintviaestCHECK_FALSE(est.known)observesestimate_vram_footprintviaestCHECK(est.bytes == 0)observesestimate_vram_footprintviaestCHECK(std::string(est.reason).find("partial") != std::string::npos)observesestimate_vram_footprintviaest
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
gh#142 offload placement decides whether weights count against VRAM→agentic_e4b_q8→estimate_vram_footprint→REQUIREWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-INFER-019 inferred