Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
tests: build test_st_json_integrity's loader with -D_FILE_OFFSET_BITS=64
JustVuggd5001b398a05
diff --git a/c/tests/test_st_json_integrity.py b/c/tests/test_st_json_integrity.pyindex 94dd0f67..6d54414f 100644--- a/c/tests/test_st_json_integrity.py+++ b/c/tests/test_st_json_integrity.py@@ -28,7 +28,8 @@ class SafetensorsJsonIntegrity(unittest.TestCase):'float x=0; st_read_f32_cap(&s,"tensor",&x,1,0);''printf("%g\\n",x); return 0;}\n')cls.binary = cls.root / ("load.exe" if os.name == "nt" else "load")- subprocess.run(cc + ["-O1", "-Wall", "-Wextra", "-Wno-unused-function",+ # -D_FILE_OFFSET_BITS=64 as the Makefile builds st.h (compat.h requires it on Windows)+ subprocess.run(cc + ["-D_FILE_OFFSET_BITS=64", "-O1", "-Wall", "-Wextra", "-Wno-unused-function","-Wno-unused-parameter", "-Wno-misleading-indentation","-I", str(C_DIR), str(source), "-o", str(cls.binary), "-lm"],check=True, capture_output=True, text=True)