Run this model with HF Jobs
Run AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB") config = load_config("AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB"
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": "AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB 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 "AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB"
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 AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB"
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 "AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB" \ --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"
AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB
- Built by the team behind Atomic Chat, the app that runs open-weight models locally and offline.
Qwen/Qwen3.8-27B for MLX on Apple Silicon, with the vision tower: 3.50 bits per weight in the language model, 12.69 GB on disk in one model.safetensors.
- Layout: uniform 3-bit, group size 64, on every quantized tensor of the language model. Despite the
ADin the name, this rung has no per-tensor layout. - Bits per weight: 3.50, averaged over the language model's 26.9B weights, scales and offsets included. The vision tower (0.46B weights, 0.92 GB) stays in bf16.
- How it was made: from our bf16 MLX conversion of the original (AtomicChat/Qwen3.8-27B-MLX-bf16): a 3-bit conversion with a clipping search for each group's quantization range, then DWQ, which tunes the quantization scales and offsets by distillation with our 8-bit MLX build as the teacher, in a short run of one to two hours on one GPU.
- Base model: Qwen/Qwen3.8-27B by Qwen. License: apache-2.0, as the original.
How close it is to the original
Against our bf16 MLX conversion, on held-out neutral text (24 chunks of 4096 tokens, the second half of each chunk scored): mean KL divergence 0.215, and it picks the same next token as the bf16 model 79.6% of the time (two DWQ runs of this rung are on record, at 0.2148 and 0.2155, and the logs do not say which one was uploaded; both are in logs/). Our MLX harness on 1x H200 NVL, mlx-lm 0.31.3 and mlx-vlm 0.6.15.
| Repository | Layout | Bits per weight | On disk | Mean KLD | Same top-1 |
|---|---|---|---|---|---|
AD-3.50bpw-DWQ-12.7GB (this one) |
uniform 3-bit | 3.50 | 12.69 GB | 0.215 | 79.6% |
AD-3.70bpw-DWQ-13.4GB |
mlx-lm mixed_3_4 |
3.70 | 13.37 GB | 0.166 | 82.4% |
AD-3.80bpw-DWQ-13.7GB |
per-tensor, ours | 3.80 | 13.69 GB | 0.148 | 82.3% |
AD-4.50bpw-DWQ-16.0GB |
uniform 4-bit | 4.50 | 16.05 GB | 0.053 | 89.5% |
AD-5.00bpw-DWQ-17.7GB |
per-tensor, ours | 5.00 | 17.74 GB | 0.031 | 91.5% |
For scale, plain 3-bit and 4-bit conversions (group 64, no clipping search, no DWQ) measured 0.223 / 78.5% and 0.056 / 89.1% on the same stand.
These are MLX numbers. llama.cpp tokenizes and batches the text differently, so they cannot be compared with the KL divergence in our GGUF card.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("AtomicChat/Qwen3.8-27B-MLX-AD-3.50bpw-DWQ-12.7GB")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
mlx-lm runs the text model. For image input, use mlx-vlm (pip install mlx-vlm) with the same repository id.
Limitations
- Measured on CUDA. We have no Mac run of this file on record, and image input was not tested on it.
- KL divergence and top-1 come from one held-out text set; they do not measure chat, tools or long context.
Quantization and evaluation by AtomicChat.
- Downloads last month
- 116
3-bit



