<?xml version="1.0" encoding="UTF-8"?>

<modsCollection xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
<mods version="3.3">

<genre>conference paper</genre>

<titleInfo><title>OPTQ: Accurate post-training quantization for generative pre-trained transformers</title></titleInfo>


<note type="publicationStatus">published</note>


<note type="qualityControlled">yes</note>

<name type="personal">
  <namePart type="given">Elias</namePart>
  <namePart type="family">Frantar</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">09a8f98d-ec99-11ea-ae11-c063a7b7fe5f</identifier></name>
<name type="personal">
  <namePart type="given">Saleh</namePart>
  <namePart type="family">Ashkboos</namePart>
  <role><roleTerm type="text">author</roleTerm> </role></name>
<name type="personal">
  <namePart type="given">Torsten</namePart>
  <namePart type="family">Hoefler</namePart>
  <role><roleTerm type="text">author</roleTerm> </role></name>
<name type="personal">
  <namePart type="given">Dan-Adrian</namePart>
  <namePart type="family">Alistarh</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">4A899BFC-F248-11E8-B48F-1D18A9856A87</identifier><description xsi:type="identifierDefinition" type="orcid">0000-0003-3650-940X</description></name>







<name type="corporate">
  <namePart></namePart>
  <identifier type="local">DaAl</identifier>
  <role>
    <roleTerm type="text">department</roleTerm>
  </role>
</name>



<name type="conference">
  <namePart>ICLR: International Conference on Learning Representations</namePart>
</name>



<name type="corporate">
  <namePart>Elastic Coordination for Scalable Machine Learning</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>



<abstract lang="eng">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. Specifically, due to their massive size, even inference for large, highly-accurate GPT models may require multiple performant GPUs, which limits the usability of such models. While there is emerging work on relieving this pressure via model compression, the applicability and performance of existing compression techniques is limited by the scale and complexity of GPT models. In this paper, we address this challenge, and propose OPTQ, a new one-shot weight quantization method based on approximate second-order information, that is both highly-accurate and highly-efficient. Specifically, OPTQ can quantize GPT models with 175 billion parameters in approximately four GPU hours, reducing the bitwidth down to 3 or 4 bits per weight, with negligible accuracy degradation relative to the uncompressed baseline. Our method more than doubles the compression gains relative to previously-proposed one-shot quantization methods, preserving accuracy, allowing us for the first time to execute an 175 billion-parameter model inside a single GPU for generative inference. Moreover, we also show that our method can still provide reasonable accuracy in the extreme quantization regime, in which weights are quantized to 2-bit or even ternary quantization levels. We show experimentally that these improvements can be leveraged for end-to-end inference speedups over FP16, of around 3.25x when using high-end GPUs (NVIDIA A100) and 4.5x when using more cost-effective ones (NVIDIA A6000). The implementation is available at https://github.com/IST-DASLab/gptq.</abstract>

<relatedItem type="constituent">
  <location>
    <url displayLabel="2023_ICLR_Frantar.pdf">https://research-explorer.ista.ac.at/download/17378/17385/2023_ICLR_Frantar.pdf</url>
  </location>
  <physicalDescription><internetMediaType>application/pdf</internetMediaType></physicalDescription><accessCondition type="restrictionOnAccess">no</accessCondition>
</relatedItem>
<originInfo><publisher>International Conference on Learning Representations</publisher><dateIssued encoding="w3cdtf">2023</dateIssued><place><placeTerm type="text">Kigali, Rwanda</placeTerm></place>
</originInfo>
<language><languageTerm authority="iso639-2b" type="code">eng</languageTerm>
</language>



<relatedItem type="host"><titleInfo><title>11th International Conference on Learning Representations </title></titleInfo>
<part>
</part>
</relatedItem>
<relatedItem type="Supplementary material">
  <location>     <url>https://research-explorer.ista.ac.at/record/17485</url>  </location>
</relatedItem>

<relatedItem type="Supplementary material">
  <location>
  
     <url>https://github.com/IST-DASLab/gptq</url>
  
  </location>
</relatedItem>

<extension>
<bibliographicCitation>
<mla>Frantar, Elias, et al. “OPTQ: Accurate Post-Training Quantization for Generative Pre-Trained Transformers.” &lt;i&gt;11th International Conference on Learning Representations &lt;/i&gt;, International Conference on Learning Representations, 2023.</mla>
<apa>Frantar, E., Ashkboos, S., Hoefler, T., &amp;#38; Alistarh, D.-A. (2023). OPTQ: Accurate post-training quantization for generative pre-trained transformers. In &lt;i&gt;11th International Conference on Learning Representations &lt;/i&gt;. Kigali, Rwanda: International Conference on Learning Representations.</apa>
<short>E. Frantar, S. Ashkboos, T. Hoefler, D.-A. Alistarh, in:, 11th International Conference on Learning Representations , International Conference on Learning Representations, 2023.</short>
<ieee>E. Frantar, S. Ashkboos, T. Hoefler, and D.-A. Alistarh, “OPTQ: Accurate post-training quantization for generative pre-trained transformers,” in &lt;i&gt;11th International Conference on Learning Representations &lt;/i&gt;, Kigali, Rwanda, 2023.</ieee>
<chicago>Frantar, Elias, Saleh Ashkboos, Torsten Hoefler, and Dan-Adrian Alistarh. “OPTQ: Accurate Post-Training Quantization for Generative Pre-Trained Transformers.” In &lt;i&gt;11th International Conference on Learning Representations &lt;/i&gt;. International Conference on Learning Representations, 2023.</chicago>
<ama>Frantar E, Ashkboos S, Hoefler T, Alistarh D-A. OPTQ: Accurate post-training quantization for generative pre-trained transformers. In: &lt;i&gt;11th International Conference on Learning Representations &lt;/i&gt;. International Conference on Learning Representations; 2023.</ama>
<ista>Frantar E, Ashkboos S, Hoefler T, Alistarh D-A. 2023. OPTQ: Accurate post-training quantization for generative pre-trained transformers. 11th International Conference on Learning Representations . ICLR: International Conference on Learning Representations.</ista>
</bibliographicCitation>
</extension>
<recordInfo><recordIdentifier>17378</recordIdentifier><recordCreationDate encoding="w3cdtf">2024-08-04T22:01:22Z</recordCreationDate><recordChangeDate encoding="w3cdtf">2026-07-29T13:48:39Z</recordChangeDate>
</recordInfo>
</mods>
</modsCollection>
