Lily
on the blogPerplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 minWhat is Lily?
Lily is a high-performance, lightweight inference engine written in Rust and optimized specifically for running the Qwen3.6-35B-A3B model on Apple Silicon. It utilizes custom Metal kernels to bypass standard frameworks like PyTorch or MLX, providing a minimal OpenAI-compatible API for greedy text generation.
Lily is an open-source inference engine developed by Perplexity AI, designed to maximize performance for the Qwen3.6-35B-A3B model on Apple Silicon hardware. By implementing custom Metal kernels and a specialized Rust runtime, Lily achieves significant throughput improvements over general-purpose frameworks like MLX-LM, making it a highly efficient solution for local, on-device LLM execution.
The engine is built for strict, high-speed performance, featuring a minimal OpenAI-compatible HTTP API and a session prefix cache to optimize repeated prompts. It is part of the broader 'pplx-garden' repository, which provides specialized infrastructure tools for inference and model serving, reflecting Perplexity's focus on high-efficiency, hardware-specific optimization for large language models.
Lily is built by Perplexity AI and fits into the AI/Dev Infrastructure category. It was released on Sep 2, 2026.
Lily is free to use and open source, with the source code on GitHub. Teams typically use it for model serving, hardware acceleration, observability and sandboxing, with domain-specific use in Enterprise, Healthcare and Research labs.
Who Lily is for
Teams and individual developers working in AI/Dev Infrastructure.