Section 01
[Introduction] Swift LiteRT LM: A Solution to Run Gemma4 Large Model on iPhone
The Swift LiteRT LM project, maintained by john-rocky, allows iOS developers to conveniently run Google's Gemma4 large language model on iPhones. Built on Google's LiteRT-LM framework, it supports Metal GPU acceleration, multimodal processing, in-app model downloads, and is compatible with Apple Foundation Models backend, facilitating edge AI application development while balancing performance and privacy protection.
Project Source: GitHub (https://github.com/john-rocky/swift-litert-lm), Updated on June 16, 2026