Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
fix(glm53): expose supported KV slots
Donovan Yohanb94d81923721
diff --git a/c/family_registry.py b/c/family_registry.pyindex 9b86e030..1bb1db84 100644--- a/c/family_registry.py+++ b/c/family_registry.py@@ -907,7 +907,7 @@ FAMILIES = (# implicit_cap 0, non 8: questo motore dimensiona la cache degli# esperti dalla RAM disponibile, quindi "nessuna scelta esplicita"# deve arrivargli come 0 e non come otto slot per layer.- limits=FamilyLimits(8192, 1048576, 1024, 1024, 1, 0, "GLM53_MAXT"),+ limits=FamilyLimits(8192, 1048576, 1024, 1024, 16, 0, "GLM53_MAXT"),# tools=True: this family DOES render and parse tool calls. It used to# share COMMON_CAP, which says otherwise -- the flag is descriptive# (it only feeds the capability dict) so nothing broke, but a clientdiff --git a/c/tests/test_family_registry.py b/c/tests/test_family_registry.pyindex 00d4c984..b61a3f67 100644--- a/c/tests/test_family_registry.py+++ b/c/tests/test_family_registry.py@@ -108,6 +108,10 @@ class FamilyRegistryTest(unittest.TestCase):json.dumps(public_metadata(family))self.assertIn(family.id, by_id)+ def test_glm53_exposes_engine_kv_slot_limit(self):+ by_id, _ = _build_registry(FAMILIES)+ self.assertEqual(by_id["glm53"].limits.max_kv_slots, 16)+def test_unknown_or_invalid_config_never_falls_back_to_glm(self):with self.assertRaises(UnknownFamilyError):family_for_config({"model_type": "qwen3_moe"})