dorjeduck / llm.mojo
port of Andrjey Karpathy's llm.c to Mojo
Over time
2024-04-13 to 2026-10-04; peak 6,288 lines
2024-04-13 to 2026-10-04; 142 commits, counted up by commit date
- Opened 5
- Closed or merged 5
2024-04-18 to 2026-10-04; 5 issues and pull requests opened (3 issues, 2 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): numpy, tiktoken, torch, tqdm, transformers.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| dorjeduck/minbpe.mojo | port of Andrjey Karpathy's minbpe to Mojo | 92% |
| lee101/mojo-assimulo | Mojo port of assimulo | 85% |
| lee101/mojo-aiofile | Mojo port of aiofile | 84% |
| lee101/mojo-aenum | Mojo port of aenum | 84% |
| XW-ABAP/Mojoforxiao | mojo | 83% |
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
347 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
3 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
No published release in the GH Archive days loaded, and no git tag in the clone.
Issues and pull requests
0 open and 3 closed issues; 0 open, 2 merged and 0 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 2 | Just some typos and a gitignore | 2024-04-22 | merged | 4 |
| 1 | Update README.md | 2024-04-18 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2024-09-23 | mojo_version | – | * | b16998a617 |
| 2024-09-23 | tooling | none | magic | b16998a617 |
| 2024-10-09 | mojo_version | * | 24.5.0 | c762c54ade |
| 2024-12-18 | mojo_version | 24.5.0 | 24.6.0 | 4b43edb421 |
| 2025-07-27 | mojo_version | 24.6.0 | 25.4.0 | 965e5928c5 |
| 2025-07-27 | tooling | magic | pixi | 965e5928c5 |
| 2025-08-05 | mojo_version | 25.4.0 | 25.5.0 | eacd226128 |
| 2026-07-12 | mojo_version | 25.5.0 | 1.0.0 | d786ccf822 |
Commits
Commit types: Feature 8% · Fix 5% · Mojo version 11% · Migration 1% · Refactor 7% · Docs 51% · Tests 1% · Build and chores 4% · Merge 1% · Other 12%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-04 | 95674f6062 | Other +docs | TinyStories: preserve shard order; fix script name in usage docs (#4, #5) | 6,279 | pixi | 1.0.0 |
| 2026-08-13 | 0ccc77f115 | Docs | README: drop stale 'Beyond 1.0' phrasing | 6,279 | pixi | 1.0.0 |
| 2026-08-13 | 64c5e078fb | Migration | Migrate to Mojo 1.0.0 | 6,279 | pixi | 1.0.0 |
| 2026-07-18 | 0eb89a873a | Docs | README: clarify port targets earlier llm.c; rename llm.🔥 to llm.mojo | 6,288 | pixi | 1.0.0 |
| 2026-07-18 | b28eb109f7 | Docs | Refresh CPU benchmark: naive train_gpt2.c vs train_gpt2.mojo | 6,288 | pixi | 1.0.0 |
| 2026-07-17 | 591779d6ae | Refactor | Move changelog to changelog.md; add variants entry | 6,288 | pixi | 1.0.0 |
| 2026-07-17 | 2a5e5d8aee | Feature | Add linalg CPU variants (V1, V2) with benchmark comparison | 6,288 | pixi | 1.0.0 |
| 2026-07-12 | d786ccf822 | Mojo version | prepare for Mojo 1.0 | 2,262 | pixi | 1.0.0 |
| 2025-08-05 | eacd226128 | Mojo version | update to mojo 25.5 | 2,379 | pixi | 25.5.0 |
| 2025-07-27 | b802817351 | Build and chores | benchmark 27.7.2025 | 2,379 | pixi | 25.4.0 |
| 2025-07-27 | 076fda3474 | Docs | benchmark update | 2,379 | pixi | 25.4.0 |
| 2025-07-27 | 965e5928c5 | Mojo version | update to Mojo 25.4 | 2,379 | pixi | 25.4.0 |
| 2025-07-04 | 28f0aaca65 | Docs | update | 2,388 | magic | 24.6.0 |
| 2025-07-04 | f655c52174 | Docs | update - project paused | 2,388 | magic | 24.6.0 |
| 2024-12-18 | 4b43edb421 | Mojo version | update to 24.6 | 2,388 | magic | 24.6.0 |
| 2024-10-15 | 3a86f9d7a5 | Build and chores | linux platform dded | 5,635 | magic | 24.5.0 |
| 2024-10-09 | c762c54ade | Mojo version | magic.lock added | 5,635 | magic | 24.5.0 |
| 2024-10-05 | abae19311c | Fix | typo | 5,635 | magic | * |
| 2024-10-04 | 5e46963641 | Docs | updated ... | 5,635 | magic | * |
| 2024-10-04 | 0bb7290338 | Docs | roadmap changed | 5,635 | magic | * |
| 2024-09-27 | 0bb15539c2 | Docs | changelog updated | 5,635 | magic | * |
| 2024-09-27 | 0b31c51ce6 | Feature +tests | llm.mojo for Mojo 24.5 nightly version, first commit | 5,635 | magic | * |
| 2024-09-24 | 7882744136 | Docs | magic link added | 3,470 | magic | * |
| 2024-09-24 | 6c16a8c8ee | Docs | updated | 3,470 | magic | * |
| 2024-09-24 | aebf95f877 | Docs | updated for magic/mojo24.4 | 3,470 | magic | * |
| 2024-09-24 | 8f5dd5734a | Docs | restructured | 3,470 | magic | * |
| 2024-09-24 | 426d4d4fec | Docs | updated | 3,470 | magic | * |
| 2024-09-24 | 8f53ed4563 | Mojo version +docs | updated for Mojo 24.4 | 3,470 | magic | * |
| 2024-09-23 | b16998a617 | Mojo version | added Mojo 24.4 support | 3,470 | magic | * |
| 2024-09-20 | 0b85db34ee | Docs | note about Mojo 24.5 | 3,470 | none | – |
| 2024-06-16 | 6c3db66b76 | Docs | changed 24.3 to 24.4 in how to use | 3,470 | none | – |
| 2024-06-07 | 41e1a16c8f | Docs | updated usage notes | 3,470 | none | – |
| 2024-06-07 | 99968f57bd | Mojo version | updated to Mojo 24.4 | 3,470 | none | – |
| 2024-06-07 | b0dafc43a8 | Mojo version +docs | updated to mojo 24.4 | 3,471 | none | – |
| 2024-05-05 | f12d40aa39 | Fix | typo | 3,471 | none | – |
| 2024-05-05 | fa6fe767b0 | Docs | update readme | 3,471 | none | – |
| 2024-05-05 | a5b4e2d5f0 | Docs | link to Mojo Getting Started | 3,471 | none | – |
| 2024-05-04 | e66da6b320 | Mojo version | update Mojo v 24.3 | 3,471 | none | – |
| 2024-05-04 | 1203c34a31 | Mojo version | update readme for Mojo 24.3 | 3,471 | none | – |
| 2024-05-04 | 2bd4386220 | Mojo version | update explaination for Mojo v 24.3 | 3,471 | none | – |
| 2024-05-04 | b4064e0556 | Fix | typo | 3,471 | none | – |
| 2024-05-04 | 4b55d460ad | Mojo version | update Mojo 24.3 | 3,471 | none | – |
| 2024-05-04 | 8be65da456 | Mojo version +tests | update file read to Mojo 24.3 | 3,471 | none | – |
| 2024-05-04 | 911d1a66ea | Other | update file read | 3,475 | none | – |
| 2024-05-04 | ebba544cfb | Fix | update test_gpt2.mojo | 3,488 | none | – |
| 2024-05-04 | db3bbabb08 | Docs | update test_gpt2.mojo | 3,490 | none | – |
| 2024-05-04 | 092625d1ca | Fix | typo | 3,490 | none | – |
| 2024-05-04 | ef639fc6a7 | Docs | bug fix note | 3,490 | none | – |
| 2024-05-04 | ec647f3243 | Tests | update prepo scripts | 3,490 | none | – |
| 2024-05-04 | 9ea0b81030 | Other | Update llm.c changes | 3,490 | none | – |
The latest 50 of 142 commits; all of them are in the JSON.