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).
Repo RustingStudio/RustingStrata, read from GitHub 1 h ago. RustingStudio has not joined Take My Repo.
rustingstrata interface asks for the model, the mode (chat in the terminal, chat page in the browser, API server, speed test), GPU or CPU, the context length and the address. It prints the command the answers make and runs it. The model list shows the models folder and the Hugging Face and llama.cpp caches; its last row takes a path to one file or to another folder.warning and error are coloured, the chat prompt is coloured and the reasoning is dim. Output that goes to a pipe or a file is unchanged, and NO_COLOR=1 turns the colours off.error: ... line and exits with status 1.inkling2_loop and inkling2) on CPU, CUDA and Vulkan: chunked prefill on the GPU, a sampler, quantized KV cache, image input (inkling2v) and drafts from a DSpark file (--draft-model) or from the context (--spec-type) (PRs #65, #72, #75 by ybenyedder; #66)..scale tensors of Unsloth's Inkling 2 quants (PR #68 by ybenyedder).--ctx when given, else the context the model was trained on.--alias names the served model (#60). --auto-unload SECONDS frees the model after that long without a chat request (#59).--split sets the layer share per device, and calibrate measures layer splits on several GPUs and stores the fastest (#40, #41).calibrate --model takes a folder. --mtp-model and --draft-model measure the draft count with that file (#61).--device N is the same card as on CUDA.hy_v4_flash) in chat, generate, serve, bench and check.--draft-model).--kv q4, --kv q2).repeat_penalty and penalty_last_n (#45).docs/HOSTING.md.--allowed-hosts (#48).calibrate: the file names its GPU, and a file from another GPU is ignored. XDG_CACHE_HOME moves the calibration folder; set it to a mounted path in a container (#52).generate).--lora ADAPTER.gguf or --lora ADAPTER.gguf:SCALE applies a GGUF LoRA adapter when the model loads, on the CPU and on the GPU (CUDA and Vulkan). The base GGUF is not changed and nothing is requantized.mcp.json file (serve --mcp), with a switch per tool and a confirm step before each call (#18).--mtp-model), and MTP drafts with a multi-GPU layer split (#38).serve exits with status 1 when the GPU device is lost, so a service manager restarts it (#43).STRATA_CUDA_SYNC names the kernel that faults (#34).bench --prompt-file (#3).--mtp is not available (#38).rustingstrata serve, then open the server address in a browser) has a new terminal-style design.localStorage.serve --parallel: on dense models with CUDA, eight or more requests that decode at the same time now run as one batched forward, and queued requests are prefilled together. Under load the batched path can pick a different token at a near-tie than a single request does.serve --parallel 16 on the 35B model no longer runs out of VRAM: the number of cached CUDA graphs is capped.serve prints a hint when the model is not calibrated on this machine. rustingstrata calibrate --model <file> takes a few minutes, once per model.--max-waiting on a server that strangers can reach (see docs/HOSTING.md).--think is on by default for serve and chat; --think false turns it off.tools/loadtest.py measures throughput with many clients.--mtp-model.--spec-type ngram-simple|ngram-map-k|ngram-map-k4v|ngram-mod|ngram-cache, with --lookup-cache-static and --lookup-cache-dynamic. They work with one slot (--parallel 1).--prompt-cache PATH keeps KV prefix states on disk across requests and restarts.nvrtc64_120_0.dll) as well as 13.x, on PATH or under %CUDA_PATH%\bin. STRATA_NVRTC names another file. This was built for Windows but not yet run on a Windows machine; reports are welcome in #35.rcp_d uses double precision (PR #37 by @ybenyedder).rustingstrata-linux-x86_64: Linux, x86-64-v3.rustingstrata-windows-x86_64.exe: Windows, x86-64-v3.CUDA needs the NVIDIA driver and the NVRTC library; without them the run falls back to Vulkan. Usage: README and docs/USAGE.md.