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

build(v4): add build-on-demand rule for bench_indexer_allocations in Makefile

Thanniru Sai Tejaacbe59167d97
diff --git a/c/Makefile b/c/Makefile
index 48d712d2..7e03766e 100644
--- a/c/Makefile
+++ b/c/Makefile
@@ -1313,6 +1313,11 @@ tests/test_ssd_probe$(EXE): tests/test_ssd_probe.c colibri.c st.h uring.h json.h
tests/bench_dsa_select$(EXE): tests/bench_dsa_select.c colibri.c st.h uring.h json.h tok.h tok_unicode.h compat.h grammar.h tier.h quant.h sample.h kv_persist.h telemetry.h route_trace.h
$(CC) $(CFLAGS) $< -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
+tests/bench_indexer_allocations$(EXE): tests/bench_indexer_allocations.c
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
+
# 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 st.h uring.h json.h tok.h tok_unicode.h compat.h grammar.h tier.h quant.h sample.h kv_persist.h telemetry.h route_trace.h