llm-rs is an LLM inference engine written entirely in Rust, from the tokenizer to the CUDA kernels to an OpenAI-compatible server with continuous batching and a paged KV cache. These posts follow its design, its kernels, and how it measures up against vLLM.

  • I benchmarked llm-rs, my Rust inference engine, against vLLM on the same GPUs and models. With one request at a time llm-rs keeps up, and with BF16 weights it can lead. With 256 requests at once vL...

  • llm-rs is an LLM inference engine written entirely in Rust: weight loading, tokenizer, sampling, the forward pass, the GPU kernels, and an OpenAI-compatible server. It began as a GPT-2 port with a ...

All blogs  ·  Home