<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FP8 Formats for Deep Learning · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2209.05433/</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/2209.05433/feed.xml" rel="self" type="application/rss+xml" /><item><title>FP8 Formats for Deep Learning — mentioned by alecco</title><link>https://news.ycombinator.com/item?id=39689858</link><guid isPermaLink="false">urn:hackerpapers:mention:2209.05433:39689858</guid><pubDate>Wed, 13 Mar 2024 10:28:54 GMT</pubDate><description>&lt;p&gt;Yes, but it&amp;#x27;s a bit more complicated. There are 2 FP8 formats: E5M2 and E4M3. E5M2 is like an IEEE 754. But to compensate the smaller exponent, &amp;quot;E4M3’s dynamic range is extended by not representing infinities and having only one mantissa bit-pattern for NaNs&amp;quot;. Some people reported E4M3 is better for the forward pass (small range, more precision) and E5M2 is better for the backward pass (bigger range, less precision). And most implementations have some sort of scaling or other math tricks to shrink the error. [0] FP8 Formats for Deep Learning (Nvidia/ARM/Intel) https://arxiv.org/abs/2209.05433&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2209.05433/"&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>FP8 Formats for Deep Learning — mentioned by mlgoatherder</title><link>https://news.ycombinator.com/item?id=35394006</link><guid isPermaLink="false">urn:hackerpapers:mention:2209.05433:35394006</guid><pubDate>Fri, 31 Mar 2023 21:37:30 GMT</pubDate><description>&lt;p&gt;I&amp;#x27;ve done some experiments here with Llama 13B, in my subjective experience the original fp16 model is significantly better (particularly on coding tasks). There are a bunch of synthetic benchmarks such a wikitext2 PPL and all the whiz bang quantization schemes seem to score well but subjectively something is missing. I&amp;#x27;ve been able to compare 4 bit GPTQ, naive int8, LLM.int8, fp16, and fp32. LLM.int8 does impressively well but inference is 4-5x slower than native fp16. Oddly I recently ran a fork of the model on the ONNX runtime, I&amp;#x27;m convinced that the model performed better than…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2209.05433/"&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>
