Google released LiteRT 2.4.0 on November 23, 2026. Mobile app developers can reduce large-model startup latency and memory use by computing only the necessary model parts and grouping GPU operations.

1. MoE runs only the needed experts

MoE models select only certain expert modules for computation, processing the modules activated for each token. LiteRT 2.4.0 supports MoE models such as Gemma 4 26B-A4B on GPU and CPU, running only selected experts.

Prompt processing and token generation share weights and cache them on disk. The company reports that repeat startup fell from about 30~45 seconds to about 2 seconds, saving over 11GB of setup memory. It also reports CPU RAM savings of about 2.75GB.

2. Grouping GPU operations for hybrid models

Fused GPU kernels were added for hybrid models such as Qwen3.5 and LFM2.5. They group small computation programs instead of calling each operation separately. The company reports fusing about 20 small operations per layer, cutting GPU launches per token by 58%.

Fused kernels are available for Metal and WebGPU. The company reports generation speed gains of up to 35% and 23%, respectively.

OpenCL also gained fused kernels. The company reports an 18% generation speed improvement on Android.

The release notes do not specify test devices or exact model and quantization settings, so these figures should be read as reported gains for each execution path.

3. Improving long-context processing and memory use

FlashAttention support has expanded to mobile GPUs. This technique reduces memory use in attention computations when processing long contexts.

The expansion covers WebGPU and OpenCL on Android. The company says it enables processing 32K-token prompts without running out of memory and saves up to 2.1GB of RAM.

Token generation on Metal also improved. The company reports that Gemma 4 26B-A4B generates tokens about 15% faster with a 32K context and about 31% faster with a 64K context.

Unnecessary auxiliary buffers for 4-bit weights were also removed. The company reports a 15~17% reduction in peak GPU memory use and about 5% faster generation.

Apple's WebGPU and Android's OpenCL gained weight loading without separate copies. Tensor buffers for handling 4-bit data directly on the GPU were also introduced. Tensors are data structures holding multidimensional numerical data.

4. Reducing unnecessary loading during setup

Compiler plugins expanded support for weights stored separately from models. External buffers used by the NPU, a dedicated neural-network accelerator, can be freed after compilation. These buffers temporarily store computation data. Providing function names needed for the selected execution path in advance lets the backend defer loading unused model parts and weights. The backend is the component that performs computations.

Developers can specify dynamic input sizes for ahead-of-time and on-device compilation. This adds the option to resolve input sizes during compilation rather than at runtime.

5. Deployment and build options

The unified prebuilt bundle includes the C++ SDK, runtime, GPU acceleration modules, NPU plugins, and command-line tools. Supported platforms are Android, Linux, Windows, macOS, and iOS. Minimal CPU builds can register only the operators a model needs.

To register only the required operators, specify the model for the build target. The release notes provide this setting:

models = ["my_model.tflite"]

Passing this setting to a build target such as litert_cc_binary automatically extracts and registers the required operators at build time.

The company says the minimal CompiledModel binary for Linux ARM32 shrank from 5.45MB in the default configuration to 2.18MB with a CPU-only configuration and selective registration.

Selective registration reduces deployment size by excluding XNNPACK and unused built-in kernels. In exchange for a smaller deployment, developers must select the model's required operators for the build.

LiteRT 2.4.0 reduces mobile inference startup, memory, and GPU workload overhead while leaving developers to choose acceleration paths suited to their models and build configurations.