Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
test(segment): document tolerance and OMP default
JustVuggcf2865e09221
diff --git a/c/Makefile b/c/Makefileindex 6f3d7b38..7b80f8bd 100644--- a/c/Makefile+++ b/c/Makefile@@ -1343,6 +1343,8 @@ segment-adapters: tests/test_segment_adapters_registration$(EXE)# Maintainer/release gate. Paths point at generated/converted tiny Colibri# containers; see docs/segment-runtime.md for the exact generators.+# OMP_NUM_THREADS defaults to a stable, non-single-threaded 2 for reproducible+# reductions, but callers can override it to exercise a different schedule.segment-adapters-real: tests/test_segment_adapters_real$(EXE)@test -n "$(GLM_SEGMENT_MODEL)" || { echo "set GLM_SEGMENT_MODEL" >&2; exit 2; }@test -n "$(INKLING_SEGMENT_MODEL)" || { echo "set INKLING_SEGMENT_MODEL" >&2; exit 2; }diff --git a/c/tests/test_segment_adapters_real.c b/c/tests/test_segment_adapters_real.cindex 50b9aefa..32b376d3 100644--- a/c/tests/test_segment_adapters_real.c+++ b/c/tests/test_segment_adapters_real.c@@ -51,6 +51,10 @@ static int register_all(void) {static int close_enough(const float *left, const float *right, size_t count,const char *label) {+ /* A segment boundary may change the engine's reduction schedule and the+ * point at which an activation is rounded/stored. Require a tight f32+ * numerical match instead of bit identity; token-exact standalone oracles+ * remain the stricter end-to-end gate. */for (size_t item = 0; item < count; item++) {float difference = fabsf(left[item] - right[item]);float scale = fmaxf(1.0f, fmaxf(fabsf(left[item]), fabsf(right[item])));