Ultrafast LLMs: Rust and CUDA for the Future RTX 5090
·1 min read·Intermediate
“
Imagine AI so fast you forget what waiting even means. A new open-source project aims for exactly that, squeezing every last drop of power from tomorrow's graphics cards.
In 30 seconds
01Avifenesh built bw24, an LLM inference engine written from scratch in Rust and CUDA.
02
→
💡
What this means for you
For average people, this means AI will become even faster and more responsive, especially if they use PCs with next-gen graphics cards. They'll be able to interact with more complex AI without annoying waits.
Making talking-head videos, where you're the star explaining something, can be a monumental pain. Now imagine an AI doing most of the heavy lifting, right there in your browser.
·1 min·3·Beginner
It's optimized for the upcoming NVIDIA RTX 5090 GPU, using techniques like NVFP4 and MoE.
03The goal is to make AI models incredibly fast and efficient on next-gen hardware.
0101
What's Cooking for Future AI?
Someone is already figuring out how to make AI models fly on the next generation of hardware. Avifenesh developed an engine, dubbed bw24, which promises mind-blowing performance.
It's written from scratch in Rust and CUDA, targeting the upcoming NVIDIA RTX 5090. This means it doesn't rely on existing solutions; it's built to be as efficient as possible. Think of it like building a custom race car instead of tuning a production model. The goal is to push the capabilities of a GPU that isn't even out yet.
0202
Why is This Engine So Special?
The bw24 project stands out for its obsessive focus on optimization, leveraging advanced techniques. The bw24 project uses NVFP4, an NVIDIA numeric format, which reduces memory footprint and speeds up calculations. Plus, it supports MoE (Mixture of Experts) architectures.
📬 Enjoying this article?
Get the best AI news every week, straight to your inbox.
These MoE architectures allow AI models to activate only the necessary parts for a given request, making inference much faster. Imagine having a team of specialists, and you only call the one you need, not everyone at once. The engine also includes "MTP speculative decoding," a technique to accelerate model output by predicting multiple responses simultaneously.
0303
What Does "Tuned Against Hardware Limits" Actually Mean?
Simple: the code has been chiseled to squeeze every millisecond from the GPU. It was "tuned" against measured hardware limits to ensure no resource goes to waste. Avifenesh tested his bw24 engine against the theoretical maximum performance of NVIDIA's next architecture, known as sm_120a.
This approach ensures that when the RTX 5090 hits the market, bw24 users will have a speed and efficiency advantage. It's like having a Swiss watch, but for AI computations. Less waiting, more immediate responses, even with complex models.
Imagine someone taking apart your favorite Android game, piece by piece. A new GitHub project just made that a little easier, but only for the truly dedicated tech-heads.