Skip to content
The Daily Repo

OpenCPIL / prima.cpp

[Official] Prima.cpp: Scale Your Local AI Beyond One Device.

Why this job: matched by what the repo talks about: cpp, local, device, scale

What it does

  • Run larger models with low memory pressure. Use mmap to lazily load model weights, and the OS would free page cache on demand, then you can run models of any size with a low memory pressure.
  • GPU & CPU Offloading. If a device has a GPU, you can use both GPU and CPU for inference. For example, when VRAM is full, we can offload some model layers to RAM.
  • Piped-ring parallelism with prefetching. Prefetch upcoming layer weights to overlap disk loading latency and use advanced piped-ring parallelism to prevent the "prefetch-release" effect. This new parallelism improves pipeline parallelism by
  • Heterogeneity-aware workload distribution. A scheduler is designed to optimize workload distribution based on each device's computing power, disk speed, memory, and OS (the OS will affect the disk speed and the memory management strategy).

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 2 months ago
Stars
129
+1 this week
Licence
MIT
Allows business use
Downloads for
None listed
No release files
Latest version
None yet
No releases
Built with
C++
59% of the code

Is it looked after?

Contributors
1
Last 90 days
Issues
0% closed
2 still open
Pull requests
3 merged
0 waiting
Releases
None
Never published

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
drumih / turbo-fieldfare7,32615 days agoApache-2.0No downloads
flashinfer-ai / flashinfer6,885todayApache-2.0Linux
llm-d / llm-d5,202yesterdayApache-2.0No downloads
More: languages, topics and project record

Languages

  • C++ 59%
  • C 20%
  • Cuda 7%
  • Python 7%

Topics

  • distributed-ai
  • distributed-inference
  • iclr2026
  • llm-inference
  • on-device-llm

Project record

  • JobLocal LLMs
  • StatusListed
  • Commits9
  • Forks22
  • Watching3
  • Stars in 28 days+21
  • CreatedJun 30, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 7, 2026

Type to search.

Try