<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2608.03796/</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/2608.03796/feed.xml" rel="self" type="application/rss+xml" /><item><title>Efficient Knowledge Distillation for LLMs: Offline Top-K Logits and a Fused Chunked KL Loss — mentioned by ikergarcia1996</title><link>https://news.ycombinator.com/item?id=49257182</link><guid isPermaLink="false">urn:hackerpapers:mention:2608.03796:49257182</guid><pubDate>Tue, 11 Aug 2026 12:24:48 GMT</pubDate><description>&lt;p&gt;Hello everyone! I’ve been working on an efficient implementation of the KL-divergence loss that reduces its VRAM usage from quadratic to linear, using an approach very similar to Flash Attention: chunking and fusing the forward and backward passes. The loss is mathematically equivalent to the standard KL-divergence loss available in PyTorch. Until now, Knowledge Distillation required a huge amount of VRAM and was practically impossible to run locally at meaningful context lengths. With this implementation, the KL loss goes from requiring ~85 GB of VRAM at a 32K context length to ~5 GB. The…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2608.03796/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
