ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing
ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing

All Courses

Deploying Quantized LLMs for Efficient Inference
Chapter 1: Advanced LLM Quantization Fundamentals
Revisiting Quantization Principles for Large Models
Low-Bit Quantization Techniques (Below INT8)
Understanding Quantization Data Types and Formats
Post-Training Quantization (PTQ) Algorithms for LLMs
Quantization-Aware Training (QAT) Considerations
Mixed-Precision Quantization Strategies
Calibration Data Selection and Preparation
Hands-on Practical: Applying GPTQ to an LLM
Chapter 2: Implementing LLM Quantization with Toolkits
Overview of LLM Quantization Libraries
Using bitsandbytes for Low-Bit Operations
Quantization with Hugging Face Transformers and Accelerate
Applying GPTQ using AutoGPTQ
Applying AWQ using AutoAWQ
Comparing Toolkit Outputs and Performance
Handling Model Compatibility Issues
Practice: Quantizing Models with Multiple Toolkits
Chapter 3: Performance Evaluation of Quantized LLMs
Metrics for Quantized Model Evaluation
Measuring Inference Latency and Throughput
Assessing Memory Consumption (Disk and Runtime)
Evaluating Accuracy Degradation
Benchmarking Frameworks and Tools
Analyzing Performance on Target Hardware
Visualizing Performance Trade-offs
Hands-on Practical: Benchmarking a Quantized LLM
Chapter 4: Optimizing and Deploying Quantized LLMs
Inference Optimization Techniques Post-Quantization
Choosing the Right Deployment Framework
Deploying with Text Generation Inference (TGI)
Leveraging vLLM for High-Throughput Inference
GPU Optimization with NVIDIA TensorRT-LLM
Deployment using ONNX Runtime
Containerization and Scaling Strategies
Monitoring Deployed Quantized Models
Hands-on Practical: Deploying via an Inference Server
Chapter 5: Addressing Advanced Challenges
Mitigating Accuracy Loss in Low-Bit Regimes
Handling Activation and Weight Outliers
Quantizing Specific LLM Components (Attention, Normalization)
Hardware Constraints and Kernel Availability
Dynamic Quantization vs. Static Quantization Trade-offs
Debugging Quantization Issues
Integrating Quantized Models into Production Pipelines
Practice: Fine-tuning Quantization Parameters

Deploying Quantized LLMs for Efficient Inference

Learn advanced techniques for quantizing Large Language Models (LLMs) and deploying them for optimized inference performance. This course covers state-of-the-art quantization methods, deployment frameworks, performance analysis, and optimization strategies tailored for LLMs on various hardware platforms.

Prerequisites Python, ML, LLM basics.

Level:

Specialist
  • Advanced Quantization Techniques

    Implement and compare various LLM quantization methods including low-bit (sub-4-bit), mixed-precision, and post-training quantization algorithms like GPTQ and AWQ.

  • Quantization Calibration

    Apply advanced calibration techniques to minimize accuracy loss during LLM quantization.

  • Performance Analysis

    Evaluate the performance (latency, throughput, memory usage) and accuracy trade-offs of quantized LLMs.

  • Hardware-Specific Optimization

    Optimize quantized LLM inference for different hardware targets, including CPUs and GPUs.

  • Deployment Frameworks

    Utilize specialized frameworks and libraries (e.g., TensorRT-LLM, vLLM, TGI, ONNX Runtime) for deploying quantized LLMs efficiently.

  • Deployment Strategies

    Implement deployment strategies for serving quantized LLMs, considering scaling and resource management.

© 2026 ApX Machine Learning