farazeid / craftax-mojo
Craftax-Classic (symbolic) ported to Mojo/MAX; throughput vs JAX on CPU, Apple GPU and NVIDIA GPUs
Over time
2026-11-18 to 2026-11-20; peak 3,965 lines
2026-11-18 to 2026-11-20; 30 commits, counted up by commit date
mojo_issues hasn't read this repository's issues and pull requests yet.
Dependencies
Declared in its manifests at HEAD (toolchain left out): craftax, flax, jax, numpy, optax, pytest.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| grimo-ir/rune | Thin GPU execution layer for Mojo — one import, zero inference stack | 83% |
| BradLarson/mojo-operation-template | A starter template for working on new Mojo CPU / GPU operations | 82% |
| RiverDave/gpu-mojo | – | 82% |
| mak8427/Mojo_GPU_Programming | have fun in mojo with low level stuff | 81% |
| amarbaro/mojo-imkit | Immediate-mode GUI for Mojo apps, drawn by the GPU | 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
2 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.
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-11-18 | mojo_version | – | 1.2.0 | f261e56057 |
| 2026-11-18 | tooling | none | uv | f261e56057 |
Commits
Commit types: Feature 30% · Fix 7% · Mojo version 3% · Performance 23% · Docs 17% · Tests 13% · Build and chores 7%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-11-20 | e2d1845bad | Docs | docs(readme): lead with throughput and training figures | 3,965 | uv | 1.2.0 |
| 2026-11-18 | 0746d78c1a | Docs | docs(results): re-run L40S environment sweep on the final code | 3,965 | uv | 1.2.0 |
| 2026-11-18 | 2e7e043e56 | Docs | docs: describe the end-to-end PPO comparison | 3,965 | uv | 1.2.0 |
| 2026-11-18 | 9e5edb4cee | Docs | docs(results): phase 2 end-to-end PPO on an L40S | 3,965 | uv | 1.2.0 |
| 2026-11-18 | d473e4965b | Performance | perf(bench): default to one-warp GPU blocks; re-run M4 Pro sweep | 3,895 | uv | 1.2.0 |
| 2026-11-18 | 014faa89c6 | Performance | perf(gpu): store maps env-major in the GPU layout too | 3,895 | uv | 1.2.0 |
| 2026-11-18 | 94a3b577c2 | Performance | perf(train): batch actor/critic GEMMs and call cuBLAS directly | 3,893 | uv | 1.2.0 |
| 2026-11-18 | bdbc2401dc | Tests | test(train): check clipping + Adam against a float64 reference | 3,703 | uv | 1.2.0 |
| 2026-11-18 | 00abaade2d | Build and chores | build(docker): let Mojo find cuBLAS in the CUDA 12 wheels | 3,703 | uv | 1.2.0 |
| 2026-11-18 | 937e51122a | Tests | test(train): check one Mojo PPO update and GAE against jax.grad + optax | 3,703 | uv | 1.2.0 |
| 2026-11-18 | f7574fd229 | Feature | feat(train): end-to-end PPO on the GPU in Mojo | 3,605 | uv | 1.2.0 |
| 2026-11-18 | 09db1ec263 | Feature | feat(train): end-to-end jitted PPO in JAX | 2,684 | uv | 1.2.0 |
| 2026-11-18 | 5a0f6d13a9 | Docs | docs(results): phase 1 throughput sweeps on M4 Pro and L40S | 2,684 | uv | 1.2.0 |
| 2026-11-18 | ce231a46c5 | Fix | fix(worldgen): device-independent sin/cos for gradient tables | 2,684 | uv | 1.2.0 |
| 2026-11-18 | b809fc6699 | Tests | test(parity): compare native-RNG statistics against JAX | 2,580 | uv | 1.2.0 |
| 2026-11-18 | acc5e380b3 | Performance | perf(env): rejection-sample mob spawn cells before the exact scan | 2,580 | uv | 1.2.0 |
| 2026-11-18 | 4e82a5381e | Build and chores | build(docker): benchmark image and sweep script for the FLAIR nodes | 2,563 | uv | 1.2.0 |
| 2026-11-18 | d0f96b4fa0 | Fix | fix(build): compile without FMA contraction for cross-device reproducibility | 2,563 | uv | 1.2.0 |
| 2026-11-18 | c477015555 | Performance | perf(cpu): skip the thread pool for small batches | 2,559 | uv | 1.2.0 |
| 2026-11-18 | c290bb3ce8 | Performance | perf(gpu): defer resets to a block-cooperative reset kernel | 2,548 | uv | 1.2.0 |
| 2026-11-18 | dd4f3376e2 | Performance | perf(worldgen): evaluate each noise field once per cell | 2,195 | uv | 1.2.0 |
| 2026-11-18 | e621099d9b | Feature | feat(bench): random-policy throughput benchmarks for Mojo and JAX | 2,096 | uv | 1.2.0 |
| 2026-11-18 | bafd163ebf | Tests | test(parity): replay JAX's random draws and compare every transition | 1,814 | uv | 1.2.0 |
| 2026-11-18 | 49db7d3e0d | Feature | feat(vec): batched auto-reset stepping on CPU and GPU, with Python bindings | 1,814 | uv | 1.2.0 |
| 2026-11-18 | 9e38e450d5 | Feature | feat(env): port symbolic observation renderer | 1,496 | uv | 1.2.0 |
| 2026-11-18 | 0b2e6abad7 | Feature | feat(env): port craftax_step game logic | 1,430 | uv | 1.2.0 |
| 2026-11-18 | 6c1b9eb2ed | Feature | feat(env): port world generation and fractal Perlin noise | 777 | uv | 1.2.0 |
| 2026-11-18 | 265001c582 | Feature | feat(env): add replayable random-number interface | 585 | uv | 1.2.0 |
| 2026-11-18 | 74ffa0b8ac | Feature | feat(env): mirror Craftax-Classic constants and define flat state layout | 453 | uv | 1.2.0 |
| 2026-11-18 | f261e56057 | Mojo version | chore: scaffold uv project with Mojo/MAX, JAX and pinned Craftax | 0 | uv | 1.2.0 |