airllm streams model layers instead of loading them all, claims 70B on a 4GB card without quantization. Has anyone measured the actual throughput?
Came across airllm again on GitHub trending (25.9k stars, +819 today). The approach is layer-by-layer streaming: load one layer into memory, run it, discard it, load the next. So peak memory is the size of the largest layer rather than the full model.
What I find interesting is that this is explicitly not quantization, distillation or pruning. The weights are untouched. That is a genuinely different trade from what most low-VRAM setups make, which is quality for memory. Here it is speed for memory.
The README claims 70B on a single 4GB card, 405B Llama 3.1 on 8GB, DeepSeek-V3 (671B) on ~12GB, and Kimi K3 at 2.8T on under 4GB, with sparse MoE models streaming a single expert rather than a whole layer.
Those are the project's numbers, not mine. What I have not seen anywhere is throughput. If you have run this on consumer hardware, what were you actually getting in tokens per second, and at what context length? I am trying to work out whether the disk read dominates to the point where it is only useful for batch work, or whether it is tolerable interactively.
u/Repulsive-Passage627 — 18 days ago