GPTQ

Method · 2022

Definition

“Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs.”

From the defining paper: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers (Elias Frantar, Saleh Ashkboos, Torsten Hoefler, et al., ICLR 2023).

Lineage

Parent: Quantization-aware training

Children: AWQ; SpQR; QuIP; SqueezeLLM; AQLM

Incoming edges (3)

compares · memory efficiency

From Quantization-aware training · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“even inference for large, highly-accurate GPT models may require multiple performant GPUs, which limits the usability of such models” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Mechanism
“a new one-shot weight quantization method based on approximate second-order information” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Trade-off
No trade-off quoted.

improves · inference speed

From HAWQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“even inference for large, highly-accurate GPT models may require multiple performant GPUs” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Mechanism
“a new one-shot weight quantization method based on approximate second-order information” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Trade-off
No trade-off quoted.

improves · memory efficiency

From LLM.int8() · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“which limits the usability of such models” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Mechanism
“reducing the bitwidth down to 3 or 4 bits per weight, with negligible accuracy degradation relative to the uncompressed baseline” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Trade-off
No trade-off quoted.

Outgoing edges (5)

improves · accuracy

To AWQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“However, the astronomical model size and the limited hardware resource pose significant deployment challenges” Source: AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Mechanism
“Protecting only 1% salient weights can greatly reduce quantization error” Source: AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Trade-off
No trade-off quoted.

improves · accuracy

To QuIP · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“produce viable results using only two bits per weight” Source: QuIP: 2-Bit Quantization of Large Language Models With Guarantees
Mechanism
“an adaptive rounding procedure minimizing a quadratic proxy objective” Source: QuIP: 2-Bit Quantization of Large Language Models With Guarantees
Trade-off
No trade-off quoted.

improves · memory efficiency

To SqueezeLLM · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“This has forced existing deployment frameworks to use multi-GPU inference pipelines, which are often complex and costly, or to use smaller and less performant models” Source: SqueezeLLM: Dense-and-Sparse Quantization
Mechanism
“enables lossless compression to ultra-low precisions of up to 3-bit” Source: SqueezeLLM: Dense-and-Sparse Quantization
Trade-off
No trade-off quoted.

improves · accuracy

To AQLM · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“targeting extremely low bit counts, such as 2 to 3 bits per parameter” Source: Extreme Compression of Large Language Models via Additive Quantization
Mechanism
“generalizes the classic Additive Quantization (AQ) approach for information retrieval” Source: Extreme Compression of Large Language Models via Additive Quantization
Trade-off
No trade-off quoted.

improves · accuracy

To SpQR · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“However, quantization down to 3-4 bits per parameter usually leads to moderate-to-high accuracy losses, especially for smaller models in the 1-10B parameter range” Source: SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression
Mechanism
“identifying and isolating outlier weights, which cause particularly-large quantization errors, and storing them in higher precision” Source: SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression
Trade-off
No trade-off quoted.

Back to the explorer