Skip to content

Support for Gemma 4 E2B QAT mobile checkpoint (<1 GB) #385

Description

@TobiasJu

Hi there, Google's Gemma 4 documentation lists a dedicated mobile QAT format for Gemma 4 E2B, alongside the existing BF16/Q4_0 checkpoints:

Format Memory
BF16 11.4 GB
Q4_0 2.9 GB
Mobile 1.1 GB
Mobile (text-only) 0.84 GB

Source: https://ai.google.dev/gemma/docs/core?hl=de#gemma-4-inference-memory-requirements

We're currently shipping the standard gemma-4-E2B-it.litertlm (~2.6 GB) via flutter_gemma, since the mobile QAT checkpoint doesn't seem to be available as a pre-converted .litertlm bundle yet (only as -mobile-ct/-mobile-transformers weights on Hugging Face, with no documented conversion path to LiteRT-LM).

Is there a plan/timeline to add the QAT mobile checkpoint (ideally the text-only variant at 0.84 GB) to flutter_gemma's supported model list? This would be a significant win for RAM-constrained Android devices. Happy to test a preview build if one exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions