Instructions to use litert-community/gemma-4-E2B-it-litert-lm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/gemma-4-E2B-it-litert-lm with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli litert-lm run \ --from-huggingface-repo=litert-community/gemma-4-E2B-it-litert-lm \ model.litertlm \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Add compiled Gemma4 E2B litertlm model for NPU of Intel Core Ultra Processors (Series 2)
#24
by johnnyqwe - opened
The model applies to the Intel Core Ultra Processors (Series 2) for mobile/edge, that is, Intel Lunar Lake platforms. The supported SoC models include Intel Core Ultra 9 Processor 288V; Intel Core Ultra 7 Processor 266V, 268V, 256V, 258V; Intel Core Ultra 5 Processor 226V, 228V, 236V, 238V, etc.
johnnyqwe changed pull request status to merged