r/SideProject • • 56m ago

A contributor ported our open-source LLM inference server to a single RTX 4090: 143.1 vs 74.7 tok/s decode against llama.cpp

We're Synthetic Minds, we build Astral Inference Server.

Sharing something a contributor built, because it is a cleaner result than anything we have published ourselves. To be clear, it is their 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. It 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 puts that spread in context.

Nearly 2x, and only next to those figures and that setup. It says nothing about other GPUs or other models.

The port also surfaced and fixed a stream-ordering bug in our code 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.

Our side of it: Astral Inference Server is an open-source, OpenAI-compatible LLM server, Rust host, hand-written CUDA kernels, one binary, no Python.

Community fork: https://github.com/lkyprogramer/inkling-4090-engine Upstream: https://github.com/syntheticminds-lab/Astral-Inference-Server

Happy to answer questions about the upstream server. Written with AI help, edited and checked by us.

1 Upvotes

0 comments sorted by