yeah, that's the problem. you should use -fp16 suffixed ones. M1 and M2 don't have circuits for bf16, fp16 makes both prefilling and decoding faster.
especially prefilling. I have M1 Max 64GB, with only 24 cores. M1 Ultra has 64 cores. more than doubled. With qwen3.6-27b-oQ4e-fp16 I can do 117 tps@4k ctx , and your device should approach 312 tps. that's enough and won't let your harness time out at all.
at 64K ctx, you can expect 234 tps. which feels "lagging", but still workable.
why oQ4e? because of decoding. since M1 Ultra doubles the bandwidth (800 GB/s vs 400GB/s), you can expect to have my decoding speed (12 tps) with oQ8e, and 24 tps with oQ4e.
I'd say these are already descend numbers.
My Pi Coding Agent never complains on my 27B oQ4e. But 35B MoE at 8bit are really way faster.
M1 MAX has 400GB/s bandwidth, theoretically maximum. Practical value would be 70% ~ 80% of it: 280GB/s to 320GB/s
I am using Qwen3.6-27B-oQ4e-fp16, when benchmarking it using oMLX at 1K context, the Peak Mem is 16.65 GB. To generate 1 token, this amount of data has to be transferred from unified RAM to the Metal calculating unit.
So, roughly, generation speed at tokens/s can be translated as "with the bandwidth, and that much data, how many times can it be transfered":
That said, you can't expect a higher TPS unless using a smaller quant to reduce the data size.
MTP and DFlash or any other kind of speculative decoding is actually a gambling. the MTP head or the small drafter model "guess" a series of tokens, and the main bigger model has to evaluate which one can be taken.
If the "guessing" is correct, then it's a gain. you pay the time for one token, but you get multiple tokens, for free.
However, in reality, one machine, one request at a time, (meaning not to serve the model in batches for multiple requests), the "next token" is rather unpredictable. so the evaluating usually becomes a waste, and the main model has to re-generate it. that's a net lose.
I've turned to antirez's quant and reband the tail 8 layers to MXFP4, so the non-PLE weights become 2.95 bpw, while Atomic Chat's "Q4_K_M" actually is 3.29 bpw (the average 4.03 bpw is because of the Q5_1 6 bpw PLE weights).
antirez's original has 2.63 bpw and PLE stays bf16. this makes it large and dumb. by rebanding the tail 8 layers to MXFP4, you can have two things at the same time:
1 - the same quality compared to atomic chat's Q4_K_M
2 - ds4 engine almost no decreasing on prefill and double the decode tps at long context, for example 128K, compared to llama.cpp
Check This Official CountdownCountdown
what's stopping you from clicking on it and see for your own f eyes ?? modelscope is Alibaba's weights site, what's holding you back ?
https://preview.redd.it/suhnorgilkih1.png?width=2436&format=png&auto=webp&s=d1670ea090f63942c9ccd9bc0d287d98d73b66aa
yeah, that's the problem. you should use -fp16 suffixed ones. M1 and M2 don't have circuits for bf16, fp16 makes both prefilling and decoding faster.
especially prefilling. I have M1 Max 64GB, with only 24 cores. M1 Ultra has 64 cores. more than doubled. With qwen3.6-27b-oQ4e-fp16 I can do 117 tps@4k ctx , and your device should approach 312 tps. that's enough and won't let your harness time out at all.
at 64K ctx, you can expect 234 tps. which feels "lagging", but still workable.
why oQ4e? because of decoding. since M1 Ultra doubles the bandwidth (800 GB/s vs 400GB/s), you can expect to have my decoding speed (12 tps) with oQ8e, and 24 tps with oQ4e.
I'd say these are already descend numbers.
My Pi Coding Agent never complains on my 27B oQ4e. But 35B MoE at 8bit are really way faster.
that's mathematical curse:
M1 MAX has 400GB/s bandwidth, theoretically maximum. Practical value would be 70% ~ 80% of it: 280GB/s to 320GB/s
I am using Qwen3.6-27B-oQ4e-fp16, when benchmarking it using oMLX at 1K context, the Peak Mem is 16.65 GB. To generate 1 token, this amount of data has to be transferred from unified RAM to the Metal calculating unit.
So, roughly, generation speed at tokens/s can be translated as "with the bandwidth, and that much data, how many times can it be transfered":
(280GB/s) /(16.65GB) -> 16.8 tokens/s
(320GB/s)/(16.65GB) -> 19.2 tokens/s
That said, you can't expect a higher TPS unless using a smaller quant to reduce the data size.
MTP and DFlash or any other kind of speculative decoding is actually a gambling. the MTP head or the small drafter model "guess" a series of tokens, and the main bigger model has to evaluate which one can be taken.
If the "guessing" is correct, then it's a gain. you pay the time for one token, but you get multiple tokens, for free.
However, in reality, one machine, one request at a time, (meaning not to serve the model in batches for multiple requests), the "next token" is rather unpredictable. so the evaluating usually becomes a waste, and the main model has to re-generate it. that's a net lose.
I've turned to antirez's quant and reband the tail 8 layers to MXFP4, so the non-PLE weights become 2.95 bpw, while Atomic Chat's "Q4_K_M" actually is 3.29 bpw (the average 4.03 bpw is because of the Q5_1 6 bpw PLE weights).
antirez's original has 2.63 bpw and PLE stays bf16. this makes it large and dumb. by rebanding the tail 8 layers to MXFP4, you can have two things at the same time:
1 - the same quality compared to atomic chat's Q4_K_M
2 - ds4 engine almost no decreasing on prefill and double the decode tps at long context, for example 128K, compared to llama.cpp