Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
fix(v4): advance scratch_ptr by sz_xs in GPU tier block
Thanniru Sai Teja6de5600f71d8
diff --git a/c/deepseek_v4.c b/c/deepseek_v4.cindex ca6189d2..a057da2e 100644--- a/c/deepseek_v4.c+++ b/c/deepseek_v4.c@@ -3877,7 +3877,7 @@ int coli_v4_indexer_select_batch(ColiDeepSeekV4Indexer *state, int *indices,if (!result && need <= 1024) {float *xq = (float *)scratch_ptr; scratch_ptr += sz_xq;float *yq = (float *)scratch_ptr; scratch_ptr += sz_yq;- uint8_t *xs = (uint8_t *)scratch_ptr;+ uint8_t *xs = (uint8_t *)scratch_ptr; scratch_ptr += sz_xs;int qok = xq && yq && xs;if (qok) {int i = 0;