mungoman24 hours ago
This looks very interesting. Possible to get those rates without exotic hardware.
But I have to say that the comparison is not really fair. Comparison is done with a 2 B model vs frontier models that are likely 100s of times larger. Also taalas with their 15000 tok/s inference are suspiciously missing from the comparison.
We need to see the comparison with this framework and useful models, which at present seems to mean ~30 B.
gaeld3 hours ago
Great points.
We strived to be fair as possible in the benchmark, but it's indeed not perfect. Taalas should have been added in the dedicated hardware section, even though they use 3-bit quantization when we are on FP16 (to be fair in both directions) and they burn the model directly on the card.
Our tech preview is about the speed (hence the small dense model, it was easier to implement).
The math checks out though to allow support for large frontier MoE models at similar speeds: - At batch size 1, GPT-OSS-120B has 5.1B active parameters - in FP8, it's in the same size ballpark than our 2B model in FP16 (5.1 GB vs 4GB). - DeepSeek V4 Flash has 13B in mixed FP4/FP8, so let's say ballpark around 3x bigger than 4GB - so in theory we could reach >1,000 tok/s on it with MI300X/H200 and up to 4k on next generation GPUs.
Check out the math at the end of our blog post:
https://blog.kog.ai/real-time-llm-inference-on-standard-gpus...
Imustaskforhelpan hour ago
Your playground/write-up is very interesting and I would be really interested when you can have something like Deepseek V4 Flash model (49B) running as you are suggesting.
I haven't read the article at the moment and I will try to read them hopefully but I wish to ask a question regarding, can this approach be done for say trillion or large parameter models as well or is there some wall which gets hit that makes it valuable for only smaller parameter model.
That being said, its still really incredible because in future, because these small models are really getting good for many use cases and speed becomes their bottleneck, with greater speeds at consumer hardware, I think its gonna be amazing work!
gaeld43 minutes ago
Thanks for the comment and the question!
The last section of the article lays out the scaling laws that apply when porting this approach to another model. In a nutshell, DeepSeek V4 Pro with 49B active params is close to the upper bound.
Also worth noting that our results are currently for standard datacenter GPUs. On consumer hardware, though the same low-level optimization approach applies, the bandwidth limitations will cap the achievable speed.
kirtivr3 hours ago
They got 1K tok/s with Deepseek v4 Pro. That's kinda cool..
gaeld3 hours ago
Thanks. To be fair, this number is what we expect to get once we port DeepSeek V4 in our engine on the upcoming generation of GPUs!
hirako20002 hours ago
Fallacies look interesting ? Like if we aren't getting dubious claims every day ?
cyanydeez3 hours ago
likely the small model makes whatever fuzzer they designed to poke the gpus much faster optimizations.
they seem to think it scales up because theyre shortening the stack.
gaeld3 hours ago
Follow-up reading the most technical and research people here:
Monokernel deep dive (GPU Engineering): http://blog.kog.ai/building-a-single-kernel-latency-optimize...
Delayed Tensor Parallelism (research): http://blog.kog.ai/delayed-tensor-parallelism-for-faster-tra...
To try the speed on the playground: http://playground.kog.ai
paul-rohan4 minutes ago
I had to test it myself to believe this unreal inference speed.
each time getting 3300+ tps.
bcjdjsndon12 minutes ago
H200 isn't a standard GPU at all
867-53094 hours ago
> Standard GPUs
> 8× NVIDIA H200
Oras3 hours ago
as not custom chips like Grog and Cerebras. Did you expect a single GPU chip to reach 3k tps?
embedding-shape3 hours ago
I think many would assume "not enterprise" or "not datacenter grade" when someone says "Standard GPUs", but maybe that specific phrase have a specific meaning I'm not familiar with.
Edit: I just tried a 4B model on a RTX Pro 6000, getting ~500 tok/s with llama.cpp not even trying to optimize or change anything, just default settings. I'm sure with vLLM it'd be a lot faster already, still before manually tuning configs. I wouldn't call that card "Standard GPU" either FWIW, but it makes the claimed performance numbers feel not as exciting, especially given the hardware they were using.
ismailmaj3 hours ago
I expected a 4090, maybe 2. I did not expect 8xH200 for a 2B model.
gaeld3 hours ago
Great points, let me clarify:
- model size: 2B is just for this preview (it was faster to implement), our article explains how we expect to support large frontier MoE at 1,000 to 5,000 tokens/s
- reaching 500 tok/s, or even up to ~1,000 tok/s, on a consumer GPU card is possible with existing inference engines like vLLM. But there is a ceiling.
The hard part comes we you try to be faster than that: these frameworks won't scale higher just by adding GPUs or using faster GPUs. There is a "glass ceiling" due to microseconds lost everywhere in the stack (grid syncs, inter-GPU comms, kernel launches, CPU sampling, etc.).
All our work at Kog is about removing these bottlenecks.
bcjdjsndon8 minutes ago
That doesn't clarify anything lol. It's a bit click baity.
bcjdjsndon11 minutes ago
> Did you expect a single GPU chip to reach 3k tps?
Did the article headline not say Standard GPU?
WithinReason2 hours ago
so what would be the above-standard GPUs then that they are excluding? Cerebras is not GPU
[deleted]2 hours agocollapsed
imputation4 hours ago
Everyone beholden to a data center or subject to the installation on the corner of your property of course. Keep up with the times... /s
0-bad-sectors3 hours ago
When I read "Standard GPUs" in the title I got excited for a second then I read the article itself..
roosgit3 hours ago
Yeah, it should have been "Datacenter GPUs" or "Nvidia and AMD GPUs".
Oras3 hours ago
what did you have in mind when you read "Standard GPUs"?
bcjdjsndon7 minutes ago
You know, Radeon 9800 pro ago
yjftsjthsd-han hour ago
The GPU in my desktop. (A normal-ish decent gaming machine that runs LLMs and txt2img well enough.)
In contrast, not enterprise GPUs that cost as much as a car.
gaeld3 hours ago
I guessed you thought about consumer GPUs. We are about standard datacenter GPUs indeed.
deflator10 minutes ago
What a lot of use on here are salivating for is the ability to run these on prosumer hardware at home. So we tend to jump to the conclusion that "standard" means "consumer-grade" because that's what we want to see. Still, very cool work!
CastFX2 hours ago
Looks super promising! A couple of questions:
For new open weights models, will you need to adapt model code and optimization for your inference engine by hand?
It's true that BS=1 is king when it comes to agentic workflows, however these kinds of system serve multiple requests concurrently with dynamic batching. Do you think it will scale as well ?
Any plans to release it open source?
Congratz again for the release
gaeldan hour ago
Thanks a lot! Much appreciated.
To answer your questions:
- yes, we rewrite the whole model code (while keeping the same logic) in CUDA/HIP and assembly, in order to optimize by hand for each GPU type. It's quite tedious for sure, but I guess this is the price to pay to get this kind of results.
- the batching question is a great one. In agentic systems, there is probably a trade-off between sequential thinking/iterations vs parallel exploration of multiple solutions. Also, there could just be multiple independent tasks running in parallel, depending on the use case.
We plan to support a small amount of batching, but it quickly becomes a trade-off vs speed. Pick one for your use case, I guess.
Also to consider: because we answer requests much faster, we are also able to process lots of them without needing high batches - and scaling on multiple nodes is possible.
- open sourcing: maybe, maybe not. I'm still undecided on this. We are a small startup and I'm told that giving our IP away might be shooting ourselves in the feet. On the other side, I think it could be of great benefit to the community and for us... we'll see
ilaksh4 hours ago
Could be amazing, but it's hard to judge if it will really work with say a 27 B model or larger. We can already get pretty good speed with a 2B model.
gaeld3 hours ago
thanks! we explain how it scales to larger models in the last section the OP blog post
bcjdjsndon7 minutes ago
Shame you stopped short of actually benchmarking that scale though, eh?
robmccoll2 hours ago
Making these claims on a 2B parameter model seems a bit like seeing linear scalability from 1 to 4 cores and then assuming 256 cores will give you a 256x speedup. Or demonstrating massive improvement on datasets that fit in cache and then assuming the same improvements will be present on problem sizes that span the memory of multiple machines. Something tells me that scaling to larger models will be more difficult than assumed.
gaeld2 hours ago
Yeah, I agree: I'm actually not expecting it to be easy, and there will certainly be several unknown unknowns we'll discover along the way.
Our process has been, and will continue to be, a sequence of (tedious) R&D experiments where the GPU never behaves as expected when pushed to its limits in ways no-one really tested before (I still have nightmares of the L3 cache cross-IOD bottlenecks on MI300X).
IMHO, we did solve the multi-GPU memory bandwidth scaling problem, and thus the linear scaling of the size of the model towards infinity. But the main difficulties will come from keeping the speed, with steady and continuous memory streaming, while implementing the much more complex architecture of modern frontier MoEs (attention compression tricks, hash layers, routing logic, etc.)
frankensteins33 minutes ago
I have a naive question here - first, the token speed is very impressive. but why this is the highlight? I would prefer the actual performance.
bartkappenburg2 hours ago
Is this the new gateway to a "Model On a Chip"? Is it possible to etch the weights on silicon and get a very efficient way to use a LLM?
kirtivr4 hours ago
I can think of real time video, shader generation, real time worldbuilding type problems could require such a high token throughput.
For instant code generatio, 400-500 tok/s should be sufficient, though most frontier models give us closer to 70 tok/s.
Gomotono3 hours ago
That sounds a little bit like the 64kb memory is enough, then someone invented electron ;P
But joke aside, I think we don't even know yet what is possible if you hit very fast very high token / second numbers if your whole ecosystem behind it can handle it.
You could literaly implement the same solution 100x and benchmark all of them and get only the best result.
You could build and architecture a whole stack in parallel.
You could do massive thinking token / chain of thought.
You could let the LLM analyse everything around you while you type. Like it could tell you that this might create a bug in a different file and why.
We could start doing some type of monte-carlo search with this.
ekianjo2 hours ago
Title is pure bait. Where is Datacenter GPU gone?
irishcoffee3 hours ago
NVIDIA H200 Is not a standard GPU. 8 of them in a box with a cpu and ram costs close to the same as a house.
I am 100% all about using local models instead of sending someone else all my data and paying for the privilege of doing so, this article is misleading.
I can get a 27b model to kick out 40 tok/s on 16 gb vram. This is the area ripe for development.
If you can’t connect a monitor, it isn’t a standard GPU, at least not in the way people have spoken about GPUs until a few years ago.
gaeld3 hours ago
I guessed you thought about consumer GPUs. We are about standard datacenter GPUs indeed.
Sorry for the confusion
embedding-shape3 hours ago
Do you think maybe changing your articles title from "Real-time LLM Inference on Standard GPUs" to "Real-time LLM Inference on Standard Datacenter GPUs" might make sense here? Given more people seem confused by the title than not, and you could clear this up relatively easily, at least on your website although might be late to fix the HN title.
gaeld3 hours ago
YES - I just updated the title of our article according to your suggestion.
irishcoffee3 hours ago
Oh, it isn't confusing, it is misleading. A standard GPU lets you connect a monitor. A datacenter GPU lets you do headless math.
gaeld3 hours ago
I updated the article title accordingly
bcjdjsndon5 minutes ago
Standard != Datacentre
LoganDark4 hours ago
I feel the comparison to Groq is unfair. They're running much larger models (orders of magnitude) and still reaching competitive speeds.
gaeld3 hours ago
Fair point - this tech preview is about the speed (hence the small dense model, it was easier to implement).
The math checks out though to allow support for large frontier MoE models at similar speeds.
At batch size 1, GPT-OSS-120B has 5.1B active parameters - in FP8, it's in the same size ballpark than our 2B model in FP16 (5.1 GB vs 4GB).
DeepSeek V4 Flash has 13B in mixed FP4/FP8.
Check out the math at the end of our blog post: https://blog.kog.ai/real-time-llm-inference-on-standard-gpus...
foobar10000an hour ago
[dead]
mikdanan hour ago
[dead]
nryoo4 hours ago
[dead]
[deleted]4 hours agocollapsed
Jimmymenk23 hours ago
[flagged]
Hfuffzehnan hour ago
That's really nice of them.
That means Jensen can add another 30 times faster when comparing Rubin to Blackwell without having to actually do anything.
Hopefully that means he won't have any problem to make another 150 billion in profit in the next year.
Sorry for the sarcasm. Looks like interesting work.