16 GB Ought to Be Enough for Anybody
By Nick Bild
Running the best large language models locally generally requires a computer with a substantial amount of RAM and a powerful GPU, especially when dealing with models containing hundreds of billions of parameters. If you aren't concerned about speed, you can get by without a GPU — a CPU can do anything a GPU can, just with a whole lot less parallelism. That leaves memory as the non-negotiable factor. Or is it? Not according to Jim Bruges, who just demonstrated a method that allows a 744-billion-parameter model to run on a system with 16 GB of RAM. Bruges pulled this feat off using an Arduino VENTUNO Q single-board computer, an NVMe SSD, and an open source inference engine called Colibri. As configured, the setup can run two different large language models locally: Qwen3.6-35B-A3B and GLM-5.3, which contains a whopping 744 billion parameters. Neither requires an internet connection once the models and software have been downloaded, and all inference takes place directly on the board. Getting around memory limitations The secret lies in the mixture-of-experts architecture used by both models. Rather than activating every parameter for each generated token, these models use only a subset of their available expert networks at any given time. This reduces the amount of computation required, but the model weights still need to be accessible somewhere. Colibri solves the memory problem by storing the weights on an SSD and loading the necessary experts into RAM as they are needed. It also maintains a cache of recently used experts to reduce storage accesses. As a result, the computer doesn't need to have enough memory to hold the entire model at once. Bruges used a 1 TB Crucial NVMe SSD connected to the VENTUNO Q. The quantized Qwen model requires approximately 23 GB of storage, while GLM occupies an enormous 419 GB. The software runs under Ubuntu 24.04 and performs inference using four of the board's Cortex-A78C CPU cores. Neither the GPU nor the NPU is used in the final configuration. It works, but don't expect too much Unsurprisingly, moving model weights between an SSD and RAM comes with a very large performance penalty. With a 96-slot expert cache, Qwen generated approximately 0.74 tokens per second. Adjusting the CPU frequency settings improved that figure slightly to 0.774 tokens per second. GLM was considerably slower, managing just 0.03 tokens per second. In one test, Bruges asked it to name three planets. The model correctly responded with "Earth, Mars, Venus," but it took approximately seven minutes to produce that answer. Clearly, this isn't a practical replacement for a high-end AI workstation. This project isn't going to make anyone abandon their GPU-equipped workstation, but it does demonstrate a viable alternative to loading entire models into RAM. For applications where response times aren't critical, or for those simply interested in experimenting with enormous language models on modest hardware, Bruges' approach opens up some interesting possibilities.A huge model on a small dev board (📷: Jim Bruges)
↑ Back to top
Originally published by
Hackster News ↗
· rebuilt here from its own full-text RSS feed · all rights
remain with the publisher, please read and support them there.