RustingStudio/RustingStrata
Pure-Rust LLM inference engine for GGUF (Qwen, DeepSeek, GLM, Hy4, Flint). Runs models bigger than your VRAM on CUDA and Vulkan, with MTP drafts and an OpenAI/Anthropic server. 12 GB RTX 3060 vs llama.cpp: Qwen3.6-35B-A3B UD-Q5_K_M 80.5 vs 64.4 tok/s, Flint UD-Q5_K_XL 64.6 vs 48.6. With MTP: 108 tok/s (UD-Q3_K_M), up to 160 (UD-Q2_K_XL).
What it solves
RustingStrata lets you run large mixture-of-experts (MoE) models like Qwen3.6, DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4-flash on a single consumer GPU, even when the full model does not fit in VRAM. It does this without requiring a C++ build step or the ggml library, and in several tested cases it decodes tokens faster than llama.cpp on the same hardware.
How it works
The engine is written entirely in Rust. It reads GGUF model files directly. When using an NVIDIA GPU, it compiles CUDA kernels at runtime using NVRTC (loaded from the driver); on other GPUs or as a fallback, it uses Vulkan 1.3 with shaderFloat64 support. For MoE models, if not all experts fit in VRAM, it places some experts on the GPU and runs the rest on the CPU at the same time. The placement adapts based on the routing decisions the model makes. The program also provides a server with an OpenAI-compatible API, plus command-line tools for calibration, generation, chat, and benchmarking.
Who it's for
This is for people who want to run large MoE LLMs on modest hardware (like an RTX 3060 12 GB) without dealing with a C++ compiler or the llama.cpp ecosystem. It requires some familiarity with the command line and a compatible NVIDIA (Volta or newer) or Vulkan GPU. It also suits those who prefer a Rust-based toolchain and want faster decode speeds than llama.cpp on certain models.
Highlights
- Faster decode than llama.cpp on tested Qwen3.6 models: e.g., 113.4 vs 66.5 tok/s on a Q2_K_XL file, and 80.5 vs 64.4 tok/s on a Q5_K_M file.
- No C++ build step: CUDA kernels are compiled at runtime via NVRTC; the same kernels also run on Vulkan.
- Adaptive CPU/GPU expert placement lets models larger than VRAM run with reasonable speed (e.g., a 249 GB DeepSeek model at 2-3.6 tok/s).
- Supports many quantization types, including trellis types (TQ2_T, TQK6, TQK7) from agentionai's fork.
- Simple commands: calibrate once per model, then generate, chat, bench, or serve with an OpenAI-compatible HTTP endpoint.
- Multi-GPU expert cache spreading is available for the Hy4-flash architecture.
Related
- Project
- Project
- Project
- Project