atlas

Research map / Large language models / Reasoning and chain of thought

Prima.cpp: Fast 30-70B LLM Inference on Heterogeneous and Low-Resource Home Clusters

ICLR 2026 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents prima.cpp, a distributed on-device inference system that runs 30-70B Llama-family LLMs on heterogeneous consumer home clusters using pipelined-ring parallelism with prefetching and the Halda layer-assignment scheduler.

Problem

Running 30-70B LLMs on consumer home devices with insufficient RAM/VRAM, slow disks, Wi-Fi links and heterogeneous OSs, where existing distributed systems need enough aggregate memory or suffer from disk-offloading latency.

Approach

Pipelined-ring parallelism runs multiple rounds per token so devices prefetch different layer segments from disk via mmap, avoiding prefetch-release conflicts; Halda then solves a heterogeneity-aware ILP-based layer-to-device assignment (with iterative set assignment and device selection) for CPU/GPU workloads.

Key results

Surprising findings

Limitations

Experimental setup

Metrics: TPOT (ms/token) TTFT (ms) memory pressure tokens/s

Baselines: llama.cpp exo dllama TPI-LLM

Builds on: llama.cpp pipeline parallelism speculative decoding HiGHS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy