~/talk

Building FPGA-based Machine Learning Accelerators in Python

Talkat PyCon US 2024 · 2024-05-15..05-23· [python, machine-learning]
name:Tim Paine
links:none on file
slides:none on file

Demo shows a real ML accelerator built for an entry‑level Xilinx FPGA with materials under $200 using a Python toolchain: PyTorch → ONNX → Brevitas/FIN → Vivado, plus Migen and LiteX for SoC work. It compiles a quantized model to a bitfile, loads onto a Z1/Z2‑class board, and runs a sine‑wave predictor and an MNIST classifier that reaches about 93% accuracy and ~133,000 images/sec on a ~$130 board, so the pipeline actually works end‑to‑end.

AI-written summary · about

  1. 0:00FPGA-based ML accelerators intro
  2. 3:34FPGAs vs ASICs
  3. 7:23Hardware vs software dev
  4. 13:21PYNQ board intro
  5. 16:51Sine wave predictor in Python
  6. 22:12MNIST classification demo
  7. 25:01LiteX and NightFury next steps
  8. 27:08Why FPGAs in 2024
  9. 28:54Open-source tools & communities
  10. 33:11Q&A on HLS & performance
~/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.