What's New in Inference Engineering — Philip Kiely, Baseten
Read the Portuguese translation →
Author: AI Engineer · Watch on YouTube
Video authored by the channel shown, not by IANIA; all rights belong to the creator. Transcript and summary generated automatically; the original-language content is preserved.
Original language: English
Original video: What’s New in Inference Engineering — Philip Kiely, Baseten · Channel: AI Engineer · 18:47 · Watch on YouTube
Topics: Model inference and optimization, AI infrastructure and hardware
Summary
Section titled “Summary”Philip Kiely reviews what has changed in inference engineering since the publication of his book, focusing on data-center inference. He contrasts local inference with data-center workloads and argues that training and inference are increasingly connected. The talk covers TurboQuant, KV-cache compaction, and newer speculative decoding approaches such as DFlash, along with production results from continuous speculator retraining. He closes with predictions about NVFP4, system-wide communication, and training for inference.
Key points
Section titled “Key points”- Local inference often prioritizes fitting a model onto available hardware through compression, while data-center inference prioritizes making models faster at scale.
- Inference optimization increasingly involves dedicated training, creating a cycle in which faster inference enables more data and better models.
- TurboQuant reduces KV-cache storage to four bits, but its additional decode computation can cut tokens per second by more than half in production workloads.
- For data-center systems, the talk emphasizes NVFP4 weight quantization, KV-aware routing, offloading, and sharing over TurboQuant KV-cache compression.
- KV-cache compaction methods aim to retain information in a shorter representation; the presented approach, Still, uses a trained bottleneck to produce compact keys and values.
- Speculative decoding can generate multiple tokens per forward pass while preserving output quality through verification.
- DFlash uses a diffusion model to draft sequences of tokens and is reported to improve tokens per second and acceptance rates over Eagle in the described test.
- DSpark combines a diffusion model with a sequential model, but the speaker says production results were not yet available.
- Continuously retraining a speculator on live prompts and responses can improve token acceptance rates by 20% to 2x, though it requires data permissions, storage, and compute.
- The speaker expects NVFP4, disaggregated systems and communication, and training for inference to remain important areas.
Chapters
Section titled “Chapters”| Start | Chapter | Summary |
|---|---|---|
| 00:12 | Introduction and the book’s reception | Philip Kiely introduces the talk and explains why he is presenting new material beyond his book on inference engineering. |
| 02:16 | Shared principles and inference settings | Kiely contrasts local and data-center inference and describes the growing connection between training and inference. |
| 04:50 | Quantization and TurboQuant | He reviews quantization and explains why TurboQuant’s KV-cache savings may not justify its decode-speed cost in data-center workloads. |
| 09:28 | KV-cache compaction | The talk introduces KV-cache compression and a trained bottleneck approach called Still for creating compact keys and values. |
| 12:02 | Speculative decoding advances | Kiely traces speculative decoding from small draft models and Eagle 3 to DFlash and the newer DSpark research. |
| 15:40 | Continuous retraining and future directions | He discusses production results from continuously retraining speculators, then forecasts the importance of NVFP4, system communication, and training for inference. |
| 18:17 | Closing | Kiely thanks the audience and invites attendees to download or pick up a copy of his book. |
Quotes
Section titled “Quotes”I think that we a lot to learn from each other. — 03:18
it cuts TPS by more than half and that’s just an unacceptable trade-off for a lot of the production use cases. — 07:26
It helps a lot with tokens per second and it is a fully lossless optimization — 12:32
you can see a 20% to even 2x improvement in your token acceptance rates. — 16:12
the theme of training for inference is going to be something that continues to have a big impact in the industry moving forward — 18:17
Concepts and entities
Section titled “Concepts and entities”Philip Kiely, Baseten, Inference Engineering, TurboQuant, KV cache, STILL, DFlash, DSpark, NVFP4, NVIDIA Dynamo
Full transcript (original language)
Section titled “Full transcript (original language)”00:12 Um I am here to talk about what is new in inference engineering. So hi I’m Philip and I’m here because I wrote a book. Uh this is my third year at the AI engineer worlds fair. This is my favorite conference in the entire world. It’s the highlight of the calendar every single year. I really got my start as a speaker and as an engineer here in 2024. I came back in 2025 and did a bunch of stuff. I’m here again. I love it here and I’m very thankful to the organizers for always having me. Um I wrote this
00:44 book called Inference Engineering. We published it three or four months ago and I’ve just been overwhelmed by the response. Uh we’ve done more than uh I yeah I published it in on February 23rd. Um at this point we’ve done more than 11,000 paper copies. We’re coming up on 30,000 digital copies and 24 million people around the world or 24 million Twitter accounts. So we’ll see how many people that actually is um have seen something out of inference engineering.
01:14 And with all of this, you know, great reception, there has been one question that people have been asking me. Why in the world would you do this? Like why would you write a book about something that’s changing so fast? Well, you know, I believe that a lot of the principles of inference engineering at this point have been pretty solidified and there’s a lot that we can, you know, learn and and kind of repeat over generation and generation of model. But today I’m here to talk about what’s new in inference engineering. This is the
01:45 first public addendum of all new information since the book came out. We are going to review the inference engineering principles a little bit and then we’re going to talk about all the stuff that’s happened since February 23rd of 2026 in the inference world. We’re going to talk about what happened to Turboquant. Talk a little bit about KV compaction. We’re going to spend a lot of time on deflash and some other new exciting things in speculative decoding. And then I’m going to do a little bit of prognosticating, a little bit of forecasting of what I think is
02:16 going to happen in influence coming up here and what I’m excited about. You know, hopefully being able to talk about next time you guys see me up here. Cool. So, let’s get started. So, you know, one thing I’ve been identifying now out of tons and tons of conversations with people about influence is a handful of of shared principles. And one of the big ones I was on this uh podcast the other day with uh so uh we were talking about inference and you know there’s two types of inference engineering that have really emerged.
02:48 There’s local inference where the overwhelming strategy is just get it working on whatever hardware you have by squishing the model with quantization, distillation, pruning, however you can, you know, splitting it across whatever GPUs you happen to have in your house. And first you get it working and then you make it less dumb. you take away whatever you know catastrophic issues all of this compression of the model has created and you try and get it back to that baseline intelligence running at a
03:18 batch size of one and then there’s there’s my world which is the batch size and data center world where it’s get it working you know just day zero get the build of VLM up get it working and then make it less slow do stuff like KVAware routing speculation disagregation and you know with within these two worlds I think that we a lot to learn from each other. I am in this talk going to be focused on advances in data center oriented inference engineering because that’s what I know but there’s a lot of really cool stuff happening in the local
03:50 world as well. So in the book in inference engineering I generally assume that the weights are a finished product and I do think that the handoff from training to inference is an important one to keep in mind and it’s a good way of kind of delimiting the space. However, what I’ve found more and more recently is that many optimizations for inference come from a dedicated training process. And so the lines between training and inference are getting blurriier and blurriier. And
04:20 that’s an interesting thing to keep in mind. We’re seeing this cycle where you get faster inference, which gives you more data, which you use to train a better model, which gives you faster inference, which gives you more data, and you just kind of like keep doing that until you’re super rich. Uh so with with training for inference uh we have a bunch of new techniques to talk about across what I like to call the big three. So we’re going to talk about some news in quantization, some news in caching, specifically the the KV cache
04:50 mechanism, and some news in speculation because these are, you know, there’s a lot of other stuff in the world of inference, including some stuff I’m going to talk about at the end. But when it comes to the practical day-to-day of how do I make X model faster usually these are the three techniques that people are reaching for. So first thing I publish a book it’s February I’m feeling awesome about myself. I’m like wow everything you need to know about influence in one place. And then uh we uh we had some news in
05:23 the quantization world. So just as a quick review, quantization is when we use a smaller, less precise number format in order to save ourselves on bandwidth, save ourselves on compute, make TTFT better, make TPS better. Uh, it’s usually kind of hardware specific, gives you cost savings, but potentially degrades model quality a little bit. And by the way, if you want to hear my whole rant about quantization, I did a talk at AI Engineer Miami last month
05:53 about how quantization is is not necessarily as evil as it sounds and that there’s many things you can do to preserve quality through that process. So I was feeling good about my treatment of quantization and then 20 million people saw Toboquant and in fact it like made the memory stock macro dip for for a minute just because everyone was like oh memory is going to be so much more efficient now like we don’t need any more flash memory uh which which was wrong but anyway it was this new
06:23 quantization approach um that was popularized in March of this year that uses polar coordinates for quantization and allows you to quantize the KV cache down to four bits. And it was like super hot and I was like, “Oh man, like there’s this whole thing that that I left out.” And like what what is this going to look like? And so our team did a bunch of research on this. Um this is if you know uh shout out Waterlue intern on Twitter. Um Ali from our model performance team. Um I’m
06:55 not sure if he’s still an intern actually. Uh but yeah, he is from Waterlue. Um anyway, so he he wrote this great piece about the math behind turboquant. And basically the benefit you get out of turboquant is that you get to represent the KV cache with four bits instead of eight bits. You save half the room and half the band and and you get effectively double the bandwidth when you’re moving KV cache around in your system memory. But the drawback is pretty big um for turboquant. Turns out that you need to do additional computation in the forward pass to
07:26 account for this during decode and it cuts TPS by more than half and that’s just an unacceptable trade-off for a lot of the production use cases. So we we took a good hard look at toocquant but but are not using it for you know any any of these real workloads. We’re we’re still on the traditional NVFP4 quantization. That said it actually is a great technique for the local inference folks. So if you are running a model especially a long context language model on your local computer on GPUs in your
07:56 basement um you have a very limited amount of memory that’s the number one bottleneck and so anything that can free up memory from KV cache and allow you to put those longer sequences on there is going to be very valuable and the additional forward pass computation is going to be like less of a a drawback. Um, so still Turboquant is a fantastic research paper, a really great technique that just ended up not being as applicable in the data center inference world as it might have first appeared.
08:27 Um, you know, instead we’re focused on, you know, NVFP4 with a focus on quantizing the weights versus the KV cache. Um, you know, doing our best to find rough edges in the quantized weights. um make sure that we’re not flattening out of probability distributions for the KV cache itself. Focusing instead on KV aware routing, KV offloading, KV sharing using uh you know nickel and using Nvidia Dynamo and other tools in order to move the KV cache around the system and potentially
08:57 offload to CPU, ordinary memory, etc. um versus trying to use uh to Turboquant to to compress it. Um and then we’re also focused on quantization across modalities. Um so thinking about how can we apply the benefits of NVFP4 not only to language models but also to you know image and video models. Ali also wrote a lot of great stuff on Twitter about that which you should check out. So that said the KV cache is still very important. Let’s talk about it. Let’s talk about KV
09:28 compaction. Again quick review. KV cache. If you put in the same prompt with the same prefix, uh you get to reuse the tokens that you calculated prefill on last time. That makes your whole system faster and more efficient. Broadly, KV cache is lossless memory. There’s only a couple sources of lossless memory. When we think about our inference system, we have the content of the prompt, the context, you have the the KV cache, and that’s going to scale linearly with the amount of data you pass in. And now if you’re thinking
09:58 about you know million token sequence lengths uh that actually gets pretty substantial. So a lot of people are thinking about how do you compress memory? How do you compress context? Agent harnesses will compress context. Rag search all these techniques that we’ve been talking about for years are a sort of compression of a larger context into something that you can give to a model. You can write to files. All of these things scale sublinearly with the amount of data that you have. But what if there was a middle load? What if there was a way where you could get
10:30 quite a bit of compression in the data that you remembering with near lossless information retention? So we uh you know we have a lot of different ways that we can think of what to keep in the cache. You know recent compaction methods have shown that we can replace the cache with a much shorter one. We’ve got papers like attention matching and cartridges that have given really promising uh outcomes here with uh high compression ratios. But both of these are run at inference time. Again, one of the techniques I
11:00 want to talk about or one of the themes I want to talk about is training for inference. So in this case I want to introduce something called still by the base 10 research team where the synthesis on top of the cache where we’re keeping a loaned representation of the information rather than a the information directly or a sort of deterministic subset of it is amotized via training. So Charlie and Mudith from our post training team did a fantastic chalk talk at Kosa compile recently. Um
11:30 it’s up on YouTube. So I would encourage you to take a look at it if you’re interested in learning about KV compaction. Um I do not unfortunately have the time or the genius to explain everything up here. Um but the the basic mechanism is that still is a perceivable bottleneck um that takes a fixed set of loan query vectors crossends it against the full KV cache and produces a set of compact keys and values in a single forward pass. This creates a fast differentiable compressed memory that
12:02 the LLM can attend to as if it was real context. So if you’re interested in KV compaction, definitely check out Charlie and Mudith’s work. Um it’s been a really fantastic thing to learn about. So that’s two of the techniques. We’ve talked about quantization. We’ve talked about caching. The final one is speculation. And there’s been a lot of change here. Um as a review, uh speculative decoding, we’re going to use draft tokens. We’re going to verify them during the forward pass and we’re going to use that to generate more than one
12:32 token per forward pass. It helps a lot with tokens per second and it is a fully lossless optimization which is great because we don’t have to worry about quality at all. Now in in the sort of history of speculation we started with speculative decoding. All of these are in the book. Um you have spec where you use a small model from the same family to generate draft tokens. Turns out small models are like not great draft token generators. They’re great small models. So we invented as an industry a bunch of new methods like Medusa where
13:04 maybe just you add decoder heads to the model and then eventually Eagle 3 which was hey what if instead of taking a tiny model from the same family, we actually train a billion parameter model on the hidden states of the target model to generate draft tokens. And that actually worked really well. And so, you know, as of of maybe February last year of of February of this year, Eagle 3 was the best method in speculation. Now, we got Dlash. Dlash is even better. So, it’s diffusion for speculation. Uh,
13:35 Dlash creates a sequence of draft tokens instead of a single token. So the model is a diffusion language model which means it creates a whole sequence of tokens in the same way that a video or image generation creates a sequence of frames or a sequence of pixels and iterates over it rather than doing a auto reggressive token generation. Dlash models might be two or four times slower to run, but they’re going to predict eight or 16 tokens at once um in that in that window while Eagle is only doing
14:06 one at a time. So a single D flash forward pass is faster than the entire eagle draft phrase and predicts more tokens. These tokens are able to cross attend to each other and generally create a higher acceptance rate because in speculation acceptance rate is everything. So in the wild we’re seeing a more than 3x improvement uh from deep flash. Um this is measured with a single B200 quen 38B. Um and we can see it versus Eagle. It’s a substantial
14:37 improvement in the tokens uh both the token acceptance rate and the tokens per second. These deflash models are trained with a attention mask for birectional drafting. Um so the target model is going to provide the context. Um and within each block we’re going to have a subset of clean tokens that are sampled and the attention mask is going to enforce causal consistency. Uh but it is still going to allow for birectional attention. um where in you know a traditional auto reggressive model
15:08 you’re only looking at the tokens in a single direction. So that’s why we’re able to you know take advantage of this diffusionbased architecture and then you know I thought I was done and then a couple days ago uh DSpark came out. Now Dlash we do have up and running in production. Uh DSpark is is new research. Um so this one I can basically only say like hey it exists. It’s cool. We’re looking at it. Um the difference versus Dlash, it still has that diffusion model, but it also pairs it with a sequential model. And the idea
15:40 is that we’re going to improve acceptance weights um by having these two models work together rather than having just the iterative speculator uh just the diffusion speculator or just the auto reggressive speculator. So DSpark very exciting um but we don’t have any production results with it yet to share. Um hopefully you know we’ll have those for next time. Um what we do have production results though on is continuous speculator retraining. So this is we’re back to Dlash here. Um and this is the idea that
16:12 you know speculative decoding is very dependent on the actual content of the prompts and responses that you’re looking at in your system. And so if you are continuously retraining on those prompts and responses in your live system, you can see a 20% to even 2x improvement in your token acceptance rates. This is actually like really hard to do. Uh it takes a lot of storage and you have to make sure that you have permission to use the data that you’re processing in this way. Uh it takes a ton of compute and you have to move all
16:43 of this information around. And if you change the underlying model, you also have to change the speculator model. But when I look forward into the future, I do think that continuous speculation for very very large scale systems is going to be a worthwhile optimization. So what is next in inference? Um the following is like personal opinion and speculation and public information and like if I knew anything that was actually coming out, I wouldn’t be able to talk about it. Um so so this is just
17:14 like what I think is going to happen. You know I’ve been through three hardware cycles um through the Ampio release, the Hopper release, the Blackwell release. Um and it always takes time for you know when these chips get shipped to when they get installed in data centers when the entire software stack really is able to take advantage of their capabilities. But some things that I’m excited about are, you know, with with Reuben, it looks like the NVFP4 performance is going to be fantastic. So the more we can like
17:45 honestly borrow techniques from local inference and get a lot of confidence running models in this NVFP4 data format, the more we’re going to be able to take advantage of the awesome performance of of the upcoming Ruben systems. I think that like disagregation and systemwide communication is going to be increasingly important. um we’re seeing really excellent early gains from PD disagregation and the ability to you know move information like KV cache data around the system is going to be increasingly important and then like I said the theme of training for inference
18:17 is going to be something that continues to have a big impact in the industry moving forward so thank you all so much for the talk uh for coming to the talk um I am on Twitter I’m on LinkedIn um and I’m giving out free books um you can download a PDF at the QR code or come down with me to the base 10 booth to get your free copy of Inference Engineering. Uh we’ve got a bunch there, maybe enough for everyone. If not, we will have a CO bring some more from the office. Um so yeah, I’ll be downstairs at the base 10
18:47 booth. Thank you all so much and have a great day. [applause] >> [music]