Skip to content

Separate model runtime tests from framework unit tests - #1182

Merged
0xShug0 merged 2 commits into
mainfrom
build/gate-heavy-model-tests
Nov 3, 2026
Merged

0xShug0 merged 2 commits into
mainfrom
build/gate-heavy-model-tests

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Ordinary unit-test builds currently include model-runtime and integration suites, including multi-turn generation and backbone/depth parity checks. In a recent macOS CPU Debug CI run, the LFM2 backbone test took 646 seconds, LFM3 backbone 370 seconds, LFM3 depth 342 seconds, and LFM2 chat 162 seconds.

Gate model-runtime target creation and CTest registration behind ENGINE_BUILD_MODEL_TESTS, retaining the relevant family checks. Classification follows test contents rather than names or execution time: if any case in a file executes a model runtime, the whole file belongs to the model suite. Generic model-named helper tests remain in the unit suite, including Kokoro word timings, Audio8 KV append logic, and Nemotron policy/alignment checks. Framework DSP tests remain unchanged.

This also gates real-model C API path, inference, and CLI-parity checks, learned audio-utility inference tests, and selected model parity probes. The C API export-symbol check remains available. Only CMakeLists.txt changes; no test files move and no runtime implementation changes.

Validation:

  • Local Debug unit registration: 125 → 102 tests, with no newly added unit tests.
  • Unit suite: 101 passed, one expected single-device skip, zero failures (5.86 seconds).
  • Model-only configuration: 97 registered tests.
  • Combined unit/model/extended configuration: the same 196 test names as before, with no duplicates or lost coverage.
  • Confirmed the moved runtime targets are absent when model tests are disabled, while generic helper tests and audio_dsp_test remain registered.

Model and extended suites were checked at configuration/registration time; their inference tests were not run as part of this cleanup.

@0xShug0
0xShug0 merged commit be1286e into main Nov 3, 2026
7 checks passed
@0xShug0
0xShug0 deleted the build/gate-heavy-model-tests branch November 3, 2026 02:36
delebash added a commit to delebash/audio.cpp that referenced this pull request Nov 6, 2026
Conflicts: the Qwen3 aligner's sample rate — upstream's fix (0xShug0#1148) is ours, so its two
files are upstream's again; Qwen3-TTS's CustomVoice base assets kept beside upstream's talker
backend; our CustomVoice clone test under upstream's ENGINE_BUILD_MODEL_TESTS (0xShug0#1182).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PFJ4wux8AZfMeuyaL63Fca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant