jjvraw / mograd
Autograd Tensor Library written in pure Mojo 🔥
Over time
2026-05-04 to 2026-08-18; peak 22,697 lines
2026-05-04 to 2026-08-18; 268 commits, counted up by commit date
- Opened 90
- Closed or merged 77
2026-06-01 to 2026-08-26; 90 issues and pull requests opened (19 issues, 71 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): gcc.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| bpr/minigrad | A tensor library with automatic differentiation in Mojo, modeled on Tinygrad. | 93% |
| ratulb/tenmo | A fast, lean and high performance Tensor library in Mojo🔥 | 87% |
| JulianChaoul16/Abscissa | Tensor compute library | 87% |
| SergiuDeveloper/mojo-tensor | A GPU-accelerated deep learning framework written in Mojo. Provides tensors, automatic differentiation, and neural network layers with explicit GPU kernel implementations. | 84% |
| basalt-org/basalt | A Machine Learning framework from scratch in Pure Mojo 🔥 | 84% |
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
4 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
10 open and 9 closed issues; 3 open, 18 merged and 50 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 13 | Cleanup `__init__`s for Op, OpRef, Buffer | 2026-07-09 | – | 1 |
| 63 | Fixed Point Simplification | 2026-07-09 | – | 0 |
| 62 | Custom lib kernels need more complete testing | 2026-07-02 | – | 0 |
| 58 | Broadcasting | 2026-06-26 | – | 0 |
| 51 | Vendor matmul support | 2026-06-26 | – | 0 |
| 50 | Graph Assertions / Paramaterised Tensor | 2026-06-26 | – | 0 |
| 55 | Casting Rules | 2026-06-22 | – | 0 |
| 37 | Copies vs Views | 2026-06-15 | – | 0 |
| 25 | Clean up realise/materialise ops | 2026-06-11 | – | 0 |
| 4 | KGEN_CompilerRT_DestroyGlobals | 2026-06-07 | – | 0 |
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 90 | [Deps] Bump to Mojo 1.1.0.dev2026082505 / MAX 26.6.0.dev2026082505 | 2026-08-26 | open | 0 |
| 89 | [Deps] Pin compiler | 2026-08-18 | closed | 0 |
| 88 | [Deps] Migrate to Mojo 1.1 nightly | 2026-08-16 | closed | 0 |
| 87 | [Runtime] Add caching device-memory allocator | 2026-08-16 | closed | 0 |
| 86 | [Deps] Pin lockfiles to Mojo 1.0.0b3.dev2026062206, MAX 26.5.0.dev2026062206 | 2026-08-06 | open | 0 |
| 85 | [Device][Tensor] Draw factory seeds from a per-device RNG stream | 2026-08-05 | closed | 0 |
| 84 | Dtype semantics | 2026-08-05 | closed | 1 |
| 83 | [Deps] Pin lockfiles to Mojo 1.0.0b3.dev2026062206, MAX 26.5.0.dev2026062206 | 2026-08-05 | closed | 0 |
| 82 | [Docs][CI] mograd docs site | 2026-08-04 | open | 0 |
| 81 | [Docs][CI] mograd site and API generation | 2026-08-04 | closed | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-05-04 | mojo_version | – | 1.0.0 | faf5d96b39 |
| 2026-05-04 | tooling | none | pixi | faf5d96b39 |
| 2026-06-22 | packaging | none | rattler | 41721923ba |
| 2026-08-18 | mojo_version | 1.0.0 | 1.1.0.dev2026081605 | 9f872acfe6 |
Commits
Commit types: Feature 8% · Fix 10% · Mojo version 5% · Migration 0% · Refactor 22% · Docs 3% · Tests 3% · Build and chores 6% · Other 43%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-08-18 | 38e0a72f03 | Build and chores | [Deps] Pin compiler | 22,696 | pixi | 1.1.0.dev2026081605 |
| 2026-08-18 | a304919092 | Docs | [Docs] Document memory pooling management | 22,696 | pixi | 1.1.0.dev2026081605 |
| 2026-08-18 | 9f872acfe6 | Migration +tests | [Deps] Migrate to Mojo 1.1 nightly | 22,697 | pixi | 1.1.0.dev2026081605 |
| 2026-08-18 | f12ef9b6b2 | Other | [Chore] Add CODEOWNERS | 22,399 | pixi | 1.0.0 |
| 2026-08-16 | a2e7883d39 | Feature +tests | [Runtime] Add caching device-memory allocator | 22,399 | pixi | 1.0.0 |
| 2026-08-07 | ce194e52e9 | Refactor | [Graph][NFC] Compute relu's grad mask from output | 21,687 | pixi | 1.0.0 |
| 2026-08-07 | 5d6f15d314 | Tests | [Tests] Missing test for folding contiguous at construction | 21,687 | pixi | 1.0.0 |
| 2026-08-07 | edc875f662 | Feature +tests | [Graph] Add layout equality, fold identify reshapes at construction | 21,682 | pixi | 1.0.0 |
| 2026-08-07 | e14784259e | Fix +tests | [Graph] Raise for missing grad rules and add `non_differentiable` rule | 21,648 | pixi | 1.0.0 |
| 2026-08-07 | 5bc5b83b32 | Fix +tests | [Tensor][Graph] Literal dtype inference and type promotion | 21,547 | pixi | 1.0.0 |
| 2026-08-06 | e8f8b39cbd | Fix +tests | [Tensor][Graph] CAST simplification and gradient rule (#70) | 21,467 | pixi | 1.0.0 |
| 2026-08-05 | 56ed214bb8 | Refactor | [Runtime][NFC] Split host dispatch and strided device helpers | 21,427 | pixi | 1.0.0 |
| 2026-08-05 | a4cfed8581 | Fix +tests | [Device][Tensor] Draw factory seeds from a per-device RNG stream | 21,352 | pixi | 1.0.0 |
| 2026-08-04 | 8f60752fec | Other +tests | [Graph][Tensor] Only floating-point tensors have gradients | 21,285 | pixi | 1.0.0 |
| 2026-08-04 | 7bb18e2283 | Other | [NFC] Iterate directly where the index is only used to index (#79) | 21,248 | pixi | 1.0.0 |
| 2026-08-02 | 34f41b7eda | Fix +tests | [NN] Fix SGD gradient indexing past an unset Parameter (#72) | 21,251 | pixi | 1.0.0 |
| 2026-08-02 | 80b390d28c | Fix +tests | [Tensor] Zero gradient for disconnected targets (#71) | 21,215 | pixi | 1.0.0 |
| 2026-08-02 | e607200423 | Refactor | [Tensor][NFC] Take `gradient` by read (#73) | 21,181 | pixi | 1.0.0 |
| 2026-08-01 | 9a5648e9ab | Refactor | [Data][NFC] Remove numpy dep for LazyLoader | 21,181 | pixi | 1.0.0 |
| 2026-08-01 | 8207acac27 | Docs | [Docs] Update readme example | 21,174 | pixi | 1.0.0 |
| 2026-08-01 | a0e6567aa7 | Feature +tests | [Debug] Add `MOGRAD_DEBUG` levels for dispatch trace, throughput, graph dump, device stats | 21,174 | pixi | 1.0.0 |
| 2026-08-01 | 5913efd0bb | Feature | [Device][NFC] Add `Device.get_function` helper | 20,930 | pixi | 1.0.0 |
| 2026-07-31 | b12289680c | Build and chores | [CI] Experimental fix for macOS compilation overflow | 20,926 | pixi | 1.0.0 |
| 2026-07-31 | f3812d0987 | Refactor | [Tensor][NFC] Remove Tensor._grad, and unused imports | 20,926 | pixi | 1.0.0 |
| 2026-07-31 | c2ad0f02e9 | Feature +tests | [NN] Introduce `Parameter` | 20,934 | pixi | 1.0.0 |
| 2026-07-31 | 7c06e624a1 | Refactor | [NN][NFC] Restructure nn & optim | 20,907 | pixi | 1.0.0 |
| 2026-07-31 | 5020d52d26 | Refactor +tests | [NN] Let `Module` inherit `Movable` and introduce seperate `Optimizer` trait | 20,903 | pixi | 1.0.0 |
| 2026-07-30 | 116b8fdaa1 | Docs | [Docs] Minimal example in readme | 20,885 | pixi | 1.0.0 |
| 2026-07-30 | 032767228b | Mojo version | [Deps] Pin mojo & max | 20,885 | pixi | 1.0.0 |
| 2026-07-30 | a3580b64bb | Other +tests | [Graph] Return Optional src grads, stop backprop into non-differentiable inputs | 20,885 | pixi | 1.0.0 |
| 2026-07-30 | d946b8d0c8 | Docs | [Docs] Brief design philosophy | 20,888 | pixi | 1.0.0 |
| 2026-07-23 | c4b7ee200f | Tests | [Tests] Add attention generic path, clean up test harness | 20,888 | pixi | 1.0.0 |
| 2026-07-10 | 4ba3db1a4c | Refactor +tests | [GPU] Attention metal-path | 20,042 | pixi | 1.0.0 |
| 2026-07-10 | bad4c3a76c | Other | [GPU] Single smem base with comptime offsets | 18,799 | pixi | 1.0.0 |
| 2026-07-10 | b3237b1ab1 | Feature +tests | [GPU][Tensor][Graph] Fused flash attention, multi-output ops, SCALE optype | 18,815 | pixi | 1.0.0 |
| 2026-06-28 | 82f28f6114 | Refactor | [Examples] Tinyshakespear model config change + set_lr usage | 11,744 | pixi | 1.0.0 |
| 2026-06-28 | e8ea3f3633 | Other | [Graph] Adam.set_lr | 11,732 | pixi | 1.0.0 |
| 2026-06-28 | e91d8fcbb4 | Other | [GPU] Three pass LayerNorm backwards perf improvement | 11,726 | pixi | 1.0.0 |
| 2026-06-27 | 99cd49fa75 | Other +tests | [GPU] Fused LayerNorm | 11,551 | pixi | 1.0.0 |
| 2026-06-27 | 313068a721 | Feature +tests | [Graph] Support multi-output ops | 10,958 | pixi | 1.0.0 |
| 2026-06-27 | dd866de813 | Refactor | [Examples] Clean up | 10,865 | pixi | 1.0.0 |
| 2026-06-27 | 0123cc7807 | Other +tests | [Chore] Prefix transpose with argument (MATMUL_T -> MATMUL_BT) | 10,864 | pixi | 1.0.0 |
| 2026-06-27 | cacaab131b | Other | [Examples] Tinyshakespear | 10,864 | pixi | 1.0.0 |
| 2026-06-26 | 50476f7da1 | Fix | [Scripts] Fix MetalToolchain predicate | 10,699 | pixi | 1.0.0 |
| 2026-06-26 | a8ea3fa472 | Feature +tests | [Graph] LayerNorm, Adam, AdamW | 10,699 | pixi | 1.0.0 |
| 2026-06-26 | a9a21eb1ef | Fix +tests | [Graph] Fix transpose grad, contiguous grad, and arbitrary-rank Linear | 10,360 | pixi | 1.0.0 |
| 2026-06-25 | 59b45b6268 | Refactor | [Graph] Simplify reshape grad | 10,272 | pixi | 1.0.0 |
| 2026-06-25 | d11bc2208e | Other | [Graph] Tensor.zeros and rank | 10,272 | pixi | 1.0.0 |
| 2026-06-25 | e66839b534 | Tests | [Tests] Fix old SGD call | 10,265 | pixi | 1.0.0 |
| 2026-06-25 | 5c91c3bd62 | Other | [Graph] ModuleParam | 10,262 | pixi | 1.0.0 |
The latest 50 of 268 commits; all of them are in the JSON.