optimization

Optimization is where theory meets real-world performance, and this section covers the full spectrum, from algorithmic breakthroughs to production deployments. You'll find practical work on agentic AI orchestrating insurance claims and supply chains, alongside deep dives into inference architecture: speculative decoding, continuous batching in vLLM, and smarter KV cache strategies that deliver measurable speed gains. The stories here show optimization as a hands-on discipline. DoorDash rebuilt its dispatch architecture for 10x throughput. Cloudflare freed 100 TB of memory through smarter hashing. Researchers share open-source paths to faster math discovery with SwarmEvolve, while engineers debate how to trim thousands of API calls from agent workflows without losing accuracy. The recurring question is not whether optimization matters, but how to make it accessible, whether through better batching, compact neural networks, or decision models trained on your own data. This is where incremental improvements compound into transformative results.

Smarter Prompts, Lower Costs: Compress Without Losing Context
Analytics Vidhya

Smarter Prompts, Lower Costs: Compress Without Losing Context

Every prompt carries more than it needs. Long instructions, retrieved documents, and chat history inflate token counts, slow responses, and bury what matters. Prompt compression trims that excess while preserving the core meaning. It is a practical answer to a growing cost problem, and it deserves attention. If you want to see how agents learn by editing context instead of weights, our piece on Agentic Context Learning pairs well with this discussion. The takeaway is simple: leaner inputs, sharper outputs.

Build Your Own LLM Runtime with a Guided Tour of Real Bugs
Towards Data Science

Build Your Own LLM Runtime with a Guided Tour of Real Bugs

There's a particular satisfaction in packing your own weights and capturing your own CUDA graphs, and that's exactly the terrain this walkthrough covers. The post traces the building of annotated-llm-runtime on an H100, with three bugs generating most of the hard-won annotations. It's a practical, grounded tour for anyone curious about the mechanics beneath the abstraction. For broader context on the distributed side, *Unlock LLM Training* pairs well here, though this piece stands firmly on its own.

Explore GPT-2's vocabulary through a flyable hyperbolic tree of 32,070 tokens
Machine Learning

Explore GPT-2's vocabulary through a flyable hyperbolic tree of 32,070 tokens

Somewhere in the internet's endless sprawl, a reddit user got tired of flat maps. So they built a better one. This isn't another 2D projection of GPT-2's vocabulary. It's a hyperbolic tree, housing all 32,070 tokens inside a Poincaré ball you can actually fly through. The layout is constructed exactly, with no optimisation or training involved. Trees don't fit well in flat space, but they embed naturally here. Drag, pinch, and tap to explore.

How Neural Networks Learn: Building Intuition for Backpropagation
Towards Data Science

How Neural Networks Learn: Building Intuition for Backpropagation

Backpropagation often feels like a black box, but this guide pulls back the curtain without drowning you in math. The author builds intuition step by step, showing how neural networks learn by adjusting weights through error feedback. It's a practical starting point for anyone ready to move past surface-level understanding. If you're curious about how these concepts scale, our related guide, "Unlock LLM Training: A Practical Guide to Distributed Algorithms," offers a natural next step.

Machine Learning

Explore how AI models can now run directly on your mobile device.

Running a private Qwen 35B MoE model on a Galaxy S26 Ultra is no small feat, and the early numbers are worth noting. Roughly 90 input tokens per second with about 8 output tokens per second shows real progress, especially when precision stays intact. What stands out is the path here: self-taught expertise, no formal PhD, just curiosity and access to resources. That matters. Four arXiv papers still on hold because there is no institutional backing? That is a familiar wall.

How Rust's compile-time safety reshaped our thinking on delivery speed
InfoQ

How Rust's compile-time safety reshaped our thinking on delivery speed

Rust's borrow checker often gets framed as a barrier, but Ruth Linehan's talk flips that assumption. She shows how migrating high-performance caching services from Kotlin to Rust actually shortens the developer feedback loop, turning compile-time safety into a daily advantage. It's a practical look at how the language reshapes delivery velocity, not just runtime performance. For those exploring how modern infrastructure choices ripple outward, this pairs well with our coverage of Perplexity's move to CobbleDB.

Stop Wasting Compute: Smarter Ways to Speed Up LLM Inference
KDnuggets

Stop Wasting Compute: Smarter Ways to Speed Up LLM Inference

Scaling LLMs isn't about adding GPUs. It's about removing wasted work from every request. That distinction shapes our latest guide, which lays out 12 practical ways to cut latency and inference costs without chasing hardware. Each tactic targets the inefficiencies that quietly slow production systems. If you're ready to move past brute-force scaling, this is where you start. For a deeper look at how distributed systems underpin these choices, our guide on unlocking distributed training algorithms pairs well with the conversation.