Paul Berg
๐
๐
Linkedin
Google Scholar
GitHub
WebGPU
ONNX to WebGPU Compiler and Runtime
Nov 2022 ยท 1 minute
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 โฆ