~/talk

Rust for ML Infrastructure: A Case Study in Building an ONNX Runtime

name:Ada Hieta
links:none on file
slides:none on file

A Rust ONNX runtime called Onyxia implements a small, 17-variant primitive IR and a composite lowering layer, built across eight crates and a WGPU backend that emits WGSL compiled by Naga. A solo engineer prototypes a working GPU inference engine in about 15 days of weekend work, trades peak perf for simplicity, and runs ~1,000 fast tests locally. Benchmarks on an RTX 5090 show Onyxia beating ONNX Runtime on single-token decode but losing on prefill; codebase stays tiny versus ORT’s ~2M C++ lines. WGPU + WGSL via Naga

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:21What is ML infrastructure
  3. 3:17What is an ONNX model
  4. 8:27Why build a new runtime
  5. 10:36Rust’s role in the project
  6. 17:33Building with AI tools
  7. 18:19Rust toolchain benefits
  8. 20:23Type system for extensibility
  9. 23:00Backend implementation with Rust
  10. 24:09Testing and refactoring
  11. 25:39Rust ecosystem advantages
  12. 28:01Key lessons learned
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.