AIDeveloper44 logoaideveloper44home of every ai dev release
← all tools
Perplexity AI·Sep 2, 2026·open source

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.
AI/Dev InfrastructureOpen SourceFree
Visit WebsiteGitHub
on the blogPerplexity Releases Lily for Local Qwen 35B Inference on Apple Silicon 5 min

What 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.

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.

Who Lily is for

Teams and individual developers working in AI/Dev Infrastructure.

ML and MLOps engineers

Serve, scale and monitor AI workloads

Platform engineers

Run AI infrastructure reliably and cost-efficiently

Researchers

Run experiments on GPUs, TPUs or other accelerators

Key features

01Custom Metal kernels for Apple Silicon optimization
02Minimal OpenAI-compatible chat completions API
03Fixed-block attention and GQA packing for high-speed decoding
04Session prefix cache for efficient prompt reuse
05Strict, greedy-only decoding for predictable performance

Lily use cases

Horizontal · cross-industry

Model servingHigh-throughput inference with batching and KV/prefix caching
Hardware accelerationRun on GPUs, TPUs or Trainium
ObservabilityTrace LLM calls, latency, token usage and cost

Vertical · domain-specific

EnterpriseSelf-hosted inference in a VPC to keep data in-house
HealthcareOn-prem deployment for PHI and data residency
Research labsDistributed training and evaluation on accelerator clusters