~/talk

Privacy-First AI on iOS: On-Device LLM Experiences with Swift + Core ML

Talkat Mobius 2025 Autumn · 2025-11-18..11-19· [large-language-models, ios]
links:none on file
slides:none on file

Shows how to run Hugging Face models like Mistral/Phi‑3 entirely on iPhone using Core ML + Swift, Metal GPU acceleration and Neural Engine priority so inference stays local with zero data transmission. Demonstrates compressing a 7B/14GB model via 4‑bit quantization and conversion steps, streaming token-by-token with a 50 ms UI cadence, Core Data + AES‑GCM storage, context‑window trimming around 4,000 tokens, MLX fallbacks for older devices, and device‑by‑device benchmark numbers and failure modes.

AI-written summary · about

  1. 0:00Introduction to privacy-first AI
  2. 4:50Current AI privacy crisis
  3. 7:16On-device LLM architecture
  4. 13:20Core ML and neural engine
  5. 16:14How LLMs work explained
  6. 23:06Attention mechanism deep dive
  7. 28:09Tokenization and model quantization
  8. 36:31Core ML integration with Swift
  9. 40:47Real app demonstration
  10. 45:26Performance and error handling
  11. 48:23Attention visualization and security
  12. 50:10Privacy service and model updates
  13. 51:17Future technologies and applications
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.