~/talk

Hardware acceleration for on-device Machine Learning

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android, machine-learning]
links:none on file
slides:none on file

Hardware acceleration reduces on-device inference latency: examples show GPU delegate running BlazePose about 184% faster than CPU and MobileNet seeing up to 10x improvement. Options include TensorFlow Lite via Google Play services, ML Kit, NNAPI/DSP/NPUs and the Model Analyzer to check GPU compatibility. Avoid GPU-unfriendly ops like BATCH_TO_SPACE and prefer RGBA 4-channel inputs; unsupported custom ops fall back to CPU and cause slow cross-device handoffs. An Acceleration Service in early access will benchmark device targets and recommend the best delegate.

AI-written summary · about

  1. 0:00Introduction to ML on Android
  2. 1:07Mobile hardware landscape
  3. 4:43Implementation and benefits
  4. 7:47Adding GPU acceleration
  5. 10:00Optimizing models for hardware
  6. 12:22Managing hardware delegates
  7. 13:59Future tools and conclusion
~/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.