attilio-castano / llm-mojo
LLM inference from first principles in Mojo on Apple Silicon: GPU kernels, a serving engine, reproducible studies, and compile-time correctness checks.
Over time
2026-08-20 to 2026-10-25; peak 65,157 lines
2026-08-20 to 2026-10-25; 40 commits, counted up by commit date
- Opened 41
- Closed or merged 41
2026-08-20 to 2026-10-25; 41 issues and pull requests opened (0 issues, 41 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): hydra-core, numpy, typer.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| amarbarosys/mojo-baro | LLM inference on AMD RDNA3, every GPU kernel in Mojo | 89% |
| jaher/llm-mojo | A from-scratch rewrite of vLLM + SGLang's inference stack in pure Mojo | 88% |
| ulmentflam/llm.mojo | GPT-2 training in pure Mojo with hand-written CUDA and Metal GPU kernels. llm.c parity in bf16 on NVIDIA, 1.72x faster than PyTorch MPS on Apple Silicon. | 87% |
| grimo-ir/rune | Thin GPU execution layer for Mojo — one import, zero inference stack | 87% |
| atsentia/mojo-tokenizer | Pure Mojo tokenizer for LLM inference - BPE, tiktoken, HuggingFace compatible | 87% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2026-09-05 | study/gqa-prefill-resources-v1 | – | git tag | – | d4ef642829 |
| 2026-09-05 | study/gqa-prefill-resources-screen-v1 | – | git tag | – | 9a8bc10f57 |
| 2026-09-05 | study/gqa-prefill-v1 | – | git tag | – | bf4277c2aa |
| 2026-09-05 | study/gqa-prefill-screen-v1 | – | git tag | – | fe418cc94f |
Issues and pull requests
0 open and 0 closed issues; 0 open, 40 merged and 1 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 41 | Add bounded prefix caching and opt-in prefill policies | 2026-10-24 | merged | 1 |
| 40 | Add Mojo-native proofs for flexible argmax finishing execution | 2026-10-18 | merged | 1 |
| 39 | Add a newcomer Start here view to the inference explorer | 2026-10-16 | merged | 1 |
| 38 | Bind explorer compiler receipts to committed inputs | 2026-10-16 | merged | 1 |
| 37 | Add interactive inference explorer and GitHub Pages | 2026-10-16 | merged | 1 |
| 36 | Add compile-time BF16 argmax contracts and symbolic reductions | 2026-10-11 | merged | 1 |
| 35 | Add Phase 3 inference engine with mixed execution and async GPU stepping | 2026-10-10 | merged | 1 |
| 34 | Repeat 1e's single-sequence check with device proof | 2026-10-06 | merged | 1 |
| 33 | Paged KV study and adoption (serving phase 2): 32-slot blocks by default | 2026-10-05 | merged | 1 |
| 32 | Paged KV cache (serving phase 2): kernels, block manager and paged model | 2026-10-02 | merged | 1 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-08-20 | mojo_version | – | 1.0.0 | 2a8fa2aa3d |
| 2026-08-20 | tooling | none | uv | 2a8fa2aa3d |
| 2026-10-10 | mojo_version | 1.0.0 | 1.1.0 | 9cd091c561 |
Commits
Commit types: Feature 53% · Mojo version 5% · Refactor 5% · Performance 5% · Docs 15% · Build and chores 8% · Other 10%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-25 | 4fa4ac0ebd | Feature +tests +docs | Add bounded prefix caching and opt-in prefill policies (#41) | 65,157 | uv | 1.1.0 |
| 2026-10-20 | 20703475b0 | Feature +tests | Add Mojo-native proofs for flexible argmax finishing execution (#40) | 60,549 | uv | 1.1.0 |
| 2026-10-16 | bf088a21c3 | Feature | Add a newcomer introduction to the inference explorer (#39) | 28,673 | uv | 1.1.0 |
| 2026-10-16 | bba533a5a3 | Docs +tests | Bind explorer compiler receipts to committed inputs (#38) | 28,673 | uv | 1.1.0 |
| 2026-10-16 | 921843d8bb | Feature +tests +docs | Add interactive inference explorer and Pages publication (#37) | 28,673 | uv | 1.1.0 |
| 2026-10-12 | 1bdf327737 | Feature +tests +docs | Add compile-time BF16 argmax contracts and symbolic reductions (#36) | 28,673 | uv | 1.1.0 |
| 2026-10-10 | 9cd091c561 | Mojo version +tests | Add Phase 3 inference engine with mixed execution and async GPU stepping (#35) | 28,044 | uv | 1.1.0 |
| 2026-10-06 | cb2416abf3 | Build and chores | Repeat 1e's single-sequence check with device proof (#34) | 21,085 | uv | 1.0.0 |
| 2026-10-06 | 32715f2b41 | Build and chores | Paged KV study and adoption (serving phase 2): 32-slot blocks by default (#33) | 21,085 | uv | 1.0.0 |
| 2026-10-03 | a84ad34c8c | Other +tests +docs | Paged KV cache (serving phase 2): kernels, block manager and paged model (#32) | 20,599 | uv | 1.0.0 |
| 2026-09-28 | 8fbe44f3cf | Docs | Say why the project exists in the README (#30) | 18,707 | uv | 1.0.0 |
| 2026-09-28 | 132dc086b6 | Feature | Batch decode across sequences (serving phase 1) (#29) | 18,707 | uv | 1.0.0 |
| 2026-09-25 | 3b23c65be6 | Other +tests +docs | Share one verified copy of the large oracle fixtures across worktrees (#28) | 16,427 | uv | 1.0.0 |
| 2026-09-24 | a144066ef4 | Docs | Separate current docs from history and add a walkthrough (#26) | 16,427 | uv | 1.0.0 |
| 2026-09-24 | 3fe9abad3e | Refactor +tests | Keep one production engine path with explicit execution plans (#25) (#27) | 16,427 | uv | 1.0.0 |
| 2026-09-24 | 2b47c5c212 | Feature +tests | Add one-step setup and a shared verified model store (#24) | 16,762 | uv | 1.0.0 |
| 2026-09-23 | a0b01da1b0 | Docs | Plan a multi-request serving engine (#23) | 16,762 | uv | 1.0.0 |
| 2026-09-14 | edb610a2fd | Other | Unify inference CLI and organize engine and validation ownership (#22) | 16,762 | uv | 1.0.0 |
| 2026-09-13 | c5f586c09b | Feature +docs | Accelerate Fast Qwen decode with composed Metal optimizations (#21) | 16,757 | uv | 1.0.0 |
| 2026-09-11 | 06e15e08e6 | Feature +tests +docs | Complete native Fast Qwen chat with persistent KV caches (#20) | 14,879 | uv | 1.0.0 |
| 2026-09-10 | ac09d1681a | Feature | Add Fast and deterministic decoder policies with Qwen model integration groundwork (#19) | 14,172 | uv | 1.0.0 |
| 2026-09-09 | d9aaad5fcd | Feature +tests | Add pure Mojo Qwen tokenizer with heap BPE and CPU study (#18) | 13,123 | uv | 1.0.0 |
| 2026-09-08 | 478cdc1821 | Feature | Compose Qwen decoder and select validated prefill/decode baselines (#17) | 12,095 | uv | 1.0.0 |
| 2026-09-08 | 7f16d6fc89 | Feature | Add Qwen SwiGLU MLP with numerical contract and Metal optimization study (#16) | 11,057 | uv | 1.0.0 |
| 2026-09-07 | 7e0cc8e053 | Feature | Integrate and profile the Qwen attention block on Metal (#15) | 9,495 | uv | 1.0.0 |
| 2026-09-07 | c1a95add8f | Other +tests | Streamline uv and Mojo development commands (#14) | 6,691 | uv | 1.0.0 |
| 2026-09-06 | f18488202a | Performance | Optimize GQA prefill on Apple GPU and document the measurements (#13) | 6,691 | uv | 1.0.0 |
| 2026-09-05 | 875fd73498 | Refactor +tests +docs | Simplify the inference study and package its development tools (#12) | 5,407 | uv | 1.0.0 |
| 2026-09-05 | a86f4dbadb | Performance +tests +docs | Optimize Qwen GQA decode on Apple GPU (#11) | 15,877 | uv | 1.0.0 |
| 2026-09-02 | 92c967d12a | Docs | Document model target and reference platform (#10) | 9,301 | uv | 1.0.0 |
| 2026-09-02 | 5eb09378d3 | Feature +tests | Add grouped-query attention baseline and benchmark (#9) | 9,301 | uv | 1.0.0 |
| 2026-08-31 | d6190d52af | Feature +tests | Characterize Apple 8x8 MMA for linear projection (#8) | 7,082 | uv | 1.0.0 |
| 2026-08-31 | 1c7350907a | Feature +tests | Characterize Apple GPU prefill matrix multiplication (#7) | 6,597 | uv | 1.0.0 |
| 2026-08-28 | 560572d45f | Feature +tests | Add affine projection and optimize M=1 QKV composition (#6) | 4,916 | uv | 1.0.0 |
| 2026-08-24 | e14e3d07a6 | Feature +tests | Profile and optimize RMSNorm on Apple GPU (#5) | 2,388 | uv | 1.0.0 |
| 2026-08-24 | 1253f59cff | Feature +tests | Add Qwen RoPE reference and Apple GPU path (#4) | 2,020 | uv | 1.0.0 |
| 2026-08-21 | 148dbaa4dd | Feature +tests +docs | Add Qwen RMSNorm reference and Apple GPU baseline (#3) | 911 | uv | 1.0.0 |
| 2026-08-21 | 2f53f5e944 | Docs | Document Qwen V0 inference roadmap (#2) | 11 | uv | 1.0.0 |
| 2026-08-20 | 2a8fa2aa3d | Mojo version +docs | Bootstrap Mojo project foundation (#1) | 11 | uv | 1.0.0 |
| 2026-08-20 | cee929d9fd | Build and chores | chore: initialize repository | 0 | none | – |