~/talk

Shiftry: RNN Inference in 2KB of RAM

Talkat OOPSLA 2020 · 2020-11-15..11-20· [machine-learning, embedded-and-hardware]
links:none on file
links:none on file
links:none on file
slides:none on file

Shiftry compiles RNN inference into C that runs on an Arduino Uno with only 2 KB RAM by converting floating point to fixed point, using mixed bitwidth assignment to trade accuracy for flash size, and by static allocation simulation to eliminate runtime fragmentation. It fits FastGRNN models that SeeDot cannot, produces code with ~1% better accuracy, ~40% lower latency and ~25% smaller size than SeeDot, and compresses a larger RNNPool to ~32× lower RAM and >3× lower flash so it runs on an ARM Cortex‑M4 class device.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30IoT
  3. 1:00ML on IoT
  4. 2:06RNN on IoT
  5. 2:39Challenges
  6. 4:04Input DSL
  7. 5:59Assign Scales
  8. 7:18Shiftry
  9. 9:02Managing RAM
  10. 11:18Dynamic Memory Allocation
  11. 12:11C Dot Benchmarks
  12. 14:38RNN Pool
  13. 15:35Conclusion
~/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.