Figures FIG. 02
On a 2019 phone, 4-bit wasn't faster
I measured eight quantization levels of my own fine-tuned FunctionGemma 270M on a Snapdragon 710. 8-bit kept full accuracy at four times the speed of BF16, and 4-bit bought nothing.
I fine-tuned a small model to turn spoken phone commands into tool calls, and I wanted it to run on the phone itself. The usual advice for small devices is to go to 4-bit: smaller file, faster tokens. So before shipping I measured it instead of assuming it.
The setup
The model is FunctionGemma 270M with a rank-16 LoRA, trained on a free Colab T4. I converted it to GGUF and built eight quantization levels. Each one answered the same 150 held-out commands. The phone is a Realme 3 Pro from 2019 (Snapdragon 710), running on the CPU only, with 6 threads.
What came back
| Type | Size | Commands right | Phone, tokens/s |
|---|---|---|---|
| BF16 | 518 MB | 88.0% | 7.9 |
| Q8_0 (shipped) | 278 MB | 88.7% | 32.5 |
| Q6_K | 270 MB | 88.0% | 28.8 |
| Q5_K_M | 248 MB | 87.3% | 28.0 |
| Q4_K_M | 241 MB | 83.3% | 30.5 |
| Q4_K_M + imatrix | 241 MB | 88.0% | 30.3 |
| IQ4_XS | 230 MB | 88.0% | 32.7 |
| Q4_0 | 230 MB | 82.7% | 32.8 |
4-bit bought nothing here
The fastest 4-bit build, Q4_0, ran at 32.8 tokens a second. Q8_0 ran at 32.5. On this phone the difference is noise, and Q4_0 got six points fewer commands right.
The better 4-bit builds closed the accuracy gap. With an importance matrix, Q4_K_M went from 83.3% back to 88.0%, and IQ4_XS matched BF16 at the same speed as Q8_0. But none of them beat Q8_0 on accuracy, and the most they saved was 48 MB. I haven't profiled why the smaller files are not faster on this CPU, so I won't guess.
What shipped
Q8_0: the most accurate build, half the size of BF16 and four times its speed. With the speeds this close, I took the build that gets the most commands right.
The lesson is the boring one. A rule of thumb about quantization is a starting point, not an answer. Measure on the device your users actually hold, with the task the model actually does.
Questions about FIG. 02
Which model was measured?
FunctionGemma 270M, fine-tuned with a rank-16 LoRA on a free Colab T4 to turn spoken phone commands into tool calls, then converted to GGUF.
On what device?
A Realme 3 Pro from 2019 with a Snapdragon 710, CPU only, 6 threads, answering the same 150 held-out commands at each of eight quantization levels.
Was 4-bit faster than 8-bit?
No. Q4_0 ran at 32.8 tokens a second and Q8_0 at 32.5, and Q4_0 got six points fewer commands right (82.7% against 88.7%).
Which build shipped, and why?
Q8_0: the most accurate build (88.7%), about half the size of BF16 (278 MB against 518 MB) and about four times its speed (32.5 against 7.9 tokens a second).
What is the lesson?
Treat quantization rules of thumb as a starting point. Measure on the device your users hold, with the task the model actually does.