AuK-Flash MLX (bf16)
bf16 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 were byte-for-byte copies of the official PyTorch weights (fp32), not an MLX conversion, and the current code cannot load them. For those, use tencent/AuK-Flash. The speed figures on the earlier card were not measured with this code.
The files here are the MLX conversion published as mlx-community/AuK-Flash-bf16 (converted by the mlx-community / xocialize authors, MIT), mirrored so that this repository works with mlx-AuK. An 8-bit transformer is in vanch007/AuK-Flash-MLX-8bit.
| File | Content |
|---|---|
dit.safetensors | Flux2Edit transformer and encoder layer-fusion weights, 3.06 GB |
vae.safetensors | BigVGAN-Flow VAE, 0.29 GB |
config.json | architecture and sampling settings |
The pipeline also needs the semantic encoder mlx-community/Qwen2.5-Omni-3B-Thinker-bf16 (7.46 GB), under the Qwen Research License (non-commercial), so the pipeline is research-only.
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 --local-dir models/AuK-Flash-bf16
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-bf16")
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
20 zero-shot cloning prompts from Seed-TTS-Eval (10 English, 10 Chinese), Qwen3-ASR 1.7B transcripts: English word error rate 0.00 %, Chinese character error rate 0.46 % (8-bit: 1.38 %). A small sample. Arabic digits inside Chinese text are often misread; spell numbers out.