Downloads · 30 days
191
100% of all-time downloads
litert-community/SmolLM2-1.7B-Instruct
SmolLM2-1.7B-Instruct is a text generation model from litert-community. Use it when you need the model to write or continue text. It is set up for litert-lm. The card lists the license as apache-2.0.
This repository hosts the LiteRT-LM (LiteRT, formerly known as TensorFlow Lite) version of HuggingFaceTB/SmolLM2-1.7B-Instruct, optimized for on-device inference across Android, desktop, and edge hardware.
Downloads · 30 days
191
100% of all-time downloads
All-time downloads
191
Public
Repo size
1.7 GB
Likes
1
Public
Click a slice to open those files.
.litertlm1.7 GB · 100%
From the Hugging Face model README
SmolLM2-1_7B-Instruct_dynamic_wi8_afp32.litertlm:
wi8) with FP32 activations (afp32).litert-torch with boolean attention masks and fused GPU composite operations enabled for high-throughput GPU and CPU execution.You can run this model directly on Android using the official Google AI Edge Gallery app:
litert-community/SmolLM2-1.7B-Instruct, and submit to download directly inside the app.SmolLM2-1_7B-Instruct_dynamic_wi8_afp32.litertlm directly to your Android device (or push it via ADB: adb push SmolLM2-1_7B-Instruct_dynamic_wi8_afp32.litertlm /sdcard/Download/), select the file from storage, choose your preferred backend (GPU or CPU), and tap "Import".
For full details on importing models and building from source, see the Edge Gallery App Wiki.Install uv and run the model directly from the LiteRT-LM command line:
uv tool install litert-lm
uvx litert-lm run \
--from-huggingface-repo=litert-community/SmolLM2-1.7B-Instruct \
SmolLM2-1_7B-Instruct_dynamic_wi8_afp32.litertlm \
--prompt="What is the capital of France?"