Snapshotmain · 2014e4c
How NumPy-like Python is traced, transformed, lowered, compiled, sharded, and dispatched to accelerators.
Click a building or route
System map7 components · 8 connections
130%
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal
Terms, in plain English
TracerA stand-in value that records primitive operations during a transformation.
How to study this repo
- 1Print one Jaxpr
Use make_jaxpr on a small function and match each equation to its Primitive definition.
- 2Compose transformations
Compare grad(vmap(f)) with vmap(grad(f)), then follow both through staging and compilation.