~/talk

Scoring ONNX ML Models with Scala

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [machine-learning, scala]
slides:none on file

Agate is a pure-Scala library that scores ONNX models on the JVM, used at Stripe for batch scoring with Spark and Scalding and for low-latency real-time services; it implements ~160 ONNX operators incrementally (example model had 6 distinct operators with 2 unsupported, ~25% missing), avoids Python in production, scores many models in a few milliseconds without GPU, uses memory-mapped embeddings and Graal native-image binaries for fast CLI and Python interop, and verifies correctness by replaying training data.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:58What is ONNX and its structure
  3. 8:12Introducing Agate library
  4. 9:15Designing the tensor class
  5. 13:11Shape and storage abstractions
  6. 17:43Implementing ONNX operators
  7. 19:51Dynamic vs static scoring
  8. 22:39Demo of Agate CLI tool
  9. 27:06Future of ONNX and Agate
  10. 28:11Q&A session
~/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.