~/talk

On-Device LLM Inference on Android With ExecuTorch and Qualcomm QNN

links:none on file
slides:none on file

Shows how to run a full ViT‑B/32 CLIP pipeline ExecuTorch + Qualcomm QNN on Android, with model export via torch.export, AOT graph transforms, and on‑device delegates (XNNPACK, Vulkan, QNN). Demo runs live image/text cosine similarity on‑phone (they treat >20% as a match), uses post‑training quantization including W8A8 quantization, and requires adding Qualcomm AI Engine Direct JNI libs for NPU acceleration. Includes real latency, memory, and power tradeoffs and a working app.

AI-written summary · about

  1. 0:00On-device AI with ExecuTorch
  2. 1:01Why on-device inference matters
  3. 3:47ExecuTorch and workflow
  4. 8:03PyTorch to Android deployment
  5. 11:37Quantization for edge devices
  6. 14:08ExecuTorch partitioning
  7. 15:52JNI and native AI stack
  8. 18:23Live CLIP demo
  9. 21:18CLIP inference code
  10. 22:00Android ML best practices
  11. 24:29Future use cases
~/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.