Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Inference Engineering — Chapter 01: Preface
- Date Created: 2026-10-06
- Status: Complete
- Reading Span: PDF pages 11–16
1. Pre-Reading Briefing
- Core Question: Why has inference engineering gone from a niche skill at a few labs to something every serious AI product company needs, and what does the job actually involve?
- Key Points to Watch For:
- The definition: what inference engineers try to improve, and how much of the stack they work across (“from CUDA to Kubernetes”).
- The rejected future: the 2022 picture of who would train and serve models, and which development the author says overturned it.
- Closed vs. open models: the distinction is drawn by one specific property. Note the licensing caveat, and the date the author gives for when the quality gap closed.
- Three dimensions: the benefits the author says open models + inference engineering unlock beyond capability. Note each claim's number and ask what it's compared against.
- Vantage point: where the author works and what the book is built from. Separate market claims from technical claims as you read.
- Context & Thread from Prior Chapters: First chapter — nothing carried in. The library also holds Context Engineering and Spec Driven Development. Those books are about how you use models; this one is about how you serve them. Watch for where the layers meet.
2. Reading Review & Reflections
- Prompt Questions (2026-10-06):
- In your own words, what is inference engineering: what does it try to improve, and across what range of the stack? Why does the author say it moved from niche to necessary between 2022 and today? (Name the specific shift.)
- How does the author define closed vs. open models? Pick one of the three dimensions he says open models + inference engineering improve, and explain why controlling the deployment yourself would make that dimension better than calling a closed API.
- The author leads at Baseten, an inference provider. Pick one claim from the Preface that you'd want independent evidence for before repeating it, and say what that evidence would look like. Which claims seem safe as stated?
- User Key Takeaways (verbatim, 2026-10-06):
- “Its serving the modles in prodcution - they try to make the experience of using these models easier and more useful”
- “Close models weights are not public open is where the weights are open to the public to see. Open models can be imporoved by training them on you specific data”
- “how open models are better I would like to examine.”
- Scaffolding & Feedback:
- “Serving models in production” is correct. The goal is narrower than “easier and more useful”: the author says faster, less expensive, more reliable serving (p. 11), which means latency, cost and reliability. The range is CUDA to Kubernetes: from GPU kernel code up to cluster orchestration. Missing: the shift. Training turned out to be hard and expensive, but not so hard that only a handful of labs could do it. The result was a “Cambrian explosion” of open models (2M+ on Hugging Face, 25× in five years), so every company can deploy its own models, and anyone who does needs inference engineering (pp. 11–12).
- The definition is correct: the split is by weight availability. “Open to see” undersells it: open weights can be downloaded and run on your own hardware. Caveat from p. 12: some open licenses restrict commercial use. Fine-tuning is in the chapter (p. 14), but it improves capability/quality, which is not one of the three dimensions asked about. Those three are latency (APIs are built for throughput across shared traffic; a dedicated deployment can be tuned for real-time), availability (two nines vs. four nines; you control redundancy) and cost (≥80% cheaper “at scale”). Running it yourself lets you choose hardware, batching and redundancy for your own workload instead of the provider's average customer.
- Right instinct, but too broad to test. Sharpened: “APIs are stuck at two nines” → compare 12 months of status-page uptime for OpenAI/Anthropic with measured uptime of dedicated deployments, using the same definition of “down.” “≥80% cheaper at scale” → what volume, which model pairs, and does it count GPU idle time and engineering staff? “Gap disappeared Dec 2024” → based on benchmarks, which can be gamed. Safer claims: the definitions, the Hugging Face model count (checkable), and the labs releasing open models. “Inference is the most valuable category” and “every company needs an inference strategy” are market opinions from a seller.
3. Chapter Synthesis
- Core Thesis: An explosion of capable open models has turned inference engineering (making generative models faster, cheaper and more reliable in production, across the stack from CUDA to Kubernetes) from a frontier-lab niche into a strategic need for any company building differentiated AI products.
- Key Concepts / Mental Models:
- Inference engineering: Optimizing how trained models are served, not how they are trained. The targets are latency, cost and reliability, and the work spans GPU kernels (CUDA) to cluster orchestration (Kubernetes). Application: when an AI feature is slow, expensive or flaky, that is an inference problem, not a model-quality problem.
- Closed vs. open models: Split by weight availability. Closed weights are proprietary (GPT-5, Claude Sonnet); open weights can be downloaded and run (Llama, DeepSeek), usually under permissive licenses, though some restrict commercial use. Application: check the license before you build on an open model.
- The rejected future: In 2022 it seemed only a few labs would train and serve models while everyone else “rented intelligence a token at a time.” Training proved hard, but not that hard, so open models multiplied (2M+ on Hugging Face). Application: you can own your model instead of only renting one.
- Capability thresholds: As both closed and open models improve, they cross thresholds that make new product classes possible (voice agents, AI IDEs). Builders prototype on closed models, then switch to open or fine-tuned models once those cross the same threshold. Application: prototype on the best API, then reassess open options as they catch up.
- Three dimensions open models unlock: latency (tune for real-time rather than shared throughput), availability (claimed four nines vs. two), cost (claimed ≥80% cheaper at scale). Fine-tuning adds a fourth lever, quality in your own domain. Application: these are the axes for comparing “API vs. self-host.”
- Notable Arguments & Evidence: Hugging Face model counts (Fig. P.1); the open–closed gap closing with DeepSeek V3/R1 (Dec 2024) and Kimi K2 Thinking briefly leading; a list of customer companies; four years at Baseten plus expert interviews and conference talks. Limits: the uptime and cost figures have no stated method or baseline. “Gap disappeared” rests on benchmarks. Market claims (“most valuable category”, “every company needs an inference strategy”) come from a vendor whose customers are the examples given. The chapter never says when self-hosting is the wrong choice.
- Updates to Prior Understanding: Sets a new frame. Earlier library books (Context Engineering, Spec Driven Development) treat the model as a given API you work through. This book treats the model as infrastructure you can own and tune, a layer below.
- Weekly Action Item: Choose one AI tool or API you use (or would build on). Write down its rough latency, cost per request and any outages you've noticed, then find one open model on Hugging Face that could replace it and check its license. This gives you a real baseline for testing the author's latency/availability/cost claims in later chapters.