Mojourney

tairov / llama2.mojo

Inference Llama 2 in one file of pure 🔥

GitHub ↗ · first seen in GH Archive 2026-09-12 (name / language) · 2,941 lines of Mojo in 6 files at the last of 100 commits (2023-09-10 to 2026-09-19)

Stars2,126as of 2026-11-23
Forks141as of 2026-11-23
Depends on0Mojo libraries, of 0 declared
Used by0census repos that depend on it
Open issues0
Watchers26
Created2023-09-103.2 years ago
Lines of Mojo2,9416 files
Commits1002023-09-10 to 2026-09-19
Contributors151 new in 2026-09
Mojo version1.1from README: README.md
CategoryLibraries and toolsapproximate
Toolingnone
Packagingnone
LicenseMIT

Over time

2023-09-10 to 2026-09-19; peak 2,989 lines

Similar repos

RepoDescriptionSimilarity
mrvoll98/trellis2-mojoPure-Mojo inference port of Microsoft's TRELLIS.2 image-to-3D pipeline for Apple Silicon — Metal GPU offload, watertight dual-contouring remesh, textured GLB export82%
stelmanjones/llama2.mojo–81%
TheAlgorithms/MojoAll algorithms implemented in Mojo. (The first open-sourced Mojo repository on GitHub)81%
jagtesh/gguf-mojo(WIP) Attempt to create Mojo binding for GGUF and hopefully use it to run inference with Llama 2 Mojo library81%
emd1tey/mojo-example-appSample llama2 with mojo🔥 lamguage81%

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 (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-10055111032023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • stars
  • forks

2,104 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

People with a commit each month, and the ones with their first, 2023-09 to 2026-0905102023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • contributors
  • new

15 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

DateTagNameFromMojo versionCommit
2026-09-30autotune/m1-h1-rope-barrier–git tag–5de9501c21
2026-09-30autotune/m1-h2-row-tiles–git tag–b49116e3dc
2026-09-30autotune/m1-h3-generation-pool–git tag–d2d83f045c
2026-09-30autotune/m1-h4-barrier-padding–git tag–93cc6750ee
2026-09-30autotune/m1-h5-worker-arrivals–git tag–7527b44205
2026-09-30autotune/m1-h6-worker-qos–git tag–56c783fa68

Issues and pull requests

0 open and 45 closed issues; 0 open, 33 merged and 20 closed pull requests, from GitHub by mojo_issues.

Pull requests

#TitleOpenedStateComments
103perf: reduce CPU dispatch overhead for small inference kernels2026-09-12closed0
102Persistent worker pool: fix multi-threaded scaling after the Mojo 1.0 upgrade2026-09-12merged0
101Upgrade to Mojo 1.0 (Modular 26.5)2026-09-12merged0
100Fix tinyllama inference2025-11-23merged0
99Fix perfmance v0.25.72025-11-21merged0
98Upgrade to Mojo compiler ver. 0.25.7.0.dev20251113052025-11-20merged0
97Fix compilation errors by Sonnet 4.5 / cursor2025-11-14closed2
94Update to Mojo 24.3.02024-05-21closed2
91Use String, Dict, and read_bytes to shorten and simplify 2024-04-22merged0
90Finalize Update to Mojo 24.2.12024-04-17closed1

Migrations

No migrations recorded

No change of Mojo version or tooling between the commits read so far.

Commits

Commit types: Feature 18% · Fix 9% · Mojo version 5% · Migration 1% · Refactor 20% · Docs 20% · Build and chores 2% · Merge 13% · Other 12%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-09-19b86ad446c7Mojo version +docsUpdate for Mojo 1.1 compatibility2,941none–
2026-09-120baf4d4613Migration +docsPersistent worker pool: fix multi-threaded scaling after the Mojo 1.0 upgrade (#102)2,989none–
2026-09-12f6ce354220Mojo version +tests +docsUpgrade to Mojo 1.0 (Modular 26.5) (#101)2,710none–
2026-02-093c556c31b0DocsChange compatible version in README.md2,696none–
2026-02-06ec2b84d6f1Mojo version +tests +docsUpgrade to Mojo 0.26 and document refactor changes2,696none–
2025-11-3000c28f673dRefactorRemove unused file2,637none–
2025-11-305a6afb0bf1RefactorRemove outdated link to playground from README.md2,637none–
2025-11-2348a82cdafeRefactorRemove unnecessary funcs2,637none–
2025-11-2382d33da23dFix +testsFix tinyllama inference (#100)2,653none–
2025-11-2195db1915f1RefactorRefactor / Add Transformer struct Add workers param2,630none–
2025-11-219622301811Fix +tests +docsFix tests2,615none–
2025-11-211b2c4cf5e4OtherImprove performance v0.25.7 (#99)2,636none–
2025-11-20866570eb94OtherImports cleanup2,649none–
2025-11-20abc12c9a98Mojo version +testsUpgrade to Mojo compiler ver. 0.25.7.0.dev2025111305 (#98)2,655none–
2025-10-13b1a5816c2bDocsUpdate README.md add research links937none–
2024-05-215ecae5ab60OtherUse String, Dict, and read_bytes to shorten and simplify (#91)937none–
2024-04-17b2ad8b0ff9Mojo versionUpdate to 24.2 WIP (#89)1,094none–
2024-03-058082755f65DocsUpdate README.md1,095none–
2024-03-01c46f9b0137MergeMerge pull request #82 from jackos/update-24.11,095none–
2024-01-292c0127af27DocsUpdate compatible version link1,095none–
2024-01-295d375f9668Otherreduce memory use by streaming file to create weight tensors (#81)1,095none–
2023-12-06f292659f6bDocsUpdate README.md1,086none–
2023-12-02dc6cdfbb9cOtheravoid data copy when reading files1,086none–
2023-11-153824f3b3f5DocsUpdate README.md1,098none–
2023-11-1506c5acae7eOtherDRY _nelts < nelts checks with Accumulator1,098none–
2023-11-14eeb653dfceFeatureAdd print_config cli param1,091none–
2023-11-14a1a742b742DocsUpdate README.md1,081none–
2023-11-13ae531d649dDocsUpdate README.md1,081none–
2023-11-120f214ffdceDocsUpdate README.md1,081none–
2023-11-12a4c60e7a30FeatureAdd Mac M1 Max benchmarks1,081none–
2023-11-11d098eb324dDocsUpdate README.md add latest benchmark results1,081none–
2023-11-11485fe286efDocsUpdate README.md add latest benchmark results1,081none–
2023-11-031ec0fef3f7Refactorfree all allocated pointers1,081none–
2023-11-03622120202dBuild and choresBump supported version to 0.5.01,071none–
2023-11-034380e14858Refactoruse mojo file reader, remove read/ folder (#50)1,071none–
2023-11-026a2b7ffd91Fixbugfix: Dockerfile Modular Auth + Conda env1,414none–
2023-10-2861b44ecde9RefactorChange simd width multiplier 2->41,414none–
2023-10-281f93c27e67Otherfuse matmuls with shared inputs1,414none–
2023-10-211364705318DocsUpdate README.md. Add huggingface link1,344none–
2023-10-21bfc7e9961aFixfix typos in docker file1,344none–
2023-10-196889270b12DocsUpdate README.md1,344none–
2023-10-10c9ed92cdfbRefactorKeep default value for workers = num_cores()1,344none–
2023-10-10512c8cfb05RefactorRename cores to workers and set to opimal1,344none–
2023-10-086cdd951ef5FixFix typo1,344none–
2023-10-088aa863694cFeatureAdd param to set threads1,345none–
2023-10-087c2bc3ba41DocsUpdate README.md1,343none–
2023-10-0875bc698a91DocsUpdate README.md1,343none–
2023-10-086c5df134ebOtheradapt to mojo 0.4 (#41)1,343none–
2023-10-041321b7c990DocsUpdate benchmarks after merging latest PR1,345none–
2023-10-04661b29caffDocsUpdate benchmarks after merging latest PR1,345none–

The latest 50 of 100 commits; all of them are in the JSON.