gabrieldemarmiesse / torch-mojo-backend
Over time
2025-08-05 to 2026-10-19; peak 207,164 lines
2025-08-05 to 2026-10-19; 639 commits, counted up by commit date
- Opened 700
- Closed or merged 634
2025-08-06 to 2026-10-20; 700 issues and pull requests opened (59 issues, 641 pull requests), from GitHub by mojo_issues
Dependencies
Depends on Mosaad-M/requests.
Declared in its manifests at HEAD (toolchain left out): coverage, docs, expecttest, hatchling, ipython, matplotlib, max-mojo-libs, mike, mkdocs, mkdocs-include-markdown-plugin, mkdocs-material, mojo-compiler-mojo-libs, mojo-lldb-libs, nvidia-cuda-nvcc-cu12, nvidia-nccl-cu12, pillow, platformdirs, pydantic, pytest, pytest-cov, pytest-forked, pytest-random-order, pytest-split, pytest-xdist, requests, rich, ruff, setuptools, tabulate, tiktoken, torch, torchvision, transformers, ty.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| nico-byte/mojo-torch | – | 87% |
| millfolio/engine | Experimental native mojo backend. | 82% |
| enriquesouza/mojoflask | – | 81% |
| Deufel/mojo | Mojo playground repo | 81% |
| axiomhq/mojo-hyperloglog | – | 81% |
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
6 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-08-18 | v0.3.1 | – | git tag | 1.0.0 | b5a7365855 |
| 2026-08-18 | v0.3.0 | – | git tag | 1.0.0 | a3507f30e5 |
| 2025-08-20 | v0.2.0 | – | git tag | 25.6.0.dev2025081619 | 9cbeac72ee |
| 2025-08-16 | v0.1.1 | – | git tag | 25.6.0.dev2025081505 | 72617ed0ca |
| 2025-08-16 | v0.1.0 | – | git tag | 25.6.0.dev2025081505 | acea84d294 |
Issues and pull requests
41 open and 18 closed issues; 25 open, 508 merged and 108 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 682 | torch.compile: a symbolic view of another (non-input) output gets offset 0 | 2026-10-17 | bug | 0 |
| 681 | torch.compile: dynamic-shape recompile crashes on a specialized SymInt placeholder ('Integer' object has no attribute 'name') | 2026-10-17 | bug | 0 |
| 680 | torch.compile: clone / _to_copy / copy return the input itself, so the 'copy' aliases it | 2026-10-17 | bug | 0 |
| 675 | torch.compile on CPU tensors: log of subnormal inputs is wrong (fp32 and fp64) | 2026-10-16 | bug | 0 |
| 671 | float64 is largely unsupported on the mojo device (checklist) | 2026-10-16 | enhancement | 0 |
| 670 | Missing mixed-dtype promotion in several ops (NotImplementedError / compile errors where torch promotes) | 2026-10-16 | bug | 0 |
| 669 | torch.compile(backend="inductor") on bf16 mojo tensors fails: is_bf16_supported() lacks including_emulation | 2026-10-16 | bug | 0 |
| 668 | mojoccl: init_process_group after destroy_process_group fails in ncclCommInitRank | 2026-10-16 | bug | 0 |
| 667 | dist.split_group always fails: the default process group never gets bound_device_id | 2026-10-16 | bug | 0 |
| 666 | register_mojo_devices() enables swap_module_params_on_conversion process-wide, breaking load_state_dict for RNN/GRU/LSTM | 2026-10-16 | bug | 0 |
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 700 | Eager unary ops and casts: bit-identical to stock CUDA on NVIDIA | 2026-10-20 | open | 0 |
| 699 | Apply the batch_isend_irecv and has_triton patches only below torch 2.14 | 2026-10-19 | merged | 0 |
| 698 | Drop the global swap-on-conversion flag: mojo kernel for _has_compatible_shallow_copy_type | 2026-10-19 | merged | 0 |
| 697 | Mojo ops: one implementation per shared helper (dedup) | 2026-10-19 | open | 0 |
| 696 | tests: share the op-ran, float64-skip, Metal and subprocess helpers; one bench helper for reductions | 2026-10-19 | open | 0 |
| 695 | Kernels: share duplicated host helpers (dispatchers, acc dtype, atomic scope, MMA8, dx ladder, ...) | 2026-10-19 | open | 0 |
| 694 | aten_functions: share the argmax/argmin, amax/amin and _foreach bodies; fix compiled argmax/argmin on non-innermost dims | 2026-10-19 | open | 0 |
| 693 | shim: one exception-to-status wrapper for the C-ABI entries | 2026-10-19 | merged | 0 |
| 692 | Share the libcuda wrappers, flag reader and torch-version parse; search librccl under HIP_PATH too | 2026-10-19 | open | 0 |
| 691 | Tests: live stock-CUDA oracle replaces the recorded CUDA goldens | 2026-10-19 | open | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2025-08-05 | mojo_version | – | 25.5.0 | 277cf292c0 |
| 2025-08-05 | tooling | none | uv | 277cf292c0 |
| 2025-08-13 | mojo_version | 25.5.0 | 25.6.0.dev2025081205 | eb0151757d |
| 2025-08-14 | mojo_version | 25.6.0.dev2025081205 | 25.5.0 | b2efc23cfe |
| 2025-08-16 | mojo_version | 25.5.0 | 25.6.0.dev2025081505 | acea84d294 |
| 2025-08-17 | mojo_version | 25.6.0.dev2025081505 | 25.6.0.dev2025081619 | d62f750437 |
| 2025-09-04 | mojo_version | 25.6.0.dev2025081619 | 25.6.0.dev2025090305 | e202a6f399 |
| 2025-09-04 | mojo_version | 25.6.0.dev2025090305 | 0.25.6.0.dev2025090405 | 3a38649464 |
| 2025-09-09 | mojo_version | 0.25.6.0.dev2025090405 | 0.25.6.0.dev2025090805 | 1ebe520eda |
| 2025-09-22 | mojo_version | 0.25.6.0.dev2025090805 | 0.25.7.0.dev2025092205 | f59d5bb0cd |
| 2025-09-23 | mojo_version | 0.25.7.0.dev2025092205 | 0.25.7.0.dev2025092305 | 80c373f5e3 |
| 2025-10-01 | mojo_version | 0.25.7.0.dev2025092305 | 0.25.7.0.dev2025100101 | fbf880ed46 |
| 2025-10-16 | mojo_version | 0.25.7.0.dev2025100101 | 0.25.7.0.dev2025101518 | b34182722d |
| 2025-10-24 | mojo_version | 0.25.7.0.dev2025101518 | 0.25.7.0.dev2025102405 | c0598315fc |
| 2025-11-09 | mojo_version | 0.25.7.0.dev2025102405 | 0.25.7.0.dev2025110905 | 7ad4f73e2c |
| 2025-11-26 | mojo_version | 0.25.7.0.dev2025110905 | 0.26.1.0.dev2025112105 | 0a0ec4089d |
| 2025-11-26 | mojo_version | 0.26.1.0.dev2025112105 | 0.25.7.0 | c5eb3c5027 |
| 2026-02-20 | mojo_version | 0.25.7.0 | 0.26.2.0.dev2026022005 | 682397b44a |
| 2026-02-25 | mojo_version | 0.26.2.0.dev2026022005 | 0.26.2.0.dev2026022405 | d5ac2da94e |
| 2026-03-29 | mojo_version | 0.26.2.0.dev2026022405 | 0.26.3.0.dev2026032805 | 410398214f |
| 2026-04-08 | mojo_version | 0.26.3.0.dev2026032805 | 0.26.3.0.dev2026040805 | 92361fa447 |
| 2026-04-22 | mojo_version | 0.26.3.0.dev2026040805 | 0.26.3.0.dev2026042105 | f137e423d8 |
| 2026-06-18 | mojo_version | 0.26.3.0.dev2026042105 | 1.0.0 | e0bdbf6fa4 |
| 2026-09-25 | mojo_version | 1.0.0 | 1.1.0 | 0b24bf5565 |
Commits
Commit types: Feature 41% · Fix 8% · Mojo version 4% · Migration 1% · Refactor 9% · Performance 0% · Docs 3% · Tests 14% · Build and chores 3% · Merge 0% · Other 17%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-19 | 0e3e36d6ee | Other +tests | Drop the global swap-on-conversion flag: mojo kernel for _has_compatible_shallow_copy_type (#698) | 207,164 | uv | 1.1.0 |
| 2026-10-19 | 343a94dab3 | Other +tests | Apply the batch_isend_irecv and has_triton patches only below torch 2.14 (#699) | 207,101 | uv | 1.1.0 |
| 2026-10-19 | d2d0d073e5 | Build and chores | shim: one exception-to-status wrapper for the C-ABI entries (#693) | 207,101 | uv | 1.1.0 |
| 2026-10-18 | d242c2a8ab | Other +tests | Native asinh: bit-identical to stock CUDA, no cancellation for negative inputs (#689) | 207,101 | uv | 1.1.0 |
| 2026-10-17 | 6b83c02448 | Tests | test_loader: one cold backend build per CI run instead of one per shard (#686) | 206,571 | uv | 1.1.0 |
| 2026-10-17 | 893cb24d96 | Build and chores +tests | CI: run the torch.compile-on-CPU tests on the CPU runners (#685) | 206,571 | uv | 1.1.0 |
| 2026-10-17 | 83cc5743cb | Other +tests | Preserve torch stream semantics and parallelize inference with MAX side streams (#672) | 206,571 | uv | 1.1.0 |
| 2026-10-17 | 3ceb45a80b | Tests | Native log/log2: bit-identical to stock CUDA (fixes float32 subnormal inputs) (#673) | 206,571 | uv | 1.1.0 |
| 2026-10-17 | fdc9fc3787 | Refactor +tests +docs | Collective watchdog: report the library's asynchronous errors within a poll (#676) | 206,499 | uv | 1.1.0 |
| 2026-10-17 | 22f0cf5c60 | Tests | torch.compile: Python scalar arguments that change between calls (fixes #664) (#683) | 206,123 | uv | 1.1.0 |
| 2026-10-17 | a0c332cc67 | Other +tests | Cache get_device_properties per device (#677) | 206,123 | uv | 1.1.0 |
| 2026-10-17 | 0830bd5f34 | Other +tests | Collective flight recorder, modeled on PyTorch 2.14's (#678) | 206,123 | uv | 1.1.0 |
| 2026-10-17 | 7924725e65 | Other +tests | torch.compile: return input aliases as the input (fixes wrong gradients with compiled FSDP2) (#679) | 205,341 | uv | 1.1.0 |
| 2026-10-16 | 4d95126768 | Fix +tests | Fix MI300A math correctness and ROCm test assumptions (#649) | 205,341 | uv | 1.1.0 |
| 2026-10-16 | 3736f68d83 | Fix +tests | Fix Apple M4 test failures and verify CUDA fixtures in CI | 205,238 | uv | 1.1.0 |
| 2026-10-16 | 608e2eb15a | Other +tests | Collective watchdog: a distributed hang reports and exits (#646) | 204,900 | uv | 1.1.0 |
| 2026-10-16 | 756a761de1 | Feature +tests | torch._scaled_mm and _scaled_grouped_mm on the mojo device | 202,871 | uv | 1.1.0 |
| 2026-10-16 | d308637f18 | Other +tests | Float8 dtypes on the mojo device | 200,427 | uv | 1.1.0 |
| 2026-10-15 | 0bf2fb3d23 | Tests | Collectives inside graphs compiled with mojo_backend (#643) | 194,757 | uv | 1.1.0 |
| 2026-10-15 | 8d2473315b | Tests | Graph backend: index_put with an N-D index tensor (#645) | 194,397 | uv | 1.1.0 |
| 2026-10-15 | 08fafd1321 | Tests | Graph backend: a size-1 dim broadcast against a scalar keeps its 1 (#644) | 194,397 | uv | 1.1.0 |
| 2026-10-15 | f584826898 | Feature | torch.export tests on the mojo device | 194,397 | uv | 1.1.0 |
| 2026-10-15 | b859198648 | Other +tests +docs | Complex arithmetic, math and reductions on the mojo device | 194,397 | uv | 1.1.0 |
| 2026-10-15 | 4b72a96b94 | Feature +tests | FFT on the mojo device without cuFFT | 192,259 | uv | 1.1.0 |
| 2026-10-15 | 848c9a6d18 | Other +tests | Complex tensors on the mojo device | 190,635 | uv | 1.1.0 |
| 2026-10-14 | 244b7e852b | Other +tests | Native foreach reductions | 185,790 | uv | 1.1.0 |
| 2026-10-14 | a9f392c29f | Tests | Native foreach unary, binary and pointwise ops | 184,974 | uv | 1.1.0 |
| 2026-10-14 | f67214187d | Refactor | One multi-tensor apply for the foreach ops, registered from one table | 184,787 | uv | 1.1.0 |
| 2026-10-03 | e55f69ca94 | Other +tests | Follow-up to #506: linalg_cross and test-only ops on the mojo device; fix every Apple M4 failure of tests/native | 184,526 | uv | 1.1.0 |
| 2026-10-03 | a8480bfb07 | Other +tests | Follow-up to #506: vision ops, dense linear algebra and in-place op coverage on the mojo device | 183,990 | uv | 1.1.0 |
| 2026-10-02 | 45f19d0fd4 | Other +tests | Follow-up to #506: matmul, tensor utilities, reductions and indexing ops on the mojo device | 173,331 | uv | 1.1.0 |
| 2026-10-01 | 2917a6d11d | Feature +tests | Follow-up to #506: softmax, NLL/margin/CTC losses and the batch-norm family on the mojo device | 158,638 | uv | 1.1.0 |
| 2026-10-01 | 498f956e46 | Feature +tests | Follow-up to #506: fused LSTM/GRU cells, the transformer fast path and the remaining SDPA entry points on the mojo device | 152,183 | uv | 1.1.0 |
| 2026-10-01 | cdf6347741 | Other | Follow-up to #506: drop the 167 conformance declarations whose nodes now pass | 149,119 | uv | 1.1.0 |
| 2026-09-29 | ad40b2b077 | Refactor +tests | Follow-up to #506: fused optimizers, PReLU, random samplers, fused isclose and the last elementwise gaps on the mojo device | 149,119 | uv | 1.1.0 |
| 2026-09-28 | 74221464b7 | Other +tests | Follow-up to #506: add ~90 missing ops on the mojo device: elementwise dtype gaps, glu, data movement and indexing, padding, upsampling and pooling | 146,528 | uv | 1.1.0 |
| 2026-09-28 | 3703fe0b27 | Refactor +tests | Follow-up to #506: compute the general p-norm in double for float64 on the mojo device (#615) | 140,006 | uv | 1.1.0 |
| 2026-09-28 | ccdf8211fd | Tests | Follow-up to #506: support 0-d and empty operands in cumsum (#613) | 140,026 | uv | 1.1.0 |
| 2026-09-28 | 112e8dd9c7 | Fix | Fix Metal failures in cat.out with a converting out (#617) | 140,015 | uv | 1.1.0 |
| 2026-09-28 | ad6cde5b28 | Fix +tests | Fix Metal failures in printing tensors (#618) | 140,019 | uv | 1.1.0 |
| 2026-09-28 | 1788190381 | Other +tests | Follow-up to #506: raise IndexError/RuntimeError for bad reduce dims on the mojo device (#614) | 140,019 | uv | 1.1.0 |
| 2026-09-28 | 140fde224c | Fix | Fix Metal failures in scatter_add, index_add and index_put(accumulate=True) (#616) | 139,995 | uv | 1.1.0 |
| 2026-09-28 | 62dc40cbb6 | Feature +tests | Add 67 elementwise ops on the mojo device: deg2rad/ldexp/frexp, activations, losses, Bessel and special functions, orthogonal polynomials, rounding, the gamma family, i0 and logit | 139,954 | uv | 1.1.0 |
| 2026-09-27 | 88bc3b5836 | Other +tests | Follow-up to #506: support float64 out= destinations on the mojo device's reduction ops (#612) | 138,462 | uv | 1.1.0 |
| 2026-09-27 | 25a9e2db55 | Feature +tests | Add 37 elementwise ops on the mojo device: clamp family, pow.Scalar, lerp.Tensor, rsub, inf predicates, unary elementary and erf functions, sign family, binary trig/math, fmax/fmin/heaviside/nextafter | 138,262 | uv | 1.1.0 |
| 2026-09-27 | 4bf7747c2d | Feature +tests | Support any ord in linalg_vector_norm and legacy norm on the mojo device (#611) | 137,711 | uv | 1.1.0 |
| 2026-09-27 | c3adc7f974 | Tests | Follow-up to #506: support reducing rank-0 (0-d) operands (#610) | 137,545 | uv | 1.1.0 |
| 2026-09-27 | 78a5c06147 | Tests | Follow-up to #506: harden weak reduce-op tests (#609) | 137,510 | uv | 1.1.0 |
| 2026-09-27 | 822e70b753 | Feature +tests | Add aten.logical_or and the .out overloads of logical_and/xor and maximum/minimum on the mojo device | 137,531 | uv | 1.1.0 |
| 2026-09-27 | 3a685314d0 | Feature +tests | Add the out= overloads of aten.bitwise_and/or/xor and aten.remainder on the mojo device | 137,525 | uv | 1.1.0 |
The latest 50 of 639 commits; all of them are in the JSON.