How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="dispatchAI/Gemma-2-2B-IT-mobile",
	filename="model.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Gemma-2-2B-IT-mobile

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

Phone Benchmark (Samsung S20 FE, Snapdragon 865)

Metric Value
Phone Speed 9.9 tokens/sec
CPU Speed 8.2 tokens/sec
File Size 1629 MB
Chat Format gemma
Test Output "Paris" โœ… (correct)

Usage

Python (llama-cpp-python)

from llama_cpp import Llama

llm = Llama(model_path="model.gguf", chat_format="gemma", 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("Gemma-2-2B-IT-mobile", backend="gguf")
print(model.chat("What is the capital of France?"))

On Android (via ADB)

hf download dispatchAI/Gemma-2-2B-IT-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 unknown
File Size 1629 MB
Format GGUF
Chat Format gemma
License gemma

About dispatchAI

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

Downloads last month
106
GGUF
Model size
3B params
Architecture
gemma2
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

Space using dispatchAI/Gemma-2-2B-IT-mobile 1