ratulb / tenmo
A fast, lean and high performance Tensor library in Mojo🔥
Over time
2025-04-22 to 2026-10-28; peak 185,947 lines
2025-04-22 to 2026-10-28; 1,517 commits, counted up by commit date
- Opened 17
- Closed or merged 13
2026-10-02 to 2026-10-28; 17 issues and pull requests opened (12 issues, 5 pull requests), from GitHub by mojo_issues
Dependencies
Depends on ehsanmok/mojodoc, ratulb/mbpe.
Used by ratulb/chargpt.
Declared in its manifests at HEAD (toolchain left out): mbpe, mnist-datasets, mojodoc, openblas, pure-cifar-10, pytest, pytest-cov, python, tiktoken.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| JulianChaoul16/Abscissa | Tensor compute library | 91% |
| jjvraw/mograd | Autograd Tensor Library written in pure Mojo 🔥 | 87% |
| bpr/minigrad | A tensor library with automatic differentiation in Mojo, modeled on Tinygrad. | 86% |
| robinber/spark-tensor-access | A bounded DGX Spark experiment comparing direct and packed tensor-block access, using Mojo and Rust. | 83% |
| henlamp/axisweave-mojo | Named-axis CPU tensor transformations and borrowed views in Mojo | 82% |
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
1 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
1 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-05-01 | v0.1.0 | – | git tag | 0.26.2.0 | b94e801902 |
| 2025-11-23 | pre-intarray-absorption | – | git tag | – | 73c2b50a82 |
| 2025-05-30 | struct_gradient | – | git tag | 25.4.0.dev2025052817 | 2be7a48eb1 |
Issues and pull requests
4 open and 8 closed issues; 0 open, 5 merged and 0 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 16 | Add topk tensor operation | 2026-10-24 | – | 0 |
| 9 | Support broadcast advanced indexing with tensor indices | 2026-10-23 | – | 1 |
| 11 | Support boolean masking in indexing | 2026-10-23 | – | 2 |
| 5 | Support DType.int at host/API boundaries without making it the default index dtype | 2026-10-20 | – | 0 |
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 17 | Migrate/mojo 1.2 max 26.7 | 2026-10-28 | merged | 0 |
| 15 | Accumulated fixes | 2026-10-23 | merged | 0 |
| 3 | Integration | 2026-10-07 | merged | 0 |
| 2 | Integration | 2026-10-03 | merged | 0 |
| 1 | On going changes | 2026-10-02 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2025-04-22 | mojo_version | – | * | 8adad85585 |
| 2025-04-22 | tooling | none | magic | 8adad85585 |
| 2025-04-22 | mojo_version | * | 25.3.0.dev2025042205 | 38f01cc869 |
| 2025-05-21 | mojo_version | 25.3.0.dev2025042205 | 25.4.0.dev2025052105 | 186dce2edc |
| 2025-05-28 | mojo_version | 25.4.0.dev2025052105 | 25.4.0.dev2025052605 | 38eab8d324 |
| 2025-05-28 | mojo_version | 25.4.0.dev2025052605 | 25.4.0.dev2025052817 | 9f3208f673 |
| 2025-06-03 | mojo_version | 25.4.0.dev2025052817 | 25.4.0.dev2025060220 | 9d23813bbd |
| 2025-06-09 | mojo_version | 25.4.0.dev2025060220 | 25.4.0.dev2025060805 | 6b33bf0db9 |
| 2025-06-10 | mojo_version | 25.4.0.dev2025060805 | 25.4.0.dev2025061005 | 18b8bc7e67 |
| 2025-06-16 | mojo_version | 25.4.0.dev2025061005 | 25.5.0.dev2025061505 | 61541a02a0 |
| 2025-06-25 | mojo_version | 25.5.0.dev2025061505 | 25.5.0.dev2025062505 | 1ee0c02162 |
| 2025-06-30 | mojo_version | 25.5.0.dev2025062505 | 25.5.0.dev2025062815 | 0386c94a49 |
| 2025-07-19 | mojo_version | 25.5.0.dev2025062815 | 25.5.0.dev2025071818 | f139285ec0 |
| 2026-05-01 | mojo_version | 25.5.0.dev2025071818 | 0.26.2.0 | 9be60ae57f |
| 2026-05-01 | tooling | magic | pixi | 9be60ae57f |
| 2026-05-28 | mojo_version | 0.26.2.0 | 1.0.0 | af91bad5e5 |
| 2026-10-02 | mojo_version | 1.0.0 | 1.1.0 | 884c0a3c44 |
| 2026-10-10 | packaging | none | rattler | e074bf9166 |
| 2026-10-28 | mojo_version | 1.1.0 | 1.2.0 | 784077281d |
Commits
Commit types: Feature 4% · Fix 12% · Mojo version 1% · Migration 1% · Refactor 25% · Performance 0% · Docs 5% · Tests 1% · Build and chores 4% · Merge 1% · Other 45%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-28 | 3fe7075d44 | Fix | Fix compiler warnings in CPU test sources | 185,947 | pixi | 1.2.0 |
| 2026-10-28 | e2dc231be4 | Mojo version | Pin mbpe to upstream Mojo 1.2 revision | 185,947 | pixi | 1.2.0 |
| 2026-10-28 | 784077281d | Migration | Migrate to Mojo 1.2.0 and MAX 26.7 | 185,947 | pixi | 1.2.0 |
| 2026-10-25 | cff2a7a03c | Other | Code comments | 185,919 | pixi | 1.1.0 |
| 2026-10-25 | d2978589aa | Other | if init_seed=None, a fresh full-width seed is drawn per call (random_ui64(0, UInt64.MAX)); pass an explicit value for reproducibility. | 185,900 | pixi | 1.1.0 |
| 2026-10-25 | 5b089c5ffa | Refactor | Got rid of ternary | 185,899 | pixi | 1.1.0 |
| 2026-10-25 | c29f7bf02a | Refactor | Use min instead of ternary | 185,899 | pixi | 1.1.0 |
| 2026-10-24 | 547446c255 | Performance | Optimize sampling | 185,899 | pixi | 1.1.0 |
| 2026-10-24 | 8092e0e26f | Refactor | Move topk implementation into its own module | 185,868 | pixi | 1.1.0 |
| 2026-10-24 | a1dffdb49e | Feature +tests | Add topk tensor operation (#16) | 185,859 | pixi | 1.1.0 |
| 2026-10-23 | 6ad6a8b6b4 | Refactor +tests | Expose treat_nan_equal in all_close (#4) | 185,641 | pixi | 1.1.0 |
| 2026-10-23 | 4c85c9a6f2 | Merge +tests | Merge pull request #15 from ratulb/accumulated-fixes | 185,623 | pixi | 1.1.0 |
| 2026-10-22 | 793d662976 | Feature +tests | Add Tensor.cat(tuple) for PyTorch-style concatenation (issue #7) | 184,974 | pixi | 1.1.0 |
| 2026-10-20 | 86808055a9 | Build and chores | pixi.lock file change | 184,846 | pixi | 1.1.0 |
| 2026-10-20 | 6c9553e14e | Refactor | print header based on flag and Epsilon | 184,846 | pixi | 1.1.0 |
| 2026-10-14 | 7a4ef25d74 | Build and chores | public_id | 184,843 | pixi | 1.1.0 |
| 2026-10-13 | 1b034ee8ab | Merge | Merge branch 'docs/gpt2-weight-loading' into main (excl. weight-loading doc) | 184,843 | pixi | 1.1.0 |
| 2026-10-13 | 49b35a880e | Other +tests | freeze/unfreeze cascade: Linear, LayerNorm, attention, MLP, block, embeddings, GPTModel | 184,640 | pixi | 1.1.0 |
| 2026-10-12 | eaed867046 | Fix +tests | Reshape returns stride-compatible views instead of copying | 184,468 | pixi | 1.1.0 |
| 2026-10-11 | f081dd2edd | Refactor +tests | Rename unsafe_freeze to frozen, add seed to data loaders | 184,164 | pixi | 1.1.0 |
| 2026-10-10 | fb118c47b3 | Fix | Fix tenmo conda build: max in host env, -I host mojoc dir | 184,103 | pixi | 1.1.0 |
| 2026-10-10 | e074bf9166 | Other | Make tenmo consumable as a pixi source dependency | 184,103 | pixi | 1.1.0 |
| 2026-10-08 | c74eb5c646 | Merge +tests | Merge pull request #3 from ratulb/integration | 184,082 | pixi | 1.1.0 |
| 2026-10-03 | 5ea6e695f9 | Build and chores | Public key | 182,088 | pixi | 1.1.0 |
| 2026-10-03 | 4820cd81f4 | Merge +tests | Merge pull request #2 from ratulb/integration | 182,088 | pixi | 1.1.0 |
| 2026-10-03 | 53fd54f542 | Other | Public ssh id | 181,571 | pixi | 1.1.0 |
| 2026-10-03 | 29879eefda | Refactor | Revise GPU Conv2D documentation | 181,571 | pixi | 1.1.0 |
| 2026-10-03 | add4793942 | Refactor | Normalize double-backtick inline code markers in comments | 181,571 | pixi | 1.1.0 |
| 2026-10-03 | 9264bc6a34 | Refactor | Removed redundant reference | 181,571 | pixi | 1.1.0 |
| 2026-10-03 | fead1eab24 | Build and chores +tests | chore: bump dependency versions | 181,572 | pixi | 1.1.0 |
| 2026-10-02 | 351833c25c | Docs | Update README to clarify library description | 181,581 | pixi | 1.1.0 |
| 2026-10-02 | 884c0a3c44 | Merge +tests | Merge pull request #1 from ratulb/integration | 181,581 | pixi | 1.1.0 |
| 2026-10-02 | def3bf83d8 | Fix | Fix variable declaration syntax in test_relu.mojo | 169,371 | pixi | 1.0.0 |
| 2026-09-30 | 6a3a266f0e | Other | pixi lock file corrupted | 169,371 | pixi | 1.0.0 |
| 2026-09-29 | b0e4010e30 | Refactor | Rename pub id | 169,371 | pixi | 1.0.0 |
| 2026-09-29 | 0c87ca6d4f | Other | Public id | 169,371 | pixi | 1.0.0 |
| 2026-08-13 | 0c5354a5f7 | Build and chores | Public Id | 169,371 | pixi | 1.0.0 |
| 2026-08-11 | 897597bc49 | Merge | Merge branch 'main' of https://github.com/ratulb/tenmo | 169,371 | pixi | 1.0.0 |
| 2026-08-11 | b6e4c448f2 | Build and chores | Public Id | 169,371 | pixi | 1.0.0 |
| 2026-07-15 | 14dead268e | Refactor | Delete PERFORMANCE_BOTTLENECKS.md | 169,371 | pixi | 1.0.0 |
| 2026-07-08 | 68aa3ca677 | Other | pixi lock | 169,371 | pixi | 1.0.0 |
| 2026-07-08 | 051d7279c3 | Feature | Add link to Tenmo post in introduction | 169,371 | pixi | 1.0.0 |
| 2026-07-08 | 696e21ca2a | Merge | Merge branch 'main' of https://github.com/ratulb/tenmo | 169,371 | pixi | 1.0.0 |
| 2026-07-08 | 9c5a22a2ff | Docs | Bytes to gradients post | 169,380 | pixi | 1.0.0 |
| 2026-07-04 | cc6bb61b05 | Fix | Fix whitish background flicker before we land in the final page | 169,380 | pixi | 1.0.0 |
| 2026-07-04 | c168600610 | Fix | Fix whitish background flicker before we land in the final page | 169,380 | pixi | 1.0.0 |
| 2026-07-01 | 5b835b52ac | Refactor | Delete examples/mnist_gpu_prof.mojo | 169,380 | pixi | 1.0.0 |
| 2026-07-01 | 0941000670 | Refactor | Delete examples/imdb_sentiment_v2.mojo | 169,798 | pixi | 1.0.0 |
| 2026-07-01 | ef9381a8f4 | Refactor | Delete examples/gpt_dataset_demo.mojo | 170,225 | pixi | 1.0.0 |
| 2026-07-01 | e69d542eb3 | Refactor | Delete examples/imdb_sentiment_v1.mojo | 170,275 | pixi | 1.0.0 |
The latest 50 of 1517 commits; all of them are in the JSON.