Running quantised models on a 4 GB edge device
Published9 min read▲ 238
Edge boards with 4 GB of shared memory are a great target for private, offline inference — as long as you respect their limits. This guide walks through the choices that matter.
Pick the runtime by format
GGUF models run with llama.cpp, ONNX graphs with ONNX Runtime, and vision models benefit from a TensorRT engine built on the device itself. The edge agent suggests a runtime from the model metadata and warns you when the estimated memory exceeds the device profile.
Stay under the memory budget
As a rule of thumb, a Q4 model of about 1.5B parameters with a 2k context leaves enough headroom for the operating system. Larger models will load but swap, and latency becomes unpredictable.
hub edge deploy my-org/tiny-chat-1.5b-gguf --device jetson-nano --runtime llama.cpp