Instructions to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers 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 meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers 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 meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers # Run inference directly in the terminal: llama cli -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers # Run inference directly in the terminal: llama cli -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
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 meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers # Run inference directly in the terminal: ./llama-cli -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
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 meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers # Run inference directly in the terminal: ./build/bin/llama-cli -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
Use Docker
docker model run hf.co/meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
- LM Studio
- Jan
- vLLM
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
- Ollama
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with Ollama:
ollama run hf.co/meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
- Unsloth Desktop
- Pi
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
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": "meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with Docker Model Runner:
docker model run hf.co/meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
- Lemonade
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
Run and chat with the model
lemonade run user.Llama-3.2-1B-Instruct-Q4_K_M-layers-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
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 meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
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 "meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers" \ --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"
GGUF layer package for running Llama-3.2-1B-Instruct-Q4_K_M across a local Mesh LLM cluster.
This package is derived from unsloth/Llama-3.2-1B-Instruct-GGUF and keeps the original GGUF distribution split into per-layer artifacts for distributed inference.
Highlights
| Run locally | Pool multiple machines | OpenAI-compatible | Package variant |
|---|---|---|---|
| Private inference on your hardware | Split layers across peers | Serve /v1/chat/completions locally |
Q4_K_M layer package |
Model Overview
| Property | Value |
|---|---|
| Source model | unsloth/Llama-3.2-1B-Instruct-GGUF |
| Model id | unsloth/Llama-3.2-1B-Instruct-GGUF:Q4_K_M |
| Family | Llama |
| Parameter scale | 1B |
| Quantization | Q4_K_M |
| Layer count | 16 |
| Activation width | not recorded |
| Package size | 0 B |
| Source file | Llama-3.2-1B-Instruct-Q4_K_M.gguf |
| Package repo | meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers |
| License | llama3.2 from unsloth/Llama-3.2-1B-Instruct-GGUF |
Recommended Use
- Local and private inference with Mesh LLM.
- Multi-machine serving when the full GGUF is too large for one host.
- OpenAI-compatible chat/completions workflows through Mesh LLM's local API.
For upstream architecture details, chat template guidance, sampling recommendations, license terms, and benchmark notes, see the source model card: unsloth/Llama-3.2-1B-Instruct-GGUF.
Quickstart
# Run this on each machine that should contribute memory/compute.
mesh-llm serve --model "meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers" --split
# Check the mesh and discover the OpenAI-compatible model name.
curl -s http://localhost:3131/api/status
curl -s http://localhost:3131/v1/models
# Send an OpenAI-compatible chat request.
curl -s http://localhost:3131/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "unsloth/Llama-3.2-1B-Instruct-GGUF:Q4_K_M",
"messages": [{"role": "user", "content": "Write a tiny hello-world function in Rust."}],
"max_tokens": 128
}'
Package Variant
| Property | Value |
|---|---|
| Format | gguf |
| Canonical source ref | unsloth/Llama-3.2-1B-Instruct-GGUF@b69aef112e9f895e6f98d7ae0949f72ff09aa401/Llama-3.2-1B-Instruct-Q4_K_M.gguf |
| Source revision | b69aef112e9f895e6f98d7ae0949f72ff09aa401 |
| Source SHA-256 | 3f5a22426976ab26cfe84dba63c1d08391717abb1af893e10f1b2968d862dcc1 |
| Skippy ABI | not recorded |
| Package manifest SHA-256 | 109a56e5a4b47c9e8d8cf3374655ae32e6f6ef56062c9db74ec937faedb0f3e0 |
What Is Included
| Artifact | Path | Contents | SHA-256 |
|---|---|---|---|
| Manifest | model-package.json |
Package schema, source identity, checksums | 109a56e5a4b47c9e8d8cf3374655ae32e6f6ef56062c9db74ec937faedb0f3e0 |
Validation
Generated by the Mesh LLM HF Jobs splitter from mesh-llm ref 293d61d8fb8be914e5244f754ceb1d67f59f177b.
Each artifact is checksummed as it is written, uploaded to this repository, and removed from the job workspace before the next artifact is produced.
skippy-model-package write-package "/hf-cache/Llama-3.2-1B-Instruct-Q4_K_M.gguf" --out-dir "/tmp/meshllm-layer-job-meshllm_Llama-3.2-1B-Instruct-Q4_K_M-layers-12/package"
Links
- Source model: unsloth/Llama-3.2-1B-Instruct-GGUF
- Mesh LLM website: meshllm.cloud
- Mesh LLM: github.com/Mesh-LLM/mesh-llm
- Discord: discord.gg/rs6fmc63eN
- Package catalog: meshllm/catalog
- Package format: layer-package-repos.md
- Downloads last month
- -
We're not able to determine the quantization variants.
Model tree for meshllm/Llama-3.2-1B-Instruct-Q4_K_M-layers
Base model
meta-llama/Llama-3.2-1B-Instruct