Run this model with HF Jobs

Run SolsticeAI/Qwen4-35B-A3B-MLX 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/SolsticeAI/Qwen4-35B-A3B-MLX. 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/SolsticeAI/Qwen4-35B-A3B-MLX 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/SolsticeAI/Qwen4-35B-A3B-MLX. 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.

Solstice-AI Banner

Qwen4-35B-A3B-MLX

Apple MLX quants of Qwen/Qwen4-35B-A3B by SolsticeAI β€’ one folder per bit width β€’ affine, group size 64

Base model by the Qwen Team. Quantization by SolsticeAI with mlx-vlm. Same Apache-2.0 licence as the base model.

Quants

Each folder is a complete, self-contained MLX checkpoint (weights, config, tokenizer, chat template, processor files).

Folder Quant Weights size Shards
3bit/ affine 3-bit, gs64 25.2 GB 5
4bit/ affine 4-bit, gs64 32.1 GB 7
5bit/ affine 5-bit, gs64 39.1 GB 8
6bit/ affine 6-bit, gs64 46.0 GB 9
8bit/ affine 8-bit, gs64 59.9 GB 12

What is quantized: the language model (including the n-gram / engram table, quantized with the same mode as the rest). Routers and shared-expert gates are kept at 8-bit by mlx-vlm's defaults, and the vision tower stays BF16. Every folder has all 3263 tensors of the BF16 source layout (MTP tensors excluded, see below).

How to use

These are multimodal qwen4_moe checkpoints, so you need mlx-vlm with qwen4_moe support. mlx-lm does not support this architecture (no Qwen4 support there yet).

The quants live in subfolders, and mlx_vlm.load takes a repo id or a local path, not a repo subfolder. So download the folder you want first, then point mlx-vlm at the local path:

pip install -U huggingface_hub
hf download SolsticeAI/Qwen4-35B-A3B-MLX --include "4bit/*" --local-dir ./Qwen4-35B-A3B-MLX

# then
python -m mlx_vlm.generate --model ./Qwen4-35B-A3B-MLX/4bit --prompt "Hello" --max-tokens 128

(huggingface-cli download takes the same arguments.) Replace 4bit with 3bit, 5bit, 6bit or 8bit as needed. Do not point a tool at the repo root: there are no model files there.

Python:

from mlx_vlm import load, generate
model, processor = load("./Qwen4-35B-A3B-MLX/4bit")

LM Studio, oMLX and other tools that load a model straight from a repo root will not find the weights in a subfolder. Download the folder as above and open that local folder as the model directory.

oQe mixed-precision quants (oMLX, MTP kept)

oMLX oQ mixed-precision quants with oQe (imatrix-weighted rounding, weighted least-squares scale refit and Hessian code refinement). Bits are allocated by measured layer sensitivity; the n-gram table is quantized by its own policy (at least 4-bit). The MTP head is kept (preserve_mtp), unlike the plain folders above.

Made on Linux + NVIDIA, not on a Mac. oMLX's oQe refine step only ships as an Apple Metal kernel, so these were built with oMLX main (commit 4fb81c92, which has the Qwen4 fixes #5930/#5938/#6000 merged after v0.8.5) on MLX's CUDA backend, with the refine kernel ported 1:1 to mx.fast.cuda_kernel and the scale refit routed to oMLX's own pure-MLX reference. The port was checked byte-for-byte against a reference implementation before these builds. Settings are the oMLX app defaults (imatrix 128 samples x 512 tokens, adaptive up to 1024), with streamed calibration on the real BF16 weights. Scripts and logs: reproduce/oq-linux-cuda/.

They need Trust Remote Code (Qwen4 tokenizer code ships in each folder) and a runtime with oMLX's Qwen4 support, e.g. oMLX. Download one folder (hf download SolsticeAI/Qwen4-35B-A3B-MLX --include "oQ3.5e/*" --local-dir ./Qwen4-35B-A3B-MLX) and open that local folder.

Folder Level Weights size Shards Tensors Check Smoke test KLD vs BF16
oQ3.5e/ oQ3.5e, MTP kept 31.83 GB 7 3260 layout matches the oQ4e-mtp reference France β†’ Paris, then other capitals; Fibonacci snippet is correct pending
oQ5e/ oQ5e, MTP kept 41.86 GB 9 3260 layout matches the oQ4e-mtp reference France β†’ Paris; Fibonacci snippet is correct pending

MTP (speculative decoding)

The plain 3bit/-8bit/ folders include no MTP drafter. (The oQ*e/ folders keep the model's own MTP head; see above.) MLX MTP support for this model is on hold on our side. These folders are base models only; nothing here enables speculative decoding.

Testing status

The plain 3bit/–8bit/ folders were checked for completeness before release: all shards present, 3263 tensors, config.json with the quantization block, and sha256 / size match against the source builds. Build logs, recipes and these checks are in the open recipe repo (links below). Those folders have no generation-quality or KLD results yet. The oQ*e/ folders have their own completeness checks and smoke tests in the table above; KLD vs BF16 is still pending.

Reproduce

Exact commands, scripts, package versions and logs are in reproduce/formats/ of the GGUF repo (mlx-3Bit, mlx-4Bit, mlx-5Bit, mlx-6Bit, mlx-8Bit, mlx-merged).

Other formats

Links

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for SolsticeAI/Qwen4-35B-A3B-MLX

Quantized
(816)
this model