Explore the research collection
1 entry · Follow this search
- Other
Transformers documentation: AWQ (Activation-aware Weight Quantization)
Living Transformers docs for Activation-aware Weight Quantization: identify AWQ checkpoints via quantization_config.quant_method=awq (typically 4-bit, group_size 128, zero_point, gemm). from_pretrained loads autoawq/llm-awq weights with other tensors in fp16 by default; dtype and device_map control the rest. Notes AutoAWQ pins Transformers to 4.47.1. Optional AwqConfig fused modules (Llama/Mistral out of the box; fuse_max_seq_len + do_fuse) roughly double decode tok/s vs unfused on TheBloke/Mistral-7B-OpenOrca-AWQ at batch=1 (e.g. 32/32: 80.3 vs 38.5 tok/s, 4.00 vs 4.50 GB). ExLlamaV2 via version=exllama (AMD GPUs supported). Cannot combine fused modules with FlashAttention2. Method paper is Lin et al. AWQ (arXiv 2306.00978, MLSys 2024).