News · Nov 23, 2026

LiteRT 2.4 adds mixture-of-experts execution and smaller selective CPU builds

LiteRT 2.4 runs MoE models on GPU and CPU, extends FlashAttention to WebGPU and Android OpenCL, and adds a selective CPU build. It is the last release to support Python 3.10.

LiteRT 2.4.0 was published on November 23, 2026. All figures below are the project’s own measurements from the release notes.

LLM execution. LiteRT now runs mixture-of-experts models such as Gemma 4 26B-A4B on GPU and CPU. It executes only the active experts for each token. Weights are cached on disk, which the notes say cuts repeat startup from about 30–45 s to about 2 s. Fused GPU kernels for hybrid models such as Qwen3.5 reduce GPU launches per token by 58%. The project reports generation speed-ups of up to 35% on Metal, 23% on WebGPU and 18% on Android. FlashAttention now runs on WebGPU and Android OpenCL, and the notes say 32K-token prompts fit on mobile GPUs. Removing offset buffers for 4-bit weights cuts peak GPU memory by 15–17%.

Embedded builds. A new cpu_backend=selective build flag links only the operators a model uses. On Linux ARM32, a minimal CompiledModel binary shrinks from 5.45 MB (default build) to 2.18 MB. The default Bazel build no longer fetches the TensorFlow repository.

Hardware. An experimental GPU backend based on the Arm Vulkan ML API supports the Arm Mali G2-Ultra NX. The Qualcomm SDK dependency moves to QAIRT 2.51.1.

Breaking changes. The vendor Dispatch and Compiler Plugin C ABIs now use versioned interface tables. The notes flag this as a breaking change for out-of-tree backends. Python 3.10 is deprecated. Version 2.4.0 is the last release to support it, and 2.5.0 will require Python 3.11.

Why it matters. For embedded Linux products, a runtime under 2.2 MB on ARM32 is easier to fit next to the application in flash. Teams that maintain their own NPU backend should plan the ABI migration before moving to 2.4. CI images still on Python 3.10 have one release left.

Sources

  1. LiteRT v2.4.0 release notes (Google AI Edge (GitHub), Nov 23, 2026)

Written in our own words from the sources above. Check the primary source before relying on a detail.