Non ti piace? Non importa! Puoi restituire gli articoli fino a 30 giorni
Non puoi sbagliarti con un buono regalo. Con il buono regalo, il destinatario può scegliere qualsiasi prodotto della nostra offerta.
Fino a 30 giorni per il reso
Master LLM quantization from sub-byte mathematics and algorithms to CUDA kernels, modern formats, inference runtimes, and production optimization for efficient, memory-conscious, high-performance AI systems.
Key Features:
- Master quantization math, sub-byte formats, GPTQ, AWQ, SmoothQuant, QLoRA, and FP8 techniques
- Optimize CUDA, Triton, CUTLASS, KV-cache quantization, memory usage, and high-performance inference
- Deploy quantized LLMs with GGUF, vLLM, TensorRT-LLM, ONNX Runtime, profiling, and production optimization
Book Description:
Mastering LLM Quantization: Architecture and Code is a practical engineering guide to the mathematics, algorithms, implementation techniques, and production systems behind efficient large language model inference.
The book begins with quantization basics, numerical representations, error analysis, calibration, scaling, and sub-byte math. Readers explore GPTQ, AWQ, SmoothQuant, QLoRA, quantization-aware training, FP8, and other low-bit techniques. Implementation sections connect mathematical methods with real GPU systems, covering CUDA kernel engineering, Triton, CUTLASS, memory layouts, tensor operations, kernel optimization, and hardware-aware performance analysis. It also covers activation and KV-cache quantization, memory management, batching, and techniques for reducing inference cost while preserving model quality.
Practical deployment chapters examine GGUF, vLLM, TensorRT-LLM, ONNX Runtime, and other inference environments, showing how quantized models move into production systems. Hardware profiling, benchmarking, precision trade-offs, throughput, latency, memory consumption, and deployment optimization are treated as practical engineering problems. The result is an end-to-end perspective connecting quantization mathematics, algorithms, GPU architecture, optimized kernels, inference runtimes, and production deployment.
What You Will Learn:
- Understand quantization math, numerical formats, scaling, calibration, and quantization error
- Apply GPTQ, AWQ, SmoothQuant, QLoRA, QAT, FP8, and low-bit techniques
- Optimize CUDA, Triton, CUTLASS, memory layouts, and kernels for inference
- Quantize model weights, activations, and KV caches for efficient large-model deployment
- Benchmark latency, throughput, memory usage, and quality across precision formats
- Deploy quantized models with GGUF, vLLM, TensorRT-LLM, and ONNX Runtime
- Profile hardware and select quantization strategies for deployment constraints
Who this book is for:
This book is for AI and ML engineers, LLM developers, GPU and CUDA programmers, C++ and systems engineers, inference-engine developers, MLOps and platform engineers, researchers, and technical professionals optimizing large-model deployment. A solid background in programming, machine learning, Linux, or GPU computing is recommended.
Table of Contents
- The High-Performance Mandate: Modern Compute Constraints and Quantization Economics
- Mathematical Anatomy of Discretization: Floating-Point Formats versus Integer Precision
- Anatomy of Modern Sub-Byte Formats: FP8 (E4M3, E5M2), FP4, and NormalFloat4 (NF4)
- Quantization Fundamentals: Uniform, Affine, and Symmetric Transformation Mechanics
- Granularity Paradigms: Per-Tensor, Per-Channel, Group-Wise, and Vector Quantization
- Scale and Zero-Point Calculation: Exact Range Mapping and Clipping Optimizations
- Emergent Features and Magnitude Anomalies: The Outlier Activation Phenomenon in Scale
- Optimal Brain Surgeon and Second-Order Taylor Expansion Foundations
- Hessian Matrix Approximation: Empirical Fisher Information and Damping Factors
(N.B. Please use the Read Sample option to see further chapters)
Ciao! Sono Libroamiko, il tuo consulente di libri.
Come posso aiutarti?