AirLLM Runs Huge Models on Small GPUs by Streaming Layers From Disk, at a Steep Speed Cost
AirLLM is an open-source tool that claims to run very large language models, including a 70B model on a 4GB graphics card, by avoiding the need to hold the whole model in GPU memory. It splits a model into per-layer files on disk and loads only one layer at a time during generation, with prefetching to overlap reads. Because the full model is re-read from disk for every generated token, output is extremely slow, with reported figures ranging from tens of seconds to several minutes per token. The project's release notes and issue tracker show that its memory savings come at the expense of speed, which makes it better suited to experimentation than everyday use. The article's authors argue that users should weigh this trade-off before adopting the tool.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in