Pruning 85% of Gemma 4's weights for a narrow on-device task
An independent developer cut Gemma 4 26B-A4B to a dense 3.81B model (2.75 GB at Q4_K_M) by keeping only 8 experts per layer and using block-local training, reaching 92% agreement with the original on a narrow classification task. It runs at 79 tokens/s on a…
Why it matters
A cheap way to carve small task-specific on-device models out of larger MoE models.
What happened
1 min readAn independent developer cut Gemma 4 26B-A4B to a dense 3.81B model (2.75 GB at Q4_K_M) by keeping only 8 experts per layer and using block-local training, reaching 92% agreement with the original on a narrow classification task. It runs at 79 tokens/s on a Mac using 3.8 GB.
Our analysis
It is validated on one narrow task using the author's own data, and general knowledge is lost. Training each block to match the original's intermediate computation resembles layer-wise distillation, but the lightweight setup is interesting. Worth a look for builders of always-on on-device apps.