LLM Inference in C++
Language: English
Published by Independently Published, 2026
- Softcover
- New

Seller: PBShop.store UK, Fairford, GLOS, United KingdomPBShop.store UK
AbeBooks seller since June 11, 1999
Condition: New
US$ 34.93
Quantity: Over 20 available
Add to basketItem description from seller
Seller Inventory # L2-9798259069299
- Title
- LLM Inference in C++
- Author
- S. Lightner, Billie
- Publisher
- Independently Published
- Publication year
- 2026
- Condition
- New
- Binding
- PAP
- Language
- English
- ISBN 13
- 9798259069299
- Item weight
- 454 grams
- Series
- Book 7 of 11: High-Performance C++ Engineering
The "VRAM Wall" is the biggest bottleneck in modern AI. Standard Python wrappers and out-of-the-box runtimes are fine for prototyping, but at scale, memory fragmentation and Global Interpreter Lock (GIL) overhead will destroy your throughput. LLM Inference in C++ is the definitive engineering manual for bypassing Python entirely and building custom, bare-metal inference engines that maximize hardware utilization.
Focusing on the cutting-edge 2026 landscape, this book bridges the gap between high-level AI concepts and low-level GPU execution. You will learn how to implement enterprise-grade features like PagedAttention, FlashAttention-3, and Continuous Batching directly in C++ and CUDA, unlocking massive performance gains for large-scale language models.
Inside, you will discover:
- Hardware-Aware Memory Management: Eliminate memory waste by implementing PagedAttention logic and custom allocators to bypass std::malloc overhead.
- Accelerated Tensor Algebra: Master C++23's std::mdspan and write fused SIMD kernels with AVX-512 to minimize GPU context switching.
- Custom CUDA Kernels: Write high-speed FlashAttention-3, LayerNorm, and RMSNorm kernels while managing CUDA streams for maximum GPU occupancy.
- The Cost Killer (Quantization): Slash VRAM requirements with bit-level manipulation for 4-bit (AWQ) and 8-bit (FP8) inference using NVIDIA Tensor Cores.
- Distributed & Speculative Execution: Scale across clusters using zero-copy NCCL/RDMA interconnects and implement Draft Models to accelerate massive architectures.
- The Production Serving Layer: Build lock-free C++ request queues for continuous batching and track P99 "Time to First Token" (TTFT) at the systems level.
Built for the infrastructure engineer in the trenches, the Appendix provides immediate, battle-tested utility:
- The 15-Point Production-Ready Checklist: Your mandatory safety and performance audit before deploying any custom engine.
- Latency vs. Throughput Reference Table: The ultimate cheat sheet for balancing batch sizes against user wait times.
- Troubleshooting Guide: Direct solutions for the top 10 most common and devastating CUDA and C++ memory errors.
"Synopsis" may belong to another edition of this title.
PBShop.store UK
Fairford, GLOS, United Kingdom
AbeBooks seller since June 11, 1999
Shipping rates from United Kingdom to U.S.A.
| Item | 10 to 20 business days | 10 to 20 business days |
|---|---|---|
| First item | US$ 5.63 | US$ 5.63 |
Payment methods
Store description
Specialty
Hardbacks, PaperbacksSeller's business information
Pbshop.co.uk
Unit 22 Horcott Industrial Estate, Horcott Road
Fairford, United Kingdom GL7 4BX
Terms of sale
Returns Policy
We ask all customers to contact us for authorisation should they wish to return their order. Orders returned without authorisation may not be credited.
If you wish to return, please contact us within 14 days of receiving your order to obtain authorisation.
Returns requested beyond this time will not be authorised.
Our team will provide full instructions on how to return your order and once received our returns department will process your refund.
Please note the cost to return any unwanted order to us is borne by the buyer.
Should your order arrive damaged, not as advertised or faulty, we must be advised of this within 14 days of delivery. Please contact us so we can find the best solution for you.
Our Customer Care Team can be contacted by emailing alborders@paperbackshop.co.uk, or by calling our UK Office on +441285 712 917. We are available 9:00am till 5:30pm GMT Monday to Friday.
Shipping terms
Orders are shipped from our UK warehouse. Delivery thereafter is between 4 and 14 business days. Please contact us if you have any queries about our services or products.