Downloads · 30 days
48
4% of all-time downloads
cjnielson44/gpt-oss-120b-oQ8
gpt-oss-120b-oQ8 is a text generation model from cjnielson44. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
cjnielson44/gpt-oss-120b-oQ8 is an Apple Silicon / oMLX-ready MLX checkpoint for GPT-OSS 120B. It was produced with oMLX oQ8 quantization and published for local inference through oMLX.
Downloads · 30 days
48
4% of all-time downloads
All-time downloads
1.4K
Public
Parameters
117B
63.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors63.3 GB · 100%
How the weights are stored.
U32117B · 100%
From the Hugging Face model README
cjnielson44/gpt-oss-120b-oQ8 is an Apple Silicon / oMLX-ready MLX checkpoint for GPT-OSS 120B. It was produced with oMLX oQ8 quantization and published for local inference through oMLX.
This checkpoint is not a uniform 8-bit conversion of every tensor. GPT-OSS uses MoE expert projection tensors that are already stored in MXFP4 form, so those expert tensors are preserved as MXFP4 passthrough tensors and explicitly marked in config.json.
gpt-oss-120b MLX checkpoint, originally derived from openai/gpt-oss-120b.bits: 8, group_size: 64.bits: 4, group_size: 32, mode: mxfp4.gate_proj, up_proj, and down_proj under model.layers.<i>.mlp.experts.bfloat16.The MXFP4 expert overrides are required for oMLX/MLX loading. Without them, the loader treats the expert tensors as affine-quantized tensors and expects *.biases parameters that do not exist for these MXFP4 expert weights.
Download into an oMLX-discoverable model directory:
hf download cjnielson44/gpt-oss-120b-oQ8 \
--local-dir ~/.omlx/models/cjnielson44/gpt-oss-120b-oQ8
Restart oMLX, then use this model id:
gpt-oss-120b-oQ8
Example OpenAI-compatible request, assuming your oMLX server is listening locally:
curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OMLX_API_KEY" \
-d '{
"model": "gpt-oss-120b-oQ8",
"messages": [{"role": "user", "content": "Write a short note about Apple Silicon inference."}],
"max_tokens": 128
}'
Use oQ8 if you want the highest quality variant in this release family. Because GPT-OSS expert tensors are preserved as MXFP4 in all three variants, oQ8 may be the best default: it keeps higher precision for the non-expert tensors while only modestly increasing disk usage relative to oQ4 and oQ6.
This is the local variant retained after publish and smoke testing.
This repo was uploaded after local oMLX discovery and load testing. The GPT-OSS MXFP4 expert override fix in config.json was verified by successful oMLX loading.
openai/gpt-oss-120b.