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

Merge pull request #278 from KingIcyCreamProjects/pr/win32-hwinfo

Vincenzoe8479da97d20
diff --cc c/glm.c
index fe386af4,da92c2be..2157a416
--- a/c/glm.c
+++ b/c/glm.c
@@@ -35,12 -35,11 +35,15 @@@
#include <sys/resource.h>
#include <sys/mman.h> /* mlock: inchioda le pagine in RAM / wire pages into RAM */
#include <sys/stat.h> /* fstat per mmap degli shard (COLI_MMAP) */
+#include <signal.h> /* SIGINT = stop morbido del turno in serve mode */
#endif
+ #if defined(_WIN32) && (defined(__x86_64__) || defined(__i386__))
+ #include <cpuid.h> /* hwinfo_emit: CPU brand string senza /proc */
+ #endif
#include "st.h"
+#ifdef __linux__
+#include "uring.h"
+#endif
#include "tok.h"
#include "tier.h"
#include "grammar.h" /* metodo F: draft grammaticali (#48) */