Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
Merge origin/dev into feat/decide-engines
JustVuggc1a1b48b87e3
diff --cc docs/ENVIRONMENT.mdindex b5828fc2,5ba2fe32..5ab5d581--- a/docs/ENVIRONMENT.md+++ b/docs/ENVIRONMENT.md@@@ -560,16 -570,8 +570,17 @@@ Read **only** by `c/olmoe.c`. This is t| `SMOOTH` | `0.3` | EMA factor for routing momentum (gate logits smoothed across tokens). Clamped to [0, 0.95]. || `CONF_LIMIT` | `0.92` | Confidence ceiling for the router prediction. Clamped to [0.1, 1.0]. || `EXPERT_DROP` | `0` (off) | Drop experts below the confidence threshold instead of loading them (quality/speed experiment). |+ | `COLI_VULKAN` | `0` | `VK=1` build: attention, router and lm_head on the Vulkan device, and the routed experts (int8 rows) on the shared expert tier (`COLI_VK_TIER*`, `COLI_VK_DENSE`, see [Vulkan](#vulkan-any-gpu-with-a-vulkan-12-driver)). The warm start reads the history `COLI_USAGE` names; without it the tier fills as experts pass by. |+## Laya engine (`laya`)++Read **only** by `c/laya.c`, the decision engine ([laya.md](laya.md)).++| Variable | Default | Effect |+|---|---|---|+| `COLI_LAYA_MAX_LEN` | the checkpoint's `max_len` | Tokens per question sequence (512 on the English checkpoint, capped at the encoder's 8192 positions). |+| `COLI_LAYA_HEAD_MAX_LEN` | the checkpoint's `head_max_len` | Tokens shared by a question's instructions and options; raise it for questions with many options. |+---## Server / CLI (`openai_server.py`, `coli`)