How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf dispatchAI/SmolLM2-135M-Instruct-mobile
# Run inference directly in the terminal:
llama cli -hf dispatchAI/SmolLM2-135M-Instruct-mobile
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf dispatchAI/SmolLM2-135M-Instruct-mobile
# Run inference directly in the terminal:
llama cli -hf dispatchAI/SmolLM2-135M-Instruct-mobile
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf dispatchAI/SmolLM2-135M-Instruct-mobile
# Run inference directly in the terminal:
./llama-cli -hf dispatchAI/SmolLM2-135M-Instruct-mobile
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf dispatchAI/SmolLM2-135M-Instruct-mobile
# Run inference directly in the terminal:
./build/bin/llama-cli -hf dispatchAI/SmolLM2-135M-Instruct-mobile
Use Docker
docker model run hf.co/dispatchAI/SmolLM2-135M-Instruct-mobile
Quick Links

SmolLM2-135M-Instruct-mobile

βœ… Verified on real phone hardware β€” Snapdragon 865, June 2026.

Phone Benchmark (Samsung S20 FE, Snapdragon 865)

Metric Value
Phone Speed 46.2 tokens/sec
CPU Speed 59.7 tokens/sec
File Size 0 MB
Chat Format llama-3
Test Output "Paris" βœ… (correct)

Usage

Python (llama-cpp-python)

from llama_cpp import Llama

llm = Llama(model_path="model.gguf", chat_format="llama-3", n_ctx=512, n_threads=4, verbose=False)
response = llm.create_chat_completion(
    messages=[{"role": "user", "content": "What is the capital of France?"}],
    max_tokens=50,
)
print(response["choices"][0]["message"]["content"])

dispatchAI SDK

from dispatchai import load_model
model = load_model("SmolLM2-135M-Instruct-mobile", backend="gguf")
print(model.chat("What is the capital of France?"))

On Android (via ADB)

hf download dispatchAI/SmolLM2-135M-Instruct-mobile model.gguf
MSYS_NO_PATHCONV=1 adb push model.gguf /data/local/tmp/
MSYS_NO_PATHCONV=1 adb shell "cd /data/local/tmp && LD_LIBRARY_PATH=/data/local/tmp ./llama-cli -m model.gguf -p 'Hello' -n 30 -t 4 -st"

Model Details

Attribute Value
Base Model HuggingFaceTB/SmolLM2-135M-Instruct
File Size 0 MB
Format GGUF
Chat Format llama-3
License apache-2.0

About dispatchAI

dispatchAI β€” Small. Mobile. Free. UAE-built.

Downloads last month
69
GGUF
Model size
0.1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using dispatchAI/SmolLM2-135M-Instruct-mobile 7

Collections including dispatchAI/SmolLM2-135M-Instruct-mobile