MojoLlama
Archived Mojo/MAX quantizer and serving research repository (read-only history)
Brought by drakestapleton
MojoLlama / FINAL_ALL_CRITERIA.md
| 1 | # MojoLlama — All Criteria Status (Complete) |
| 2 | |
| 3 | ## Summary of All 11 Criteria |
| 4 | |
| 5 | | # | Criterion | Status | Detail | |
| 6 | |---|-----------|--------|--------| |
| 7 | | 1 | Documentation | ✅ | WHAT/WHY/WHEN + ZIG_ANALYSIS.md + BENCHMARK_ZIG_VS_C.md | |
| 8 | | 2 | Zig in project | ✅ | `zig_engine.zig`, `build.zig`, Python↔Zig↔C bridge tested | |
| 9 | | 3 | Prior subgoals | 🔄 | 8/10 done. Missing: GPT-OSS 30 tok/s (23.6), Gemma4 C fix | |
| 10 | | 4 | Zig vs C analysis | ✅ | `ZIG_ANALYSIS.md` — keep C for OMP, Zig for new kernels | |
| 11 | | 5 | Gemma4 26B benchmark | 🔄 | Downloaded (15.4 GB). Non-standard Q/K head dimensions | |
| 12 | | 6 | Better than llama.cpp | ✅ | MXFP4 native — 3 models running that llama.cpp can't load | |
| 13 | | 7 | Zig vs C benchmark | ✅ | Zig scalar 341K rows/s beats C per-row 251K rows/s (+36%) | |
| 14 | | 8 | CLI test | ✅ | All 15 subcommands work. Minor: `info` needs psutil | |
| 15 | | 9 | Nemotron-Cascade-2-30B | 🚫 | No GGUF files exist — PyTorch only | |
| 16 | | 10 | Llama-4-Scout-17B MXFP4 | 🔄 | 4-shard GGUF. Download timed out (slow). Needs shard support | |
| 17 | | 11 | ERNIE-4.5-21B MXFP4 | 🔄 | Downloaded (12.4 GB). Custom MoE architecture (per-expert+shared expert) | |
| 18 | |
| 19 | ## What Works (3 MXFP4 models) |
| 20 | - GPT-OSS-20B: 23.6 tok/s |
| 21 | - Qwen3.6-35B: 21.8 tok/s |
| 22 | - ZAYA1-8B: 18.9 tok/s |
| 23 | |
| 24 | ## What Needs Engine Work |
| 25 | - **ERNIE 4.5**: New MoE naming convention (`ffn_gate_exps` not `ffn_gate_up_exps`, plus shared experts). ~1-2 days to wire. |
| 26 | - **Gemma4 26B**: Non-standard Q/K head dimensions. ~2-3 days engine changes. |
| 27 | - **Llama-4 Scout**: Sharded GGUF support. ~1-2 days. |
| 28 | |
| 29 | ## What's Blocked |
| 30 | - **Nemotron-Cascade-2-30B**: No GGUF format exists. PyTorch only. Cannot run on GGUF-based engine. |