Run this model with HF Jobs

Run Xylolabs/gpt-oss-20b-MLX-8bit 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/Xylolabs/gpt-oss-20b-MLX-8bit. 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/Xylolabs/gpt-oss-20b-MLX-8bit 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/Xylolabs/gpt-oss-20b-MLX-8bit. 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.
Xylolabs

gpt-oss-20b MLX 8-bit

Weights from openai/gpt-oss-20b run with mlx-lm on MLX.

How to run

pip install mlx-lm==0.32.2

mlx_lm.generate --model Xylolabs/gpt-oss-20b-MLX-8bit --prompt "What is the capital of Australia?"

Accuracy

Reference: original weights (MXFP4 experts, other weights BF16).

Quant Size WikiText-2 KL top-1 Chat KL top-1 Held-out KL top-1
Xylolabs MLX 8-bit 12.08 GB 0.069925 85.13% 0.103656 89.75% 0.074301 83.04%

All files and rivals: BENCHMARKS.md

Mean KL divergence by file size Top-1 agreement by file size

Which file for your hardware

Hardware Memory File Context
Apple silicon 128 GB unified Xylolabs/gpt-oss-20b-MLX-8bit (8-bit, 12.1 GB) 32K
Apple silicon 256 GB unified Xylolabs/gpt-oss-20b-MLX-8bit (8-bit, 12.1 GB) 32K
Apple silicon 512 GB unified Xylolabs/gpt-oss-20b-MLX-8bit (8-bit, 12.1 GB) 32K

License

Apache License 2.0. See LICENSE, USAGE_POLICY and NOTICE.

Updates

  • 2026-12-05: Moved the full comparison to BENCHMARKS.md.
  • 2026-12-02: Comparison table and charts updated for the replaced MLX 4-bit weights.
  • 2026-11-28: Third-party rows added.
Downloads last month
358
Safetensors
Model size
21B params
Tensor type
U32
·
F16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Xylolabs/gpt-oss-20b-MLX-8bit

Quantized
(272)
this model

Collections including Xylolabs/gpt-oss-20b-MLX-8bit