New to Artificial Intelligence? Read the Artificial Intelligence article
What if a 125B-parameter AI model could run locally on a gaming GPU with just 12 GB of VRAM? Strata makes it possible. This book takes you inside the techniques that make it work, from MoE sparsity and memory tiers to PCIe pipelining and speculative decoding, then shows you how to install, tune and troubleshoot it yourself.
Ship inference from native C++: ONNX Runtime execution providers, custom operator plugins, llama.cpp internals, quantization, and a production HTTP service with metrics.
Decode is memory-bound, not compute-bound. Learn to explain that, then fix it: six inference stacks, FP8/INT8/AWQ/GPTQ quantization, Nsight profiling, and production deployment.
A child learns to tell a mango from an orange. This book teaches a machine the same way, and then shows you exactly what the machine is doing when it learns.
Prompt injection has no patch — only architecture. Threat-model LLM apps, then defend them with provenance, least-privilege tools, output gateways, and CI red-team gates.
Run powerful language models on your own hardware, with full control over privacy, cost, and performance. This practical guide takes you from hardware planning and quantization to llama.cpp, Ollama, vLLM, private RAG, safe agents, security, and CI/CD, and ends with a complete private document assistant you can build and ship.
Take control of your own AI infrastructure. Learn how to find, deploy and run uncensored LLMs on rented GPU servers, from choosing the right models and hardware to configuring inference engines and scaling APIs. Packed with practical guidance and real-world tools, this book shows you how to build powerful private AI deployments without unnecessary restrictions.
Your agent works for five minutes while you watch, but left alone for eight hours it forgets what it was doing, dies halfway through a refund, loops until morning, reports work it never did and takes actions nobody approved. This book gives you 35+ framework-agnostic patterns for the harness that prevents each of those failures, from context and durable execution to guardrails, verification and human approval, told through one agent's bad night at a small online store and fixed chapter by chapter until it gets through to morning.
vLLM and SGLang, side by side. Learn how LLM serving works, measure both engines fairly, tune them with evidence, and take a model from an empty GPU to a deployment with a cost per million tokens you can defend.
Inference engineering is now its own discipline, with unique challenges around speed, cost, reliability and scale. This practical guide takes you from core concepts to production systems, showing how modern inference architectures work, how to optimize them and how to make better engineering decisions through measurement and trade-off analysis.