litert community/Phi 4 mini instruct This model provides a few variants of microsoft/Phi 4 mini instruct that are ready for deployment on Android using the LiteRT (fka TFLite) stack, MediaPipe LLM Inference API and LiteRT LM. Use the models Colab Disclaimer: The target deployment surface for the LiteRT models is Android/iOS/Web and the stack has been optimized for performance on these targets. Trying out the system in Colab is an easier way to familiarize yourself with the LiteRT stack, with the caveat that the performance (memory and latency) on Colab could be much worse than on a local device. Android Edge Gallery App Download or build the app from GitHub. Install the app from Google Play. Follow the instructions in the app. LLM Inference API Download and install the apk. Follow the instructions in the app. To build the demo app from source, please follow the instructions from the GitHub repository. Performance Android Note that all benchmark stats are from a Samsung S24 Ultra with 1280 KV cache size with multiple prefill signatures enabled. Backend Quantization scheme Context length Prefill (tokens/sec) Decode (tokens/sec) Time to first token (sec) Model size (MB) Peak RSS Memor…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy