Aion 1.0 Instruct 2.3B (MLX 4-bit)

MLX 4-bit conversion of microsoft/Aion-1.0-Instruct-2.3B, a ~2.29B instruct model with 32K context from the Microsoft Windows Applied Sciences Group. Quantization is affine 4-bit with group size 64 (4.501 bpw, 1.20 GiB weights).

This is not the first community conversion. Other MLX and GGUF builds already exist, including Xylolabs/Aion-1.0-Instruct-2.3B-MLX-4bit and AtomicChat/Aion-1.0-Instruct-2.3B-GGUF. Those were not tested here.

License

MIT License, Copyright (c) Microsoft Corporation. The official LICENSE text is included in this repo. The bundled MLX port follows Microsoft's published modeling code and is also under MIT, with layout adapted from mlx-lm (MIT, Copyright Apple Inc.).

Credit to the Microsoft Windows Applied Sciences Group for Aion 1.0 Instruct 2.3B.

Using the bundled port

Stock mlx-lm 0.32.2 cannot load the aion_instruct model type. This repo bundles a small MLX port as aion_instruct.py (also at port/aion_instruct.py). The port was checked against Microsoft's PyTorch code, and the outputs matched (last-token top-1 match on prompts of 49, 53, and 2308 tokens; last-token cosine 0.99997, 0.99995, and 0.99988 in BF16 versus Microsoft's MPS reference).

config.json sets model_file to aion_instruct.py. Load with trust_remote_code=True so mlx-lm can import that file:

from mlx_lm import load, generate

model, tokenizer = load(
    "pratikgx/Aion-1.0-Instruct-2.3B-MLX-4bit",
    tokenizer_config={"trust_remote_code": True},
    trust_remote_code=True,
)

messages = [{"role": "user", "content": "Hello"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=128))

Local speed on a 64GB M5 Pro Mac mini

Measured on 25 November 2026, macOS 27.0.1, mlx 0.32.4, mlx-lm 0.32.2. Temperature 0, 256 generated tokens, median of 3 runs after one warmup. Full results are in the dataset linked below.

Prompt tokens Generation tok/s Peak memory (GiB)
512 155.00 1.89
4096 147.66 2.40
32512 99.92 3.17

Peak memory is MLX's reported peak, in GiB (1024^3). A cross-check with mlx_lm.benchmark on random 512/256 prompts averaged 168.49 tok/s. On a 10-item sanity set this 4-bit build scored 9/10. A 32K needle test was 0/3.

Links

Write-up on GitHub

How I ran this, what broke, and the scripts: Aion 1.0 Instruct 2.3B on a 64GB M5 Pro Mac mini. It's part of Local AI field notes, where I log every model I run on my Mac mini.

Downloads last month
57
Safetensors
Model size
2B params
Tensor type
U32
ยท
BF16
ยท
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 pratikgx/Aion-1.0-Instruct-2.3B-MLX-4bit

Quantized
(17)
this model