The extrapolation is that your spec is something like microgpt (scalar valued python with for loops etc), everything else is just a matter of compilation and PyTorch etc is kind of a crappy IR
Karpathy Proposes Compiling Simple MicroGPT Specifications Into Optimized Implementations
By
–