v2.13.0: an absent cpu_moe_layers installs no overrides at all

Tests › tests/unit/inference/expert_offload_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/inference/expert_offload_test.cpp:214 · its file's page

What it checks (8)

  1. CHECK(cfg.cpu_moe_layers == 0) not attributed
  2. CHECK(expert_offload_patterns(cfg.cpu_moe_layers).empty()) observes expert_offload_patterns
  3. CHECK(overrides.size() == 0) observes size
  4. CHECK(overrides.data() == nullptr) observes data
  5. CHECK(expert_offload_conflict_reason(cfg).empty()) observes expert_offload_conflict_reason
  6. CHECK(expert_offload_load_refusal(cfg.cpu_moe_layers, 30, 0) .empty()) observes expert_offload_load_refusal
  7. CHECK(expert_offload_patterns(0).empty()) observes expert_offload_patterns
  8. CHECK(expert_offload_conflict_reason(cfg).empty()) observes expert_offload_conflict_reason

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

v2.13.0: an absent cpu_moe_layers installs no overrides at all→expert_offload_patterns→size→data→expert_offload_conflict_reason→expert_offload_load_refusal

What 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.

v2.13.0: an absent cpu_moe_layers installs no overrides at all · 8 checksexpert_offload_conflict_reasonREQ-CFG-006 · inferredexpert_offload_patternsREQ-INFER-027 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.