gemma-4-E4B-it_Qualcomm_SM8650.litertlm is Gemma 4 E4B-it compiled for the Hexagon NPU of the Qualcomm Snapdragon 8 Gen 3 (SM8650), for LiteRT-LM. The text model runs on the NPU; audio runs on the CPU.
There is no official NPU build of Gemma 4 E4B. This is an unofficial, experimental export, not affiliated with Google or Qualcomm.
ee0ef602).litert_lm_npu_compiler and Qualcomm AI Runtime (QAIRT) 2.50.0 for SM8650, as one 2.26 GB NPU context.e6a3892a): the audio encoder and adapter (CPU), the vision sections, the LLM metadata and the tokenizer.com.google.ai.edge.litertlm:litertlm-android:0.18.1).com.google.ai.edge.litert:litert-npu-runtime-qualcomm:2.3.0.com.qualcomm.qti:qnn-runtime:2.50.0): libQnnHtp.so, libQnnSystem.so, libQnnHtpV75Stub.so, libQnnHtpV75Skel.so, with ADSP_LIBRARY_PATH set to the folder that holds the skel. The QNN runtime is Qualcomm software under Qualcomm's license and is not included here.Backend.NPU(dispatchDir) for the text decoder and Backend.CPU() for audio. About 2.6 GB of RAM.Xiaomi 14 Ultra (SM8650, Android 16), LiteRT-LM 0.18.1, compared with litert-community's CPU build of E4B on the same phone:
| This NPU build | CPU build | |
|---|---|---|
| Load | 1.7–3.4 s | 0.7 s (11 s first time) |
| Time to first token | ~0.3 s | 2.0–2.5 s |
| Decode | ~12 tokens/s | ~10.7 tokens/s |
| Spoken request, median of 48 | 1.24 s | 3.19 s |
| Correct shell command, 26 spoken requests | 21 | 20 |
An int8-activation variant of this export produced unusable output on the same phone, so only the 16-bit-activation build is published.
Apache 2.0, like Gemma 4 (see LICENSE and NOTICE).
google/gemma-4-E4B-it