Skip to content

Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦

C

Merge branch 'dev' into build/makefile-autodeps

Kenneth-Javier Ortigoza4baa66c88e2b
diff --cc c/Makefile
index 7915c37a,1530e1be..033316c9
--- a/c/Makefile
+++ b/c/Makefile
@@@ -1443,16 -1413,12 +1443,16 @@@ tests/test_ue8m0$(EXE): tests/test_ue8m
# Compiles the engine with -DCOLI_XDNA so the QT side pointer, its reset helper
# and the expert-slot wiring are exercised as the engine actually builds them.
- tests/test_xdna_qt_state$(EXE): tests/test_xdna_qt_state.c colibri.c tests/backend_xdna_lane.o
- $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o -o $@ $(LDFLAGS)
-tests/test_xdna_qt_state$(EXE): tests/test_xdna_qt_state.c colibri.c backend_xdna.c backend_xdna.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
- $(CC) $(CFLAGS) -DCOLI_XDNA $< backend_xdna.c $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_xdna_prepared_state$(EXE): tests/test_xdna_prepared_state.c backend_xdna.c backend_xdna.h compat.h
++tests/test_xdna_qt_state$(EXE): tests/test_xdna_qt_state.c colibri.c tests/backend_xdna_lane.o $(VK_OBJ)
++ $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o $(VK_OBJ) -o $@ $(LDFLAGS)
+# backend_xdna.c as its own object, compiled with the flags this test gave it on
+# the same command line before (#1741): one unit per command keeps each .d whole.
+tests/backend_xdna_lane.o: backend_xdna.c .build-config
+ $(CC) $(CFLAGS) -DCOLI_XDNA -c backend_xdna.c -o $@
+tests/test_xdna_prepared_state$(EXE): tests/test_xdna_prepared_state.c backend_xdna.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_xdna_registry$(EXE): tests/test_xdna_registry.c backend_xdna.c backend_xdna.h
+tests/test_xdna_registry$(EXE): tests/test_xdna_registry.c backend_xdna.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
# Synthetic ABI-2 helpers for the execution tests. Plain C, no XRT, no device:
@@@ -1474,8 -1440,8 +1474,8 @@@ tests/test_xdna_execution$(EXE): tests/
# Failure/fallback owner. Needs BOTH the engine (matmul_qt is the fallback
# target it verifies against) and the synthetic ABI-2 helpers, which is why it
# is a separate owner from test_xdna_execution.
- tests/test_xdna_failure$(EXE): tests/test_xdna_failure.c colibri.c tests/backend_xdna_lane.o $(XDNA_FAKE_HELPERS)
- $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o -o $@ $(LDFLAGS)
-tests/test_xdna_failure$(EXE): tests/test_xdna_failure.c colibri.c backend_xdna.c backend_xdna.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h sample.h kv_persist.h telemetry.h route_trace.h $(XDNA_FAKE_HELPERS) $(VK_OBJ)
- $(CC) $(CFLAGS) -DCOLI_XDNA $< backend_xdna.c $(VK_OBJ) -o $@ $(LDFLAGS)
++tests/test_xdna_failure$(EXE): tests/test_xdna_failure.c colibri.c tests/backend_xdna_lane.o $(XDNA_FAKE_HELPERS) $(VK_OBJ)
++ $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o $(VK_OBJ) -o $@ $(LDFLAGS)
# NOT a test gate -- intentionally absent from TEST_BINS (its name does not match
# the tests/test_*$(EXE) pattern the gate list is derived from). It needs a real
@@@ -1486,54 -1452,50 +1486,54 @@@
#
# M-list defaults to 1,32,64 (the M64 bucket); pass 65,130,256 to qualify
# the M256 bucket through the same owner.
- tests/xdna_physical_probe$(EXE): tests/xdna_physical_probe.c colibri.c tests/backend_xdna_lane.o
- $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o -o $@ $(LDFLAGS)
-tests/xdna_physical_probe$(EXE): tests/xdna_physical_probe.c colibri.c backend_xdna.c backend_xdna.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
- $(CC) $(CFLAGS) -DCOLI_XDNA $< backend_xdna.c $(VK_OBJ) -o $@ $(LDFLAGS)
++tests/xdna_physical_probe$(EXE): tests/xdna_physical_probe.c colibri.c tests/backend_xdna_lane.o $(VK_OBJ)
++ $(CC) $(CFLAGS) -DCOLI_XDNA $< tests/backend_xdna_lane.o $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_json$(EXE): tests/test_json.c json.h
+tests/test_json$(EXE): tests/test_json.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_tok_o200k$(EXE): tests/test_tok_o200k.c tok.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h json.h
+tests/test_tok_o200k$(EXE): tests/test_tok_o200k.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_tok_gpt2$(EXE): tests/test_tok_gpt2.c tok.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h json.h
+tests/test_tok_gpt2$(EXE): tests/test_tok_gpt2.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_tok_deepseek$(EXE): tests/test_tok_deepseek.c tok.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h json.h
+tests/test_tok_deepseek$(EXE): tests/test_tok_deepseek.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_k3_ram_budget$(EXE): tests/test_k3_ram_budget.c sse41_kernels.h kimi_k3.c st.h tok.h quant.h fp8_format.h idot.h compat.h omp_tune.h route_trace.h kv_prefix.h serve_codec.h $(VK_OBJ)
+tests/test_k3_ram_budget$(EXE): tests/test_k3_ram_budget.c kimi_k3.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_k3_mmap$(EXE): tests/test_k3_mmap.c sse41_kernels.h kimi_k3.c st.h tok.h quant.h fp8_format.h idot.h compat.h omp_tune.h route_trace.h kv_prefix.h serve_codec.h $(VK_OBJ)
+tests/test_k3_mmap$(EXE): tests/test_k3_mmap.c kimi_k3.c $(VK_OBJ)
$(CC) $(NOCUDA_CFLAGS) $< $(VK_OBJ) -o $@ $(NOCUDA_LDFLAGS)
-tests/test_tok_kimi_tiny$(EXE): tests/test_tok_kimi_tiny.c tok.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h json.h
+tests/test_tok_kimi_tiny$(EXE): tests/test_tok_kimi_tiny.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_st_pread$(EXE): tests/test_st_pread.c st.h json.h compat.h
+tests/test_st_pread$(EXE): tests/test_st_pread.c
$(CC) $(CFLAGS) -DST_PREAD_CHUNK=7 $< -o $@ $(LDFLAGS)
-tests/test_st_slice$(EXE): tests/test_st_slice.c st.h json.h compat.h
+tests/test_st_slice$(EXE): tests/test_st_slice.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_qwen38_tokenizer$(EXE): tests/test_qwen38_tokenizer.c sse41_kernels.h qwen38.c qwen38_core.h kv_prefix.h qwen38_nfc.h qwen38_nfc_tables.h edge_runtime.c edge_runtime.h edge_adapters.h edge_adapter_internal.h st.h json.h compat.h quant.h fp8_format.h idot.h route_trace.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h
- $(CC) $(NOCUDA_CFLAGS) $< edge_runtime.c -o $@ $(NOCUDA_LDFLAGS)
+tests/test_qwen38_tokenizer$(EXE): tests/test_qwen38_tokenizer.c qwen38.c tests/edge_runtime_nocuda.o
+ $(CC) $(NOCUDA_CFLAGS) $< tests/edge_runtime_nocuda.o -o $@ $(NOCUDA_LDFLAGS)
+# edge_runtime.c as its own object, compiled with the flags this test gave it on
+# the same command line before (#1741): one unit per command keeps each .d whole.
+tests/edge_runtime_nocuda.o: edge_runtime.c .build-config
+ $(CC) $(NOCUDA_CFLAGS) -c edge_runtime.c -o $@
-tests/test_qwen38_config$(EXE): tests/test_qwen38_config.c sse41_kernels.h qwen38.c qwen38_core.h kv_prefix.h qwen38_nfc.h qwen38_nfc_tables.h st.h json.h compat.h quant.h fp8_format.h idot.h route_trace.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h
+tests/test_qwen38_config$(EXE): tests/test_qwen38_config.c qwen38.c
$(CC) $(NOCUDA_CFLAGS) $< -o $@ $(NOCUDA_LDFLAGS)
-tests/test_dsv41_serve_budget$(EXE): tests/test_dsv41_serve_budget.c sse41_kernels.h deepseek_v41.c cli_args.h st.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h omp_tune.h kv_prefix.h pin_pool.h quant.h fp8_format.h idot.h sparse_attn.h hyper_connections.h serve_codec.h serve_poll.h
+tests/test_dsv41_serve_budget$(EXE): tests/test_dsv41_serve_budget.c deepseek_v41.c
$(CC) $(NOCUDA_CFLAGS) $< -o $@ $(NOCUDA_LDFLAGS)
-tests/test_qwen38_idot$(EXE): tests/test_qwen38_idot.c sse41_kernels.h qwen38.c qwen38_core.h kv_prefix.h qwen38_nfc.h qwen38_nfc_tables.h st.h json.h compat.h quant.h fp8_format.h idot.h route_trace.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h
+tests/test_qwen38_idot$(EXE): tests/test_qwen38_idot.c qwen38.c
$(CC) $(NOCUDA_CFLAGS) $< -o $@ $(NOCUDA_LDFLAGS)
-tests/test_qwen38_serve_framing$(EXE): tests/test_qwen38_serve_framing.c sse41_kernels.h qwen38.c qwen38_core.h kv_prefix.h qwen38_nfc.h qwen38_nfc_tables.h st.h json.h compat.h quant.h fp8_format.h idot.h route_trace.h serve_codec.h tok_unicode.h tok_unicode_deepseek.h tok_unicode_o200k.h
+tests/test_qwen38_serve_framing$(EXE): tests/test_qwen38_serve_framing.c qwen38.c
$(CC) $(NOCUDA_CFLAGS) $< -o $@ $(NOCUDA_LDFLAGS)
-tests/test_qwen38_vision$(EXE): tests/test_qwen38_vision.c qwen38_vision.h st.h json.h compat.h
+tests/test_qwen38_vision$(EXE): tests/test_qwen38_vision.c
$(CC) $(CFLAGS) -Wno-unused-function $< -o $@ $(LDFLAGS)
# Genera la fixture della torre e la confronta con l'oracolo upstream. Non serve
@@@ -1652,14 -1610,14 +1652,14 @@@ tests/test_grammar_cache$(EXE): tests/t
# agreement check against the plain logprob_target the sampling path uses
# on rows a float subtraction cannot mis-round, and a double-precision
# check against a second double computation on rows that do.
- tests/test_logprob_status$(EXE): tests/test_logprob_status.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_logprob_status$(EXE): tests/test_logprob_status.c colibri.c sse41_kernels.h exact_dot.h oracle.h sample.h evidence_digest.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/test_logprob_status$(EXE): tests/test_logprob_status.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# The ablation mode's manifest loader, evidence writer and dispatch contract.
# The adapter build bypasses only the model computation, so the parser/writer
# path is exercised for real with no model and no weights.
- tests/test_ablate_mode$(EXE): tests/test_ablate_mode.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_ablate_mode$(EXE): tests/test_ablate_mode.c colibri.c sse41_kernels.h exact_dot.h oracle.h sample.h evidence_digest.h abl.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/test_ablate_mode$(EXE): tests/test_ablate_mode.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# Standalone: drives a faithful miniature of moe()'s routing+accumulate and links
# the SAME abl.h the engine links -- no model/weights needed (the ablation-logic gate).
@@@ -1769,25 -1718,25 +1769,25 @@@ tests/test_topp$(EXE): tests/test_topp.
# bench_topp is a microbenchmark (old qsort vs new heap partial-select, #335), NOT a test
# gate -- intentionally absent from TEST_BINS. Build on demand: make tests/bench_topp
- tests/bench_topp$(EXE): tests/bench_topp.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_topp$(EXE): tests/bench_topp.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_topp$(EXE): tests/bench_topp.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_sample_nan$(EXE): tests/test_sample_nan.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
+tests/test_sample_nan$(EXE): tests/test_sample_nan.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_temp_env$(EXE): tests/test_temp_env.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
+tests/test_temp_env$(EXE): tests/test_temp_env.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_kv_alloc$(EXE): tests/test_kv_alloc.c sse41_kernels.h colibri.c oracle.h st.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h kv_fp8.h kv_tq.h $(VK_OBJ)
+tests/test_kv_alloc$(EXE): tests/test_kv_alloc.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_kv_fp8$(EXE): tests/test_kv_fp8.c kv_fp8.h decode_batch.h
+tests/test_kv_fp8$(EXE): tests/test_kv_fp8.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_kv_tq$(EXE): tests/test_kv_tq.c kv_tq.h
+tests/test_kv_tq$(EXE): tests/test_kv_tq.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_kv_disk$(EXE): tests/test_kv_disk.c sse41_kernels.h colibri.c oracle.h st.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h kv_fp8.h kv_tq.h $(VK_OBJ)
+tests/test_kv_disk$(EXE): tests/test_kv_disk.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# fmt=6 kernel oracle: needs the generated grid table, and its fixture comes from
@@@ -2293,13 -2251,13 +2293,13 @@@ tests/test_ssd_probe$(EXE): tests/test_
# bench_dsa_select is a microbenchmark (old qsort vs new quickselect partial-select, #356),
# NOT a test gate -- intentionally absent from TEST_BINS. Build on demand: make tests/bench_dsa_select
- tests/bench_dsa_select$(EXE): tests/bench_dsa_select.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_dsa_select$(EXE): tests/bench_dsa_select.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_dsa_select$(EXE): tests/bench_dsa_select.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# bench_router_select is a microbenchmark (duplicate-prefix scan vs marked-score scan),
# not a test gate. Build on demand: make tests/bench_router_select.
- tests/bench_router_select$(EXE): tests/bench_router_select.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_router_select$(EXE): tests/bench_router_select.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_router_select$(EXE): tests/bench_router_select.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# bench_indexer_allocations: microbenchmark (DeepSeek V4 indexer malloc vs persistent arena scratch), NOT a test gate.
# Build on demand: make tests/bench_indexer_allocations
@@@ -2308,43 -2266,51 +2308,51 @@@ tests/bench_indexer_allocations$(EXE):
# bench_idot: microbenchmark (single-acc vs independent-acc AVX-VNNI idot), NOT a test gate.
# Build on demand on an AVX-VNNI CPU: make tests/bench_idot ARCH=native
- tests/bench_idot$(EXE): tests/bench_idot.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_idot$(EXE): tests/bench_idot.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_idot$(EXE): tests/bench_idot.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# bench_i4p_gidot: microbenchmark (per-row vs multi-row/AMX K1b grouped planar IDOT), NOT a test gate.
# Build on demand: make tests/bench_i4p_gidot ARCH=native
- tests/bench_i4p_gidot$(EXE): tests/bench_i4p_gidot.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_i4p_gidot$(EXE): tests/bench_i4p_gidot.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_i4p_gidot$(EXE): tests/bench_i4p_gidot.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# bench_gemv_stream: microbenchmark (decode-regime GEMV bandwidth vs the read ceiling;
# frozen-baseline + deinterleaved-x candidate A/B), NOT a test gate.
# Build on demand: make tests/bench_gemv_stream ARCH=native
- tests/bench_gemv_stream$(EXE): tests/bench_gemv_stream.c colibri.c
-tests/bench_gemv_stream$(EXE): tests/bench_gemv_stream.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_gemv_stream$(EXE): tests/bench_gemv_stream.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
+
+ # bench_matmul_f32: microbenchmark (pre-#442 scalar vs row-blocked fmaf f32 matmul at
+ # router shapes), NOT a test gate. Build on demand: make tests/bench_matmul_f32
-tests/bench_matmul_f32$(EXE): tests/bench_matmul_f32.c quant.h idot.h sse41_kernels.h
++tests/bench_matmul_f32$(EXE): tests/bench_matmul_f32.c
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
+
-tests/test_matmul_f32$(EXE): tests/test_matmul_f32.c quant.h idot.h sse41_kernels.h
++tests/test_matmul_f32$(EXE): tests/test_matmul_f32.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
# bench_mla_simd: microbenchmark (scalar vs AVX2/NEON MLA-absorb reductions, #442),
# NOT a test gate. Build on demand: make tests/bench_mla_simd
- tests/bench_mla_simd$(EXE): tests/bench_mla_simd.c colibri.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/bench_mla_simd$(EXE): tests/bench_mla_simd.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
++tests/bench_mla_simd$(EXE): tests/bench_mla_simd.c colibri.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_uring$(EXE): tests/test_uring.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h route_trace.h $(VK_OBJ)
+tests/test_uring$(EXE): tests/test_uring.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_pipe_block$(EXE): tests/test_pipe_block.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h $(VK_OBJ)
+tests/test_pipe_block$(EXE): tests/test_pipe_block.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_pilot_ring$(EXE): tests/test_pilot_ring.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h $(VK_OBJ)
+tests/test_pilot_ring$(EXE): tests/test_pilot_ring.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_moe_gs_guard$(EXE): tests/test_moe_gs_guard.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h $(VK_OBJ)
+tests/test_moe_gs_guard$(EXE): tests/test_moe_gs_guard.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
-tests/test_omp_tune$(EXE): tests/test_omp_tune.c omp_tune.h compat.h
+tests/test_omp_tune$(EXE): tests/test_omp_tune.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_compat_env$(EXE): tests/test_compat_env.c compat.h
+tests/test_compat_env$(EXE): tests/test_compat_env.c
$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_kvb_notice$(EXE): tests/test_kvb_notice.c sse41_kernels.h colibri.c oracle.h st.h uring.h json.h tok.h tok_unicode.h tok_unicode_deepseek.h compat.h grammar.h tier.h quant.h fp8_format.h idot.h sample.h kv_persist.h telemetry.h $(VK_OBJ)
+tests/test_kvb_notice$(EXE): tests/test_kvb_notice.c colibri.c $(VK_OBJ)
$(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# Standalone: proves the group-scaled int8 GEMV keeps every row's float
@@@ -2395,8 -2361,8 +2403,8 @@@ tests/test_shard_kvb_refuse$(EXE): test
# exists so it also compiles under the suite's own $(CFLAGS) rather than only
# under the driver's hand-copied flag list, and so a warning regression in it
# fails the normal build.
- tests/test_e8x4g64_loader$(EXE): tests/test_e8x4g64_loader.c
- $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-tests/test_e8x4g64_loader$(EXE): tests/test_e8x4g64_loader.c st.h quant.h fp8_format.h compat.h $(VK_OBJ)
++tests/test_e8x4g64_loader$(EXE): tests/test_e8x4g64_loader.c $(VK_OBJ)
+ $(CC) $(CFLAGS) $< $(VK_OBJ) -o $@ $(LDFLAGS)
# Reachable build-only entry point for the harness above: `make check` never
# calls this (it stays out of TEST_BINS/test-c, per TEST_EXCLUDE), so this adds