Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
fix(glm53): initialise the two Mat fields #1462 added, so #1458's cleanup holds
JustVugg6f03a0fc1550
diff --git a/c/glm53.c b/c/glm53.cindex 9352f512..16856379 100644--- a/c/glm53.c+++ b/c/glm53.c@@ -1408,11 +1408,11 @@ static void expert_mats(const GModel *m, const Slot *slot, Mat *gate, Mat *up, Mconst int hidden = m->c.hidden, inter = m->c.moe_inter;const Mat shape[3] = {{ 4, NULL, NULL, slot->piece[0], (const float *)slot->piece[1],- inter, hidden, 64, NULL },+ inter, hidden, 64, NULL, 0, NULL },{ 4, NULL, NULL, slot->piece[2], (const float *)slot->piece[3],- inter, hidden, 64, NULL },+ inter, hidden, 64, NULL, 0, NULL },{ 4, NULL, NULL, slot->piece[4], (const float *)slot->piece[5],- hidden, inter, 64, NULL },+ hidden, inter, 64, NULL, 0, NULL },};*gate = shape[0]; *up = shape[1]; *down = shape[2];}