<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2210.17323/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2210.17323/feed.xml" rel="self" type="application/rss+xml" /><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by renonce</title><link>https://news.ycombinator.com/item?id=38661763</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:38661763</guid><pubDate>Sat, 16 Dec 2023 04:36:48 GMT</pubDate><description>&lt;p&gt;I think it&amp;#x27;s not that LLMs have redundant parameters in general - it&amp;#x27;s a specific problem with OPT-66B, not anything else. An 2022 paper &amp;quot;Scaling Language Models: Methods, Analysis &amp;amp; Insights from Training Gopher&amp;quot; (http://arxiv.org/abs/2112.11446) has captured it well on page 103, Appendix G: &amp;gt; The general finding is that whilst compressing models for a particular application has seen success, it is difficult to compress them for the objective of language modelling over a diverse corpus. The appendix G explores various techniques like pruning and distillation but found that neither method was…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by mijoharas</title><link>https://news.ycombinator.com/item?id=37494660</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:37494660</guid><pubDate>Wed, 13 Sep 2023 10:04:39 GMT</pubDate><description>&lt;p&gt;Can anyone provide any additional details on the EXL2[0]/GPTQ[1] quantisation, which seems to be the main reason for a speedup in this model? I had a quick look at the paper which is _reasonably_ clear, but if anyone else has any other sources that are easy to understand, or a quick explanation to give more insight into it, I&amp;#x27;d appreciate it. [0] https://github.com/turboderp/exllamav2#exl2-quantization [1] https://arxiv.org/abs/2210.17323&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by Tepix</title><link>https://news.ycombinator.com/item?id=36135608</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:36135608</guid><pubDate>Wed, 31 May 2023 07:42:07 GMT</pubDate><description>&lt;p&gt;&amp;gt; LLaMA can apparently run quantized to 4 bits per param (not sure if worth it though) From the GPTQ paper https://arxiv.org/abs/2210.17323: &amp;quot;... with negligible accuracy degradation relative to the uncompressed baseline&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by Tepix</title><link>https://news.ycombinator.com/item?id=36069346</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:36069346</guid><pubDate>Thu, 25 May 2023 11:26:30 GMT</pubDate><description>&lt;p&gt;When you click on the strip link to preorder the tinybox, it is advertised as a box running LLaMA 65B FP16 for $15000. To be fair, the previous page has a bit more details on the hardware. I can run LLaMA 65B GPTQ4b on my $2300 PC (built from used parts, 128GB RAM, Dual RTX 3090 @ PCIe 4.0x8 + NVLink), and according to the GPTQ paper(§) the quality of the model will not suffer much at all by the quantization. Just saying, open source is squeezing an amazing amount of LLM goodness out of commodity hardware. (§) https://arxiv.org/abs/2210.17323&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by sp332</title><link>https://news.ycombinator.com/item?id=35942032</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35942032</guid><pubDate>Sun, 14 May 2023 22:45:39 GMT</pubDate><description>&lt;p&gt;Training uses gradient descent, so you want to have good precision during that process. But once you have the overall structure of the network, https://arxiv.org/abs/2210.17323 (GPTQ) showed that you can cut down the precision quite a bit without losing a lot of accuracy. It seems you can cut down further for larger models. For the 13B Llama-based ones, going below 5 bits per parameter is noticeably worse, but for 30B models you can do 4 bits. The same group did another paper https://arxiv.org/abs/2301.00774 which shows that in addition to reducing the precision of each parameter, you can…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — HN submission</title><link>https://news.ycombinator.com/item?id=35774805</link><guid isPermaLink="false">urn:hackerpapers:submission:2210.17323:35774805</guid><pubDate>Mon, 01 May 2023 16:05:16 GMT</pubDate><description>&lt;p&gt;GPTQ Accurate Post-Training Quantization for Generative Pre-Trained Transformers&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by p1esk</title><link>https://news.ycombinator.com/item?id=35577219</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35577219</guid><pubDate>Sat, 15 Apr 2023 02:49:47 GMT</pubDate><description>&lt;p&gt;Current SOTA post training quantization method is GPTQ: https://arxiv.org/abs/2210.17323&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by corvec</title><link>https://news.ycombinator.com/item?id=35393898</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35393898</guid><pubDate>Fri, 31 Mar 2023 21:26:37 GMT</pubDate><description>&lt;p&gt;Define &amp;quot;comprehensive?&amp;quot; There are some benchmarks here: https://www.reddit.com/r/LocalLLaMA/comments/1248183/i_am_cu... and here: https://nolanoorg.substack.com/p/int-4-llama-is-not-enough-i... Check out the original paper on quantization, which has some benchmarks: https://arxiv.org/pdf/2210.17323.pdf and this paper, which also has benchmarks and explains how they determined that 4-bit quantization is optimal compared to 3-bit: https://arxiv.org/pdf/2212.09720.pdf I also think the discussion of that second paper here is interesting, though it doesn&amp;#x27;t have its own benchmarks…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by terafo</title><link>https://news.ycombinator.com/item?id=35393773</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35393773</guid><pubDate>Fri, 31 Mar 2023 21:16:10 GMT</pubDate><description>&lt;p&gt;For this specific implementation here&amp;#x27;s info from llama.cpp repo: Perplexity - model options 5.5985 - 13B, q4_0 5.9565 - 7B, f16 6.3001 - 7B, q4_1 6.5949 - 7B, q4_0 6.5995 - 7B, q4_0, --memory_f16 According to this repo[1] difference is about 3% in their implementation with right group size. If you&amp;#x27;d like to know more, I think you should read GPTQ paper[2]. [1] https://github.com/qwopqwop200/GPTQ-for-LLaMa [2] https://arxiv.org/abs/2210.17323&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by garblegarble</title><link>https://news.ycombinator.com/item?id=35283442</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35283442</guid><pubDate>Fri, 24 Mar 2023 00:23:35 GMT</pubDate><description>&lt;p&gt;I&amp;#x27;m similarly skeptical, but that said I&amp;#x27;m running 30B parameter LLMs on my 32GB M1 Macbook Pro every day now. The trick is quantising them down to 4 (or even 3) bit, it&amp;#x27;s possible to massively reduce the memory requirements. Have a look at[1] The devs working on llama.cpp have been discussing ways to further reduce the memory requirements by mmapping the large weights files (I thought LLMs mutated the weights as they run inference, but they clearly know more than me about the internals), bringing it within reach of phone memory. So, iPhones are not as far off the computational capacity to…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by rnosov</title><link>https://news.ycombinator.com/item?id=35239175</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35239175</guid><pubDate>Mon, 20 Mar 2023 21:41:04 GMT</pubDate><description>&lt;p&gt;&amp;gt; https://arxiv.org/abs/2210.17323 I&amp;#x27;ve read the paper and to be honest I&amp;#x27;m not sure what to make of it. Their headline benchmark is perplexity on WikiText2 which would not be particularly relevant to most users. If you look at the tables in the appendix A.4 with some more relevant benchmarks you&amp;#x27;ll sometimes find that straight RTN 4 bit quantisation beats both GPTQ and even full 16 bit original! No explanation of it is given in the paper.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by superkuh</title><link>https://news.ycombinator.com/item?id=35239016</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35239016</guid><pubDate>Mon, 20 Mar 2023 21:27:10 GMT</pubDate><description>&lt;p&gt;As far as I know, yes. https://arxiv.org/abs/2210.17323 &amp;quot;Specifically, GPTQ 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.&amp;quot; This would be 175 billion 3 bit weights instead of 175 billion 16 (or 32!) bit weights. It massively reduces the size of the model. It makes loading it in ram on consumer computers feasible. The number of parameters stays the same.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by sottol</title><link>https://news.ycombinator.com/item?id=35172271</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35172271</guid><pubDate>Wed, 15 Mar 2023 18:01:52 GMT</pubDate><description>&lt;p&gt;They&amp;#x27;re using GTPQ -- here you go: https://arxiv.org/abs/2210.17323 . The authors benchmarked two families of models over a wide range of numbers of params.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by underlines</title><link>https://news.ycombinator.com/item?id=35148542</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35148542</guid><pubDate>Tue, 14 Mar 2023 08:02:08 GMT</pubDate><description>&lt;p&gt;See: https://arxiv.org/abs/2210.17323 Q: Doesn&amp;#x27;t 4bit have worsen output performance than 8bit or 16bit? A: GPTQ doesn&amp;#x27;t quantize linearly. While RTN 8bit does reduce output quality, GPTQ 4bit has effectively little output quality loss compared to baseline uncompressed fp16. https://i.imgur.com/xmaNNDd.png https://i.imgur.com/xmaNNDd.png&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by MacsHeadroom</title><link>https://news.ycombinator.com/item?id=35146184</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35146184</guid><pubDate>Tue, 14 Mar 2023 01:40:47 GMT</pubDate><description>&lt;p&gt;WRONG. Research shows effectively imperceptible performance difference at 4-bit and even 3-bit with GPTQ quantization. You cannot tell the difference and if you think you do you&amp;#x27;re wrong, because it barely even registers on any benchmark. (Note: llama.cpp&amp;#x27;s 4bit is naive, not GPTQ, and sucks but they are refactoring it to use GPTQ quantization) References: https://arxiv.org/abs/2210.17323 - GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers [Oct, 2022] https://arxiv.org/abs/2212.09720 - The case for 4-bit precision: k-bit Inference Scaling Laws [Dec, 2022]…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by gamegoblin</title><link>https://news.ycombinator.com/item?id=35140963</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35140963</guid><pubDate>Mon, 13 Mar 2023 19:16:33 GMT</pubDate><description>&lt;p&gt;Decrease in accuracy is negligible and decreases as model size increases. That is, larger models quantize even better than smaller models. https://arxiv.org/abs/2210.17323&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by Tepix</title><link>https://news.ycombinator.com/item?id=35134081</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35134081</guid><pubDate>Mon, 13 Mar 2023 11:14:07 GMT</pubDate><description>&lt;p&gt;The GPTQ paper https://arxiv.org/abs/2210.17323 claims &amp;quot;negligible accuracy degradation relative to the uncompressed baseline&amp;quot;.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by sebzim4500</title><link>https://news.ycombinator.com/item?id=35123568</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35123568</guid><pubDate>Sun, 12 Mar 2023 17:54:37 GMT</pubDate><description>&lt;p&gt;Is 4 bits too small? Or is the quantization method just not sophisticated enough. See https://arxiv.org/pdf/2210.17323.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by sebzim4500</title><link>https://news.ycombinator.com/item?id=35123559</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35123559</guid><pubDate>Sun, 12 Mar 2023 17:53:53 GMT</pubDate><description>&lt;p&gt;From what I can tell, the quantization being used there is extremely naive. If they were using techniques like GPTQ, presumably it would work much better. https://arxiv.org/pdf/2210.17323.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by sebzim4500</title><link>https://news.ycombinator.com/item?id=35123296</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35123296</guid><pubDate>Sun, 12 Mar 2023 17:38:06 GMT</pubDate><description>&lt;p&gt;Apparently if you quantize carefully you can avoid any loss of performance. See https://arxiv.org/pdf/2210.17323.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by MacsHeadroom</title><link>https://news.ycombinator.com/item?id=35114832</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35114832</guid><pubDate>Sun, 12 Mar 2023 00:39:57 GMT</pubDate><description>&lt;p&gt;Yes, but only minimally. Not enough for any human to notice. However, even this minimal amount can be avoided with GPTQ quantization which maintains uncompressed fp16 performance even at 4bit quantization with 75% less (video)memory overhead. References: https://arxiv.org/abs/2210.17323 - GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers [Oct, 2022] https://arxiv.org/abs/2212.09720 - The case for 4-bit precision: k-bit Inference Scaling Laws [Dec, 2022]&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by underlines</title><link>https://news.ycombinator.com/item?id=35107058</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35107058</guid><pubDate>Sat, 11 Mar 2023 10:20:21 GMT</pubDate><description>&lt;p&gt;Relevant: Since LLaMA leaked on torrent, it has been converted to Huggingface weights and it has been quantisized to 8bit for less vram requirements. A few days ago it has also been quantisized to 4bit and 3bit is coming. The quantization method they use is from the GPTQ paper ( https://arxiv.org/abs/2210.17323 ) which leads to almost no quality degradation compared to the 16bit weights. 4 bit weights: Model, weight size, vram req. LLaMA-7B, 3.5GB, 6GB LLaMA-13B, 6.5GB, 10GB LLaMA-30B, 15.8GB, 20GB LLaMA-65B, 31.2GB, 40GB Here is a good overall guide for Linux and Windows…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — mentioned by MacsHeadroom</title><link>https://news.ycombinator.com/item?id=35101594</link><guid isPermaLink="false">urn:hackerpapers:mention:2210.17323:35101594</guid><pubDate>Fri, 10 Mar 2023 21:49:54 GMT</pubDate><description>&lt;p&gt;text-generation-webui supports state of the art 4bit GPTQ quantization for LLaMA[0], reducing VRAM overhead by 75% with no output performance loss compared to baseline fp16.[1] LLaMA-13B, rivaling GPT-3 175B, requires only 10GB* of VRAM with 4bit GPTQ quantization. LLaMA-30B fits on a 24GB* consumer video card with no output performance loss, beating GPT-3 175B. Multi-GPU support[2] means LLaMA-65B, rivaling PaLM-540B, runs on 2x3090. *Further improvements in active development will reduce VRAM requirements another 30-40% with no performance loss (ex. flash attention). [0]…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2210.17323/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item></channel></rss>
