r/coolgithubprojects • u/SyntheticMindsLab • 8h ago
A community RTX 4090 port of Astral Inference Server: 143.1 vs 74.7 tok/s decode against llama.cpp on one 4090
github.comWe're Synthetic Minds, we build Astral Inference Server.
This is a contributor's measurement, not ours. GitHub user lkyprogramer maintains inkling-4090-engine, an unofficial community fork of Astral Inference Server ported to and validated on a single GeForce RTX 4090 (sm_89) for Inkling 2 Mini. The fork is not affiliated with Synthetic Minds, and the credit for the port and the numbers is theirs.
Their setup: one RTX 4090, the unsloth UD-Q4_K_XL GGUF of Inkling 2 Mini, compared with llama.cpp on the same file.
Decode, no draft: 143.1 tok/s against 74.7 tok/s for llama.cpp, which is 1.92x. Decode with the DSpark draft: 173.9 tok/s against 90.5 tok/s for llama.cpp at k = 3, which is 1.91x. KL divergence against llama.cpp on the decode path: mean 0.0018, p99 0.023. llama.cpp compared against itself at -ub 512 and -ub 1 gives 0.0020 and 0.028, which is a useful sense check on the spread.
Nearly 2x, said only beside those figures and that setup. Nothing here extends to other GPUs or other models.
The same work found and fixed a stream-ordering bug that affects all GPUs: synchronous uploads and fills now finish on the legacy stream before Astral's non-blocking streams start work. We are looking at bringing that fix upstream.
The upstream project is Astral Inference Server, an open-source, OpenAI-compatible LLM server with a Rust host and hand-written CUDA kernels, shipped as one binary with no Python.
Community fork: https://github.com/lkyprogramer/inkling-4090-engine Upstream: https://github.com/syntheticminds-lab/Astral-Inference-Server
Written with AI help, edited and checked by us.
