Avarok-Cybersecurity/atlas

Pure Rust Inference Engine

What it solves

Atlas is a high-performance LLM inference engine designed to run large models efficiently across a wide range of hardware, from edge devices to data center racks. It eliminates the need for heavy dependencies like Python or PyTorch, providing a lightweight, single-binary runtime that maximizes throughput and reduces latency, particularly for agentic workloads involving frequent tool calls and long context windows.

How it works

Written in pure Rust and CUDA, Atlas uses hand-tuned CUDA kernels tailored to specific hardware, model, and quantization targets. It implements several advanced optimization techniques:

  • Speculative Decoding: Supports both MTP (Multi-Token Prediction) draft heads and DFlash block diffusion to increase tokens per second.
  • Memory Management: Utilizes radix-tree prefix caching for multi-turn conversations and FP8/NVFP4 quantization to reduce memory footprints.
  • SLAi Scheduler: An SLO-aware scheduler that reorders concurrent sequences to optimize verification batches and prefill efficiency.
  • Expert Parallelism: Enables scaling across multiple nodes (e.g., 2x GB10) for massive models.
  • Hardware Abstraction: Uses a plug-and-play architecture allowing the same CUDA source to be compiled for different targets (e.g., NVIDIA and AMD via SCALE).

Who it’s for

Atlas is built for developers and organizations deploying LLMs in production environments where performance, low overhead, and hardware flexibility are critical. It is specifically tuned for agentic-coding workloads (like Claude Code or Cline) that require high context windows and fast tool-use loops.

Highlights

  • Pure Rust Runtime: Ships as a single ~75 MB binary with no Python or PyTorch dependencies.
  • Broad Hardware Support: Verified on NVIDIA DGX Spark (GB10/Blackwell) and AMD Strix Halo, with early bring-up for Apple Silicon.
  • OpenAI Compatible: Serves OpenAI, Anthropic, and Responses APIs.
  • High Concurrency: Out-performs vLLM across a wide range of concurrency levels (C=1 to C=128).
  • Advanced Quantization: Supports NVFP4 and FP8 quantization for weights and KV caches.

Related

  • Project
  • Project
  • Project
  • Project
  • Project