~/talk

Lightweight, low-overhead, high-performance: machine learning directly in C++

Talkat PyData NYC 2023 · 2023-11-01..11-03· [machine-learning, rust]
links:none on file
slides:none on file

Claim: rewriting pipelines in C++ yields much smaller and faster deployments. Uses mlpack + Armadillo with low-level BLAS (OpenBLAS) and aggressive statically linked to OpenBLAS builds. Demonstrated a language-detection microservice (softmax on byte n‑grams) that runs instantly, trains to ~96% on the demo set, and serializes to ~176 KB. Measured sizes: PyTorch container ~6.5 GB, slim Python ~50–330 MiB, C++ containers down to single‑digit MiB and a stripped binary ~1.5 MiB.

AI-written summary · about

  1. 0:00Introduction
  2. 3:08Python ML deployment problems
  3. 8:50ML stack and abstraction costs
  4. 13:27C++ deployment advantages
  5. 18:04Demo: Language detection in C++
  6. 25:54Container sizes: Python vs C++
  7. 29:02Optimizing C++ binary size
  8. 30:49Conclusion and ecosystem tools
  9. 39:01Q&A
~/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.