Extreme Memory Limits for Small Language Models: Quantization and Layer-by-Layer Loading Tradeoffs
This article reviews a reported attempt to run a 270M-parameter language model on an office laser printer, explains why the cited performance numbers should be treated cautiously, and calculates the memory required at different quantization bit widths. It shows that a 14 MB budget cannot hold the full model even at 1-bit quantization and that layer-by-layer loading is the only viable route, with per-layer size setting the lower bound on bit width.
1. What the experiment is and which numbers to trust
According to public discussion, an engineer ran a 270-million-parameter small language model on an office laser printer. The printer firmware was not modified, and no external compute hardware was attached; inference was carried out by the printer’s built-in page description language interpreter.
All numbers cited here come from rewritten material: peak memory of about 14.1 MB, prefill of about 184 seconds, and generation of about 60 seconds per token. We have not verified the original report, so below we call them “the numbers given in the material.” There is also an obvious contradiction in the material: one place says generation is about 60 seconds per token, while another says per-token computation is about 0.1 seconds, a difference of about 600x. This usually means the two numbers use different measurement definitions. Readers should consult the original report before citing them.
2. Start with the arithmetic: how much memory do 270M parameters take?
Memory estimation should come before any implementation. Multiply the parameter count by bytes per parameter to get the weight footprint. The table below assumes parameters are evenly distributed across layers, at about 15 million per layer. This assumption ignores the embedding and output layers, so actual values will deviate.
| Bit width | Whole-model weights | Per-layer weights (evenly split across 18 layers) | Can the whole model stay resident in 14 MB? |
|---|---|---|---|
| FP16 (16-bit) | ~540 MB | ~30 MB | No |
| INT8 (8-bit) | ~270 MB | ~15 MB | No |
| INT4 (4-bit) | ~135 MB | ~7.5 MB | No |
| 2-bit | ~67.5 MB | ~3.8 MB | No |
The claim in the material that “weights can be compressed to teens of MB” does not match the parameter count. Even with 1-bit quantization, the whole model would still be about 34 MB. To fit the whole model into 14 MB, the average would need to be below 0.5 bits per parameter, which ordinary quantization schemes cannot achieve. Therefore, a 14 MB budget can only be realized through layer-by-layer loading. Single-layer size determines the lower bound on bit width:
