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

glm.c: silence unused-variable 'c' in hwinfo_emit (reported in #148 on Darwin, present on Linux too)

JustVugge12a4295cca6
diff --git a/c/glm.c b/c/glm.c
index 471fd504..d6e57165 100644
--- a/c/glm.c
+++ b/c/glm.c
@@ -3677,7 +3677,7 @@ static void ehit_mark(Model *m, int layer, int eid){
/* HWINFO: hardware snapshot for the web dashboard — emitted once at READY. */
static void hwinfo_emit(Model *m){
- Cfg *c=&m->c;
+ Cfg *c=&m->c; (void)c; /* silence -Wunused on builds without /proc (#148 report) */
/* CPU */
char cpu[256]=""; FILE *ci=fopen("/proc/cpuinfo","r");
if(ci){ char ln[256];