Model validation: what the CPU check proves, and what still needs a GPU¶
Each model qix supports in v1 is checked twice:
- The CPU check.
qix-serveplans the launch for a given GPU node on a machine with no GPU. The test is in theserve_autorow oftests/CORE_SET.json, the core set thatpython3 scripts/core_set.py localruns (build-from-source.md). - The GPU check. The model loads, serves and answers correctly on a real node of that kind. This is the release gate for the model. It needs a GPU and has not run for every model below.
A model is validated on a node only when both checks pass.
The v1 models¶
| Model | config.json used by the CPU check |
Profile qix-serve picks |
|---|---|---|
| DeepSeek-V4-Flash | tests/fixtures/deepseek_v4_flash/config.json |
deepseek-v4-flash |
| DeepSeek-V4.1-Flash | tests/fixtures/deepseek_v41/config.json |
deepseek-v41-flash |
| Qwen3-MoE (Qwen3-30B-A3B) | tests/fixtures/serving_v1_models.json, key Qwen/Qwen3-30B-A3B |
moe-hopper |
| Qwen3 dense reference (Qwen3-8B) | tests/fixtures/serving_v1_models.json, key Qwen/Qwen3-8B |
dense-one-gpu |
| Llama-class dense reference (Llama-3.1-8B-Instruct) | tests/fixtures/serving_v1_models.json, key meta-llama/Llama-3.1-8B-Instruct |
dense-one-gpu |
A profile is a JSON file in csrc/serve_auto/profiles/. It holds the rules that turn a GPU node and a
model into a launch plan. The layout is the plan's shape: one process, one copy of the model per GPU
(replicas), or expert-parallel (EP) groups of ranks.
The two dense reference checkpoints and the Qwen3-MoE size are this check's choice. The release plan names "one Llama-class and one Qwen3 dense model" and "Qwen3-MoE", not a checkpoint. The planner reads only the architecture and the size fields, so another checkpoint of the same family plans the same way unless its weights cross a fit threshold of the profile.
tests/fixtures/serving_v1_models.json holds the public config.json fields of those three models, one entry
each. The test writes each entry to a temporary directory as config.json. No weights, tokenizer or other
file is checked in.
Run the CPU check¶
# One model, one node: prints the plan and the commands it would start; starts nothing.
HF_HUB_OFFLINE=1 qix-serve --dry-run --assume-node b300x4 -- --model tests/fixtures/deepseek_v4_flash
# Every v1 model on every node below (gtest; builds with the host-only build, no CUDA):
./build/tnd_serve_auto_tests --gtest_filter='ServeAutoV1Models.*'
--assume-node <family>x<count> describes the node: family b300, b200, h200 or h100, count 1 to 16.
No GPU is probed. --model is a directory holding config.json, so nothing is read from the network.
The test is ServeAutoV1Models.EveryV1ModelGetsAProfileAndALayoutOnEveryTargetNode in
tests/test_serve_auto.cpp. For each model and node it runs the built qix-serve binary and checks:
- the
auto-config: model ... -> profile <name>line names the expected profile, and the config came from the fixture; - on a node the profile serves: exit 0, an
auto-config: layout = ...line, norefusedline, and at least one rank command; - on a node the profile refuses: exit 2 and the expected
auto-config: refused -- ...reason.
Result today (2026-11-28)¶
Layouts as qix-serve printed them on a CPU box. "refused" means qix-serve stops with exit 2 and starts
nothing.
| Model | 1x B300 | 2x B300 | 4x B300 | 8x B300 | 1x B200 | 4x B200 | 8x B200 | 1x H200 | 4x H200 | 8x H200 |
|---|---|---|---|---|---|---|---|---|---|---|
| V4-Flash | single | 2 replicas | 4 replicas | 8 replicas | single | 1 EP group of 4 | 2 EP groups of 4 | refused | refused | refused |
| V4.1-Flash | refused | 1 EP group of 2 | 1 EP group of 4 | 2 EP groups of 4 | refused | 1 EP group of 4 | 2 EP groups of 4 | refused | refused | refused |
| Qwen3-30B-A3B | single | 2 replicas | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas |
| Qwen3-8B | single | 2 replicas | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas |
| Llama-3.1-8B | single | 2 replicas | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas | single | 4 replicas | 8 replicas |
The test pins the profile, that a layout was printed, and each refusal. It does not pin which layout: the
profile's own tests in tests/test_serve_auto.cpp (ServeAutoV4Flash.*, ServeAutoMoe.* and the others)
do that.
Refusals today¶
These come from the profile files. The CPU check records them; it does not change them.
| Model | Node | Reason qix-serve prints |
|---|---|---|
| V4-Flash | any H200 | no working layout on Hopper yet |
| V4.1-Flash | 1x B300, 1x B200 | one GPU cannot hold about 510 GB of weights; it needs 2 or more GPUs |
| V4.1-Flash | any H200 | no Hopper path: its attention kernels are Blackwell-only |
Other findings¶
- Qwen3-30B-A3B gets the profile named
moe-hopperon B200 and B300 too. The profile's own description says so (its Blackwell rule was added 2026-11-25). The name reads as Hopper-only. Behaviour is not affected. qix-serveplans V4.1-Flash, but the Python model registry still listsDeepseekV41ForCausalLMinREFUSING_ARCHITECTURES(python/tnd/models/__init__.py). The profile setsTND_V41_SERVE=1on every rank, which is the gate the V4.1 model code reads. Enabling V4.1 by default is separate work and needs the GPU check.
What the CPU check proves, and what it does not¶
| Question | CPU check | GPU check |
|---|---|---|
Does qix-serve recognise the model from its config.json? |
yes | yes |
| Does it pick the intended profile and a layout, or refuse with a stated reason? | yes | yes |
| Does it do so with no network access? | yes | not tested |
| Do the GPU name, memory and compute capability match the real card? | no: they are the planner's built-in figures for the family (B300 268 GiB, B200 179 GiB, H200 141 GiB, H100 80 GiB) | yes |
| Do the weights load, and does the KV pool fit next to them? | no | yes |
| Do the ranks start, join their EP group and answer through the router? | no | yes |
| Are the answers correct (greedy match against a reference, the functional set of sampling, streaming, cancel, batching and prefix reuse)? | no | yes |
| Is the chosen layout the fastest one for that node? | no | only with a benchmark against the other layouts |
Many cells of the table above have no GPU run. The profile files mark those rules UNMEASURED; supported-models.md lists, per profile, which rules name a measurement.