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

test(glm53): skip EMAP in the serve harness's mid-turn CANCEL loop

enice8591a39d2d
diff --git a/c/tests/glm53_serve_harness.py b/c/tests/glm53_serve_harness.py
index 586e7b64..ce0b4fab 100644
--- a/c/tests/glm53_serve_harness.py
+++ b/c/tests/glm53_serve_harness.py
@@ -194,8 +194,10 @@ def main() -> int:
emitted_before = 0
while True:
line = read_line(process.stdout)
- if not line.startswith("DATA "):
+ if line.startswith("DONE ") or line.startswith("ERROR "):
break
+ if not line.startswith("DATA "):
+ continue # EMAP, HITS, PROF: si ignorano, come fa il gateway
_, got_id, count = line.split()
if int(got_id) != 12:
raise AssertionError(f"DATA per {got_id}, atteso 12")