Engineering brief

Your inference stack is now writing its own GPU kernels

Latent Space2 min read · saves 101 min

At a glance

Relevance
Practical value
Warnings
None

Baseten's GLM52 endpoint is writing and deploying its own GPU kernels in production. This shifts inference engineering from static optimization to a continuous learning loop.

Inference is now a continuous learning loop, not a static deployment problem.

Summary

The transcript pivots on a concrete signal: GLM52 is writing its own GPU kernels inside Baseten's inference stack. This isn't a demo—it's a production loop where a model profiles traces, identifies bottlenecks, writes new kernels, and uploads them. It suggests that optimizing inference is becoming a continuous, model-guided process, not a one-time engineering effort. The

immediate implication is that teams must budget for self-optimizing infrastructure rather than static deployments. The conversation moves to the sheer engineering lift required to support new models. Moving from 'making a token' to a production-ready API involves quantization, training a traffic-specific speculative decoder, and handling race conditions that only appear on certain hardware clusters. The

recurring tension is between fidelity to the original model and speed gains—quantization is lossy, but errors can cancel if layers are chosen mathematically. This is not hype; the team published a 39-page paper demonstrating the technique. On the hardware side, the speakers argue that future GPUs like Rubin are moving toward ASIC-like specialization, shifting inference

engineering from kernel writing to infrastructure orchestration. The bottlenecks are becoming memory bandwidth and inter-node KV cache transfer, not raw compute. Video generation remains a different beast—diffusion models struggle with long sequences due to quadratic attention costs, and autoregressive approaches still lack quality. The tradeoff is stark: pay massive compute for full attention or accept

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.