Instructions to use dispatchAI/Llama-3.2-1B-Instruct-mobile with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with 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/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: ./build/bin/llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Llama new
- LM Studio
- Jan
- vLLM
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dispatchAI/Llama-3.2-1B-Instruct-mobile" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dispatchAI/Llama-3.2-1B-Instruct-mobile", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Ollama
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Ollama:
ollama run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Unsloth Desktop
- Docker Model Runner
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Lemonade
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/Llama-3.2-1B-Instruct-mobile
Run and chat with the model
lemonade run user.Llama-3.2-1B-Instruct-mobile-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,53 +1,61 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
-
- dispatch-ai
|
| 6 |
- mobile
|
|
|
|
| 7 |
- quantized
|
| 8 |
- gguf
|
| 9 |
-
-
|
| 10 |
-
- on-device
|
| 11 |
-
- edge-ai
|
| 12 |
pipeline_tag: text-generation
|
| 13 |
-
language:
|
| 14 |
-
- en
|
| 15 |
-
library_name: transformers
|
| 16 |
---
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
| 27 |
-
- Q4_K_M quantization (smallest practical size with minimal quality loss)
|
| 28 |
-
- Phone farm validated across 40 devices
|
| 29 |
-
- Ready for llama.cpp deployment on Android/iOS
|
| 30 |
|
| 31 |
-
##
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|--------|-------|
|
| 37 |
-
| **Generation speed** | 16.3 t/s |
|
| 38 |
-
| **Prompt processing** | 57.8 t/s |
|
| 39 |
-
| **Model size** | ~890 MB |
|
| 40 |
-
| **Load time** | 1.5s |
|
| 41 |
-
| **RAM free** | 3.5 GB |
|
| 42 |
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
```
|
| 48 |
|
| 49 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: llama3.2
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
tags:
|
|
|
|
| 7 |
- mobile
|
| 8 |
+
- on-device
|
| 9 |
- quantized
|
| 10 |
- gguf
|
| 11 |
+
- dispatchai
|
|
|
|
|
|
|
| 12 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# Llama-3.2-1B-Instruct-mobile
|
| 16 |
|
| 17 |
+
β
**WORKS** β Verified June 2026.
|
| 18 |
|
| 19 |
+
## Verification Results
|
| 20 |
|
| 21 |
+
| Prompt | Response | Correct? |
|
| 22 |
+
|--------|----------|----------|
|
| 23 |
+
| What is the capital of France? | "The capital of France is Paris." | β
|
|
| 24 |
+
| What is 2+2? Just the number. | "4" | β
|
|
| 25 |
|
| 26 |
+
**Chat format**: `llama-3`
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
## Model Details
|
| 29 |
|
| 30 |
+
| Attribute | Value |
|
| 31 |
+
|-----------|-------|
|
| 32 |
+
| **Base Model** | meta-llama/Llama-3.2-1B-Instruct |
|
| 33 |
+
| **File Size** | 1260 MB |
|
| 34 |
+
| **Format** | GGUF |
|
| 35 |
+
| **Chat Format** | llama-3 |
|
| 36 |
+
| **CPU Speed** | 4.9 tokens/sec |
|
| 37 |
+
| **License** | llama3.2 |
|
| 38 |
|
| 39 |
+
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
```python
|
| 42 |
+
from llama_cpp import Llama
|
| 43 |
|
| 44 |
+
llm = Llama(model_path="model.gguf", chat_format="llama-3", n_ctx=512, n_threads=4)
|
| 45 |
+
response = llm.create_chat_completion(
|
| 46 |
+
messages=[{"role": "user", "content": "What is the capital of France?"}],
|
| 47 |
+
max_tokens=50,
|
| 48 |
+
)
|
| 49 |
+
print(response["choices"][0]["message"]["content"])
|
| 50 |
```
|
| 51 |
|
| 52 |
+
### dispatchAI SDK
|
| 53 |
+
```python
|
| 54 |
+
from dispatchai import load_model
|
| 55 |
+
model = load_model("Llama-3.2-1B-Instruct-mobile", backend="gguf")
|
| 56 |
+
print(model.chat("Hello!"))
|
| 57 |
+
```
|
| 58 |
|
| 59 |
+
## About dispatchAI
|
| 60 |
|
| 61 |
+
[dispatchAI](https://huggingface.co/dispatchAI) β Small. Mobile. Free. UAE-built.
|