Lily
Perplexity's on-device inference engine for Mac, now open source.
Details
- Lily is the local half of hybrid compute in Perplexity Computer, which splits a task between cloud models and a model running on your Mac
- Written in Rust with custom Metal kernels, with neither PyTorch nor MLX in its execution path
- Specialized for one model, Qwen3.6-35B-A3B, on Apple silicon
- Handles prompt prefill and token-by-token decode as separate workloads rather than one general path
- Perplexity measured 1.23x faster prefill and 1.35x faster decode than MLX-LM on an M5 Max MacBook Pro, with output quality effectively unchanged
Best for
running a capable model locally on a Mac fast enough that on-device work doesn't become the bottleneck
When to use it
you want steps involving private files or sensitive data to stay on the machine
Who benefits
developers building local-first AI on Apple silicon, and Perplexity Computer users on a Mac
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →