- https://github.com/lyogavin/airllm
- Normally a 70B model needs around 140GB of VRAM. AirLLM loads one layer at a time into GPU memory, runs the computation, saves the result, then swaps in the next. A 70B model runs on 4GB VRAM at full precision.
- Like reading a book one page at a time instead of memorizing the whole thing.
- Speed is traded for accessibility. Slower than full-VRAM inference, but private and local on hardware you already own.
- Install with
pip install airllm.
Connections
No outgoing connections.