Instructions to use aquaduck/Llama-3.2-3B-Instruct-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use aquaduck/Llama-3.2-3B-Instruct-MLX with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("aquaduck/Llama-3.2-3B-Instruct-MLX") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use aquaduck/Llama-3.2-3B-Instruct-MLX with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "aquaduck/Llama-3.2-3B-Instruct-MLX"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "aquaduck/Llama-3.2-3B-Instruct-MLX" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use aquaduck/Llama-3.2-3B-Instruct-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "aquaduck/Llama-3.2-3B-Instruct-MLX"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "aquaduck/Llama-3.2-3B-Instruct-MLX" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aquaduck/Llama-3.2-3B-Instruct-MLX", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use aquaduck/Llama-3.2-3B-Instruct-MLX with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "aquaduck/Llama-3.2-3B-Instruct-MLX"
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 aquaduck/Llama-3.2-3B-Instruct-MLX
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use aquaduck/Llama-3.2-3B-Instruct-MLX with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "aquaduck/Llama-3.2-3B-Instruct-MLX"
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 "aquaduck/Llama-3.2-3B-Instruct-MLX" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Model Card for aquaduck/Llama-3.2-3B-Instruct-MLX
Pinned 4bit MLX of Llama-3.2-3B-Instruct (meta-llama/llama-3.2-3b-instruct), plus midpoint layer shards for staged / multi-node loading (Aquaduck Arc mlx-package-v1).
The shard files are not a new quantization. They are contiguous midpoint packages cut from the full 4bit MLX in this repo.
Model lineage
meta-llama/llama-3.2-3b-instruct └── quantized → meta-llama/Llama-3.2-3B-Instruct (4bit) └── full MLX + midpoint shards → aquaduck/Llama-3.2-3B-Instruct-MLX (this repo)
- Base weights: https://huggingface.co/meta-llama/llama-3.2-3b-instruct (other)
- Quantization source: https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct (tag 4bit)
- This repo: full 4bit MLX (
model.safetensors) and midpoint MLX shards
Model Details
| Catalog id | meta-llama/llama-3.2-3b-instruct |
| Quantization | 4bit |
| Parameters | 3.2B |
| Native context | unknown tokens |
| License | other |
| Base model | meta-llama/llama-3.2-3b-instruct |
| Ingest MLX | meta-llama/Llama-3.2-3B-Instruct |
Model Description
- Hosted by: Aquaduck (hosting and layer packaging only; base model by Meta; MLX quant by mlx-lm)
- Shared by: Aquaduck AI
- Model type: Causal language model (Llama-3.2-3B-Instruct), MLX 4bit
- Language(s): Multilingual (same as base)
- License: other (inherits from meta-llama/llama-3.2-3b-instruct)
- Finetuned from model: N/A — not a fine-tune
- Derived from: meta-llama/Llama-3.2-3B-Instruct ← meta-llama/llama-3.2-3b-instruct
Model Sources
- Base model card: https://huggingface.co/meta-llama/llama-3.2-3b-instruct
- Quantized MLX source: https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct
Files
| File | Role | Approx. size |
|---|---|---|
model.safetensors |
Full-model MLX (4bit) | ~1.81 GB |
layers-0-14/model.safetensors |
Split shard (layers 0–13) | ~1.01 GB |
layers-14-28/model.safetensors |
Split shard (layers 14–27) | ~1.01 GB |
- Total layers: 28
- Valid split boundaries: 14 Filenames use exclusive end indices (layers-{start}-{endExclusive}/model.safetensors).
Uses
Direct Use
- Full
model.safetensors: standard single-file 4bit MLX (mlx-lm-compatible). Use this for single-node / local runs. layers-*-*/model.safetensors: Aquaduck / Arc staged loading only. These are not drop-in complete models for stock mlx-lm. Use the base model’s chat template (including thinking / instruct modes as documented on the base model card); other formats will not work correctly.
Out-of-Scope Use
- Expecting any one shard to run as a complete model
- Treating this repo as a new training run or re-quant
- Uses prohibited by the other license or the base model’s model card guidance
Bias, Risks, and Limitations
Same capabilities, biases, and risks as meta-llama/llama-3.2-3b-instruct. 4bit quantization can degrade quality vs. the original higher-precision releases. Layer sharding does not change weights beyond packaging.
Recommendations
Follow the base model’s docs for chat template, thinking vs instruct modes, and sampling. Prefer model.safetensors in this repo when you do not need staged loading.
How to Get Started
These files are meant to be loaded automatically by the Aquaduck desktop app.
- Download the Aquaduck desktop app and sign in.
- Devices connected to the internet will receive a model assignment from the model catalog (
meta-llama/llama-3.2-3b-instruct). - Download the model from the Home view. The app will:
- download only the assigned file from this repo (full
model.safetensorsor one midpoint half) - keep that stage ready for serving
You do not need to pick files by hand, but you may for local serving. Assignment and download are driven by model catalog metadata.
The full
model.safetensorsis a standard 4bit MLX. Thelayers-*-*/model.safetensorsfiles are not.
- download only the assigned file from this repo (full
Training Details
No training. Weights come from Meta; 4bit MLX from meta-llama/Llama-3.2-3B-Instruct; this repo hosts that MLX and (when split) packages it into midpoint layer shards.
Evaluation
No separate evals for the hosted MLX or shards. See meta-llama/llama-3.2-3b-instruct.
Technical Specifications
- Architecture: Llama-3.2-3B-Instruct (~3.2B params, GQA (24 Q / 8 KV heads), 28 layers, hidden dim 3072)
- Quantization: 4bit
- Packaging: pinned full 4bit MLX; optional Arc midpoint shards (
layers-{start}-{endExclusive}/model.safetensors) - Package format: mlx-package-v1
- Split: 2 stages at layer 14 (maxStages: 2)
Citation
@misc{llama323binstruct,
title = {Llama-3.2-3B-Instruct},
author = {Meta},
year = {2026},
url = {https://huggingface.co/meta-llama/llama-3.2-3b-instruct}
}
Credit:
- The MLX quantization source (https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct)
- mlx-lm (https://github.com/ml-explore/mlx-lm) for MLX support
Attribution
Quantized MLX ingested from meta-llama/Llama-3.2-3B-Instruct. Original weights: meta-llama/llama-3.2-3b-instruct. Redistributed under the base model's license.
Hosted by Aquaduck.
Model Card Contact
Aquaduck AI — https://huggingface.co/aquaduck
- Downloads last month
- 331
4-bit