// readme

gr8: a super-fast local AI engine

Need help? Join us on discord: https://discord.gg/M7XTrRJW3

Full GLM-5.3 on DGX Spark (GB10). Beta release. If you run it, please tell us what breaks: issues and PRs are welcome.

gr8 is a from-scratch CUDA inference engine for the full GLM 5.3 model (MoE with 256 experts, MLA attention with the sparse indexer, one MTP layer) on three to six DGX Spark (GB10) boxes, tensor-parallel across all of them. It uses no vLLM, PyTorch or NCCL at serve time. Each box runs one g6m4 process, the ranks talk over RoCE v2 through their own verbs fabric, and an OpenAI-compatible API runs on the first box.

Results

TP=3TP=4TP=5TP=6
expertsbit225, 2.25 bpwhome, 3.25 bpwhome, 3.25 bpwhome, 3.25 bpw
draftingMTPDFlash2 or MTPMTPMTP
decode*, code / prose41.1 / 31.7 tok/s52.1 / 34.2 tok/s51.0 / 38.0 tok/s57.4 / 43.1 tok/sโ€ก
aggregate*, 2 / 4 streams50.6 / 63.8 tok/s54.0 / 69.0 tok/s61.8 / 76.3 tok/s67.6 / 85.5 tok/sโ€ก
prefill, 8K prompt, cold635 tok/s1,357 tok/s1,554 tok/s1,808 tok/sโ€ก
prefill, 8K prompt, cached58,655 tok/s60,129โ€ฆ