Pusula MLX 8-bit

Pusula for Apple silicon. This repository contains Decision 3.0 (vllm-sr/d3) quantized to 8 bits with MLX, together with the unmodified Pusula v2.0 adapter. Pusula runs on an Apple silicon Mac with the pusula package, without a GPU server. For each message, typed questions are answered with a probability for every option in a single forward pass, without text generation.

8-bit is within 0.06 points of GPU BF16 (micro and macro) and within 0.5 points per question type. Against 6-bit the paired difference is not significant (paired z โˆ’0.68 for base Decision 3.0 and โˆ’1.02 for Pusula). It needs more memory than 6-bit without a measured gain; the 6-bit version is recommended. Per-question agreement with GPU BF16 has not been measured yet.

DoฤŸru karar, doฤŸru yรถn.

Version Pusula v2.0 adapter (erenextlabs/pusula, revision db9b467) on MLX 8-bit Decision 3.0
Base model vllm-sr/d3 (26B, Apache-2.0), text backbone quantized to 8 bits (MLX affine, group size 64)
This repository MLX 8-bit Decision 3.0 (27.3 GB) + Pusula LoRA adapter (rank 32) and code readout in adapter/ (0.9 GB)
Other versions pusula-mlx-4bit: 14.4 GB weights; pusula-mlx-6bit, recommended: 20.9 GB weights; pusula-mlx-8bit (this repository): 27.3 GB weights
Language Turkish
Hardware Apple silicon Mac; measured on an M3 Max with 36 GB unified memory

Results

Full Turkish Decision Benchmark (2,194 messages, 19,861 questions), on an Apple M3 Max with 36 GB unified memory. Micro accuracy (%) / macro accuracy (%) / ECE (15 bins), computed as d3train eval computes them. The GPU BF16 row is the same evaluation of the published weights on a GPU. Base Decision 3.0 is this model with the adapter switched off.

Run Base Decision 3.0 Pusula Pusula gain (micro)
MLX 8-bit (this repository) 87.44 / 88.47 / 0.008 91.38 / 92.20 / 0.032 +3.94
GPU BF16 87.50 / 88.52 / 0.009 91.41 / 92.22 / 0.031 +3.91

Pusula answers every question with the adapter on, which is the v2.1 default (PUSULA_OWN_BASE=templates; the benchmark has no eksik_bilgi question). With the v2.0 setting (custom questions answered by base Decision 3.0, as in the published 92.0 of the Pusula card), the macro accuracy is 92.02. Results of all three versions and per question type are given in the MLX guide.

Memory and speed, measured on the M3 Max with 36 GB:

Weights 27.3 GB (download 28.1 GB with the adapter)
Peak memory footprint, Pusula 30.8 GB (token budget 1024, 2 GB buffer cache limit, 100 questions, /usr/bin/time -l)
Speed, base Decision 3.0 161 prompt tokens/s
Smaller machines not measured

Usage

The model is loaded with the pusula package and its MLX extra. Generic mlx-lm loading is not sufficient, since the code readout, the Pusula adapter and the non-causal attention of the d3 prompt contract are applied by pusula.mlx_d3.

pip install "pusula[mlx] @ git+https://github.com/erenextlabs/pusula@v2.1"
hf download erenextlabs/pusula-mlx-8bit --local-dir pusula-mlx-8bit
hf download erenextlabs/turkish-decision-benchmark tr_decision_bench_v1.jsonl --repo-type dataset --local-dir .

Score the benchmark, or a question file in the same format, with Pusula (--base switches the adapter off and gives base Decision 3.0):

python -m pusula.mlx_d3 eval --mlx pusula-mlx-8bit --adapter pusula-mlx-8bit/adapter --token-budget 1024 \
  --data tr_decision_bench_v1.jsonl --out pusula-mlx.json

Each run writes a report (accuracy per question type, micro and macro accuracy, ECE, speed) and one prediction line per question. Commands for comparisons with other runs and with GPU predictions are given in the MLX guide.

Training

No training was done for this repository. The adapter in adapter/ is the Pusula v2.0 adapter, unchanged; its training is described on the Pusula card. The text backbone of vllm-sr/d3 was quantized once with python -m pusula.mlx_d3 convert --bits 8 (MLX affine quantization, group size 64). The LoRA adapter is applied at run time in full precision on top of the quantized weights.

Limitations

  • The limitations of Pusula v2.0 apply.
  • pusula.mlx_d3 scores question files from the command line. The D3Engine Python interface and the HTTP server (pusula-serve) of the Pusula repository do not run on MLX.
  • Memory and speed were measured only on an M3 Max with 36 GB. Smaller machines were not measured.
  • Results were measured on the Turkish Decision Benchmark only; evaluation on application-specific data is recommended before deployment.

Contributors and citation

Pusula is developed by Erenext's AI Lab. The contributors are listed below:

Name Role GitHub Hugging Face
Hasan ลžahin Project lead hsnsahinhsn hsnsahinhsn
Ahmet Sayman Contributor Saymanlabs-LLC saymanlabs

Source code: github.com/erenextlabs/pusula.

@software{pusula2026,
  title   = {Pusula: A Full-Featured Decision Model Built for Turkish},
  author  = {ลžahin, Hasan and Sayman, Ahmet},
  year    = {2026},
  version = {2.0},
  url     = {https://github.com/erenextlabs/pusula},
  license = {Apache-2.0}
}

License and attribution

Released under Apache-2.0. This repository contains a version of vllm-sr/d3 (vLLM Semantic Router Team, Apache-2.0) quantized with MLX, which is itself built on Qwen3.8-27B (Apache-2.0), and the Pusula v2.0 adapter (erenextlabs/pusula, Apache-2.0). In version 2.0 of the adapter, Gemma-4-31B-it (Google, Apache-2.0) was used to write synthetic training messages and Qwen3.8-27B to label them; boun-tabilab/TabiBERT (Apache-2.0) was used for data curation. The sectors and occupations of the synthetic messages were sampled from NACE Rev. 2.1 (Source: Eurostat) and the ESCO classification of the European Commission (ยฉ European Union). See NOTICE.

Downloads last month
19
Safetensors
Model size
26B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for erenextlabs/pusula-mlx-8bit

Base model

Qwen/Qwen3.8-27B
Finetuned
vllm-sr/d3
Quantized
(3)
this model