Explorations
HeliosRT - inference engine from scratch
coming 2026
LPULite - reinventing Groq's LPU
blog post - lpulite.com
I recreated a Language Processing Unit (LPU) in SystemVerilog to accelerate inference for microGPT, a language model with roughly 4,700 parameters, targeting the DE1-SoC FPGA.
- Designed modules for matrix math, supporting matrix multiplications up to 8 × 8 at a time.
- Built vector execution modules with hardware support for RMSNorm, RoPE, and Softmax.
- Implemented permutation operations to support matrix transposition.
- Achieved around 8,500 tokens per second in Cocotb simulation at a 100 MHz clock frequency, and around 90 tokens per second on the DE1-SoC running at 6 MHz.
- Next steps: run inference on a more powerful FPGA to achieve a higher clock frequency, and explore prefill/decode aggregation.
microMLC: a minimal machine learning compiler
Interactive educational resource — micromlc.com
I spent the last few months building microMLC, a machine learning compiler without any prior experience. The result is an interactive educational resource that documents my journey and findings.
I implemented custom fusion, tiling, bufferization, and vectorization optimizations from scratch.
What's Next for the Raptors
Entering the 2025–2026 season, I dissected why the Toronto Raptors stumbled on offense as part of my deep dive into NBA analytics. I traced the subpar offensive rating back to specific lineup combinations, highlighted which starters dragged possessions off pace, and modeled fixes that could restore rhythm. Read the full breakdown on Substack.