AtomicBot-ai/atomic-engine

Atomic Engine adds MoE expert streaming from SSD and adjustable managed memory budgets on top of llama.cpp. During runtime, you can manually shrink or expand the budget without interrupting the session, and enable automatic memory pressure control. The README provides launch commands for running Inkling 2 Mini on Apple Silicon (using a DSpark draft model for speculative decoding), as well as configurations for running single-path LFM2.5-24B on CUDA with a 4 GiB memory and 2 GiB VRAM limit. The author claims that on an M4 Max with a budget set between 8 and 20 GiB, the IQ2_M version decodes at approximately 68 to 109 tokens/s, while the original llama.cpp without memory limits achieves about 33 tokens/s, with token-by-token identical output.

Atomic Engine adds MoE expert streaming from SSD and adjustable managed memory budgets on top of llama.cpp. During runtime, you can manually shrink or expand the budget without interrupting the session, and enable automatic memory pressure control. The README provides launch commands for running Inkling 2 Mini on Apple Silicon (using a DSpark draft model for speculative decoding), as well as configurations for running single-path LFM2.5-24B on CUDA with a 4 GiB memory and 2 GiB VRAM limit. The author claims that on an M4 Max with a budget set between 8 and 20 GiB, the IQ2_M version decodes at approximately 68 to 109 tokens/s, while the original llama.cpp without memory limits achieves about 33 tokens/s, with token-by-token identical output.

Why it matters Models, state, computation, and expert caches share a single memory limit that can be adjusted up or down during runtime, making it suitable for machines where the entire MoE model does not fit in memory.

Stars 503 (+21 / 24h)

Reasons

  • 21 new stars in 24 hours, total stars 503, ranked 14 on Trendshift for the day (indicating attention only)
  • The README specifies the model, quantization, budget, and control version for each test, and includes reproducible benchmark scripts

Usage

  • Compile the Metal or CUDA version of llama-server according to docs/atomic-engine-release.md, download the GGUF version specified in the README, set the budget using --engine-budget-mib, then launch. Open 127.0.0.1:8080 in a browser or use the OpenAI-compatible interface

Risks

  • The author states it is still under development, validated only for the listed models and configurations, and is not a system-level memory limiter
  • No license identified on GitHub; benchmarks were conducted on a single M4 Max, single-path, greedy decoding

Open

Trendshift(GitHub Trending 快照)

Explore the latest AI Radar updates