Text Generation
GGUF
English
mobile
edge-ai
quantized
on-device
small-language-model
imatrix
conversational
Instructions to use dispatchAI/Llama-3.2-1B-Instruct-Q4-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-Q4-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-Q4-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-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-Q4-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-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/Llama-3.2-1B-Instruct-Q4-mobile # Run inference directly in the terminal: ./llama-cli -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-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/Llama-3.2-1B-Instruct-Q4-mobile # Run inference directly in the terminal: ./build/bin/llama-cli -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
- LM Studio
- Jan
- vLLM
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-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-Q4-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-Q4-mobile", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
- Ollama
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with Ollama:
ollama run hf.co/dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
- Unsloth Desktop
- Pi
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
- Lemonade
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Run and chat with the model
lemonade run user.Llama-3.2-1B-Instruct-Q4-mobile-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
File size: 2,245 Bytes
e9314d1 98c5d51 fd1dcd6 26c3373 fd1dcd6 e9314d1 98c5d51 fd1dcd6 26c3373 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 26c3373 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 e948663 fd1dcd6 c693234 fd1dcd6 e948663 fd1dcd6 98c5d51 fd1dcd6 e948663 fd1dcd6 c693234 fd1dcd6 c693234 fd1dcd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | ---
language:
- en
license: llama3.2
tags:
- mobile
- edge-ai
- quantized
- gguf
- on-device
- small-language-model
pipeline_tag: text-generation
---
# Llama 3.2 1B Instruct - Q4 Mobile (GGUF)
**Meta's Llama 3.2 1B Instruct**, quantized to INT4 GGUF format for mobile deployment by Dispatch AI.
| Property | Value |
|----------|-------|
| **Base** | meta-llama/Llama-3.2-1B-Instruct |
| **Parameters** | 1.23 billion |
| **Quantization** | Q4_K_M (4-bit k-means) |
| **Size** | ~767 MB |
| **Format** | GGUF (llama.cpp) |
| **License** | Llama 3.2 Community |
## Why This Model?
Mobile-optimized for deployment on Android phones (Snapdragon 865+), laptops, IoT devices, and any hardware with 4GB+ RAM. No GPU required.
## Performance on Samsung S20 FE (Snapdragon 865)
| Metric | This Version | Original FP16 |
|--------|------------|---------------|
| Size | 767 MB | ~2.5 GB |
| Speed | ~28 tok/s CPU | ~8 tok/s |
| Memory | ~1.2 GB | ~3.8 GB |
| Quality | ~95% of original | 100% baseline |
## Use Cases
- Chatbots & conversational AI on mobile devices
- Instruction following in resource-constrained environments
- Content summarization, text classification, RAG pipelines
- Educational apps, tutoring systems
## Quick Start
```bash
# Install llama.cpp
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && cmake -B build -DLLAMA_NATIVE=ON && cmake --build build --config Release
# Download this model
huggingface-cli download dispatchAI/Llama-3.2-1B-Instruct-Q4-mobile ggml-model-Q4_K_M.gguf --local-dir ./models
# Run inference immediately
./build/bin/main -m ./models/ggml-model-Q4_K_M.gguf -p "Hello" -n 256 -t 4
```
## Hardware Requirements
| Requirement | Minimum | Recommended |
|-------------|---------|-------------|
| RAM | 4 GB | 6 GB+ |
| Storage | 1 GB free | 2 GB+ |
| CPU | 4-core ARM64/x86_64 | 8-core Snapdragon 865+ |
| GPU | Not required | Any (faster) |
## Limitations
- ~5% quality degradation vs FP16 on complex reasoning tasks
- Not suitable for high-precision numerical computation
- Context window follows base model (~128K tokens)
## About Dispatch AI
Re-engineering LLMs for mobile and edge deployment.
[HuggingFace](https://huggingface.co/dispatchAI) - 40+ models, 13K+ downloads
|