AuK-Flash MLX 8-bit

8-bit MLX weights of tencent/AuK-Flash for vanch007/mlx-AuK. Sampling: 4 fixed steps, no CFG.

Replaced on 2026-11-27. The files uploaded here earlier (dit_8bit.safetensors) were unusable: they held no transformer blocks, because the quantisation script saved a randomly initialised model. Delete any earlier download. The speed figures on the earlier card were not measured with this code.

Files

File Content
dit.safetensors Flux2Edit transformer, 1.65 GB; linear layers inside the transformer blocks in 8-bit (group size 64), the rest bf16
vae.safetensors BigVGAN-Flow VAE, bf16
config.json architecture, sampling and quantisation settings

Quantised from the bf16 conversion mlx-community/AuK-Flash-bf16.

The pipeline also needs the semantic encoder mlx-community/Qwen2.5-Omni-3B-Thinker-bf16 (7.46 GB). It is under the Qwen Research License (non-commercial), so the pipeline is research-only although the files in this repository are MIT.

Use

git clone https://github.com/vanch007/mlx-AuK && cd mlx-AuK
pip install mlx soundfile numpy torch torchaudio transformers qwen-omni-utils huggingface_hub
hf download vanch007/AuK-Flash-MLX-8bit --local-dir models/AuK-Flash-8bit
hf download mlx-community/Qwen2.5-Omni-3B-Thinker-bf16 --local-dir models/Qwen2.5-Omni-3B-Thinker-bf16
import sys; sys.path.insert(0, "src")
from mlx_auk.infer import AukInfer, save_audio

infer = AukInfer(model_dir="models/AuK-Flash-8bit")
messages = [{"role": "user", "content": [
    {"type": "text", "text": 'Say the following with the same voice: "Hello from Apple Silicon."'},
    {"type": "audio", "audio": "reference.wav"},
]}]
wav, sr, metrics = infer.generate(messages, gen_seconds=3.0, seed=42)
save_audio(wav, sr, "output.wav")

Check against bf16

20 zero-shot cloning prompts (10 English, 10 Chinese) from Seed-TTS-Eval, same seed, transcribed with Qwen3-ASR 1.7B.

bf16 8-bit
English word error rate 0.00 % 0.00 %
Chinese character error rate 0.46 % 1.38 %
Real-time factor (one Mac, indicative only) 0.98 0.76

One transformer step differs from the source weights by 2.8 % (relative L2). Twenty clips are a small sample; speaker similarity and the editing tasks were not compared. Arabic digits inside Chinese text are often misread; spell numbers out.

Downloads last month
35
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 vanch007/AuK-Flash-MLX-8bit

Base model

tencent/AuK
Quantized
(1)
this model