Accelerating LLM inference with post-training weight and activation using AWQ and GPTQ on Amazon SageMaker AI
AWS•How-to••by Pranav Murthy and Dmitry Soldatkin•AWS Artificial Intelligence Blog
Quantized models can be seamlessly deployed on Amazon SageMaker AI using a few lines of code. In this post, we explore why quantization matters—how it enables lower-cost inference, supports deployment on resource-constrained hardware, and reduces both the financial and environmental impact of modern LLMs, while preserving most of their original performance. We also take a deep dive into the principles behind PTQ and demonstrate how to quantize the model of your choice and deploy it on Amazon…
A walkthrough of post-training quantization (AWQ and GPTQ) on SageMaker AI, with benchmarks showing lower GPU memory use and mostly lower latency for quantized Llama and Qwen models.
Who it is for
Teams serving open LLMs on SageMaker that need to cut GPU memory or inference cost and want to test quantized variants.
Key points
Benchmarks cover Llama-3.1-8B, Llama-3.3-70B and Qwen2.5-VL-7B on specific g5, g6e and p4 instance types.
Authors report 30%-70% less GPU memory after quantization; the tests were not fully optimized, so results are relative.
AI:Both cut memory use through quantization for smaller model serving, but C13 is post-training quantization on AWS while the item is Google's quantization-aware training.
Related posts
AWS•How-to••by Kareem Syed-Mohammed, Anisha Kolla, Ram Vegiraju, Siddharth Shah, Vinay Arora, Xu Deng, Andy Peng and Johna Liu•AWS Artificial Intelligence Blog
AI:SageMaker AI now runs EAGLE 2 and EAGLE 3 speculative decoding to speed up LLM inference, with heads trained on SageMaker datasets or your own data.
AI:Cisco's 2026 AWS AI League tournament drew 1,200 engineers, and the winning agent's design favored low output-token use and deterministic planning over sub-agents.
AI:Anyscale's managed Ray service can run on Amazon EC2 through EC2, EKS or SageMaker HyperPod, mapping each AI pipeline stage to different instance types with the same code.