Rust

ONNX to WebGPU Compiler and Runtime

Nov 2022
Rust WebGPU
Demo Code In order to learn more about GPU programming and Machine Learning compilers, I set out to build an ONNX to WebGPU compiler. This would materialize each ONNX operation as a GPU kernel on the fly. In my opinion, the most interesting part of this project are the register allocator which can reuse tensors during an evaluation of the model. This makes the memory used smaller than more naive โ€ฆ

Chip-8 emulator

??-2021
Rust
Demo Code In 2021, I finished a chip-8 project that I had started a while back (exact date is unknown). It is written in the Rust programming language. In the area of LLMs, this does not seem like an impressive project but it was an interesting learning experience. Both getting familiar with Rust and building an emulator.