r/StrixHalo • u/hycrice • 13h ago
Ling-3.2-air on one Strix Halo: 93 tok/s on code, 1000+ tok/s prompt reading (open-source engine fork)
Ling-3.2-air is about the same size as Qwen3.8-Flash-Next (roughly 60 GB at this quant) and scores about the same on benchmarks. The catch so far was speed: on a Strix Halo it was the slow one of the two.
I forked Project Maya's engine for it and made it faster. Same weights file, nothing re-quantised.
One Strix Halo 128 GB, model alone on the box, temperature 0, thinking off:
| before | after | |
|---|---|---|
| code | 71 tok/s | 93 tok/s |
| prose | 50 tok/s | 59-61 tok/s |
| reading a 4k prompt | 400 tok/s | ~1070 tok/s |
| reading a 16k prompt | 358 tok/s | ~1030 tok/s |
| reading a 32k prompt | 303 tok/s | ~900 tok/s |
Does it change the answers?
- Short prompts (under 512 tokens): output is bit-for-bit the same as the original engine.
- Long prompts: tiny differences in the last digits. On 20 test prompts, 18 gave the same text and the other 2 gave the same correct answer in different words.
- Tool calls, pictures, thinking and a 246k-token prompt all work.
What I did, in plain words:
- Used AMD's faster matrix library for the big multiplications.
- Wrote a one-pass attention kernel for prompt reading.
- Read prompts in bigger chunks, so the compressed expert weights get unpacked far fewer times.
- Made the small helper model that guesses upcoming tokens cheaper to run. Every guess is still checked by the main model, so this only changes speed.
Where it stops: answer speed is now limited by how fast the machine can read memory, and prompt reading by the chip's matrix hardware. I don't expect much more from this box without different weights.
Every change has an off switch, and the repo has a log of each change with its measured gain, including the ones that didn't help.
Repo: https://github.com/barrymaiawang-droid/ling-fast (MIT, fork of mw00/project-maya)
Only tested on one Strix Halo with ROCm 7.2.4. If you try it on other AMD hardware I'd like to hear your numbers.