← Back to KHAO

GitHub · GPT · Nvidia ·

The GIF below indicates the difference between the dense and fused-chunked approaches

2 min read

Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.

★ Tier-1 Source

Peak VRAM usage by loss.

Hugging Face has open-sourced the chunked-loss implementation: github.com/CompactifAI/Full-Chunked-KL-Loss.

Key facts

Summary

Knowledge distillation, training a smaller student model to match the performance of a larger teacher, is a well-known technique in Machine Learning. The distillation step is what decides most of the final quality, but it's also usually the most expensive part of the pipeline. The standard setup, online distillation using the Kullback-Leibler divergence loss (KL loss), keeps both the teacher and the student loaded at the same time. As a practical example, gpt-oss-120b has a vocabulary of 201,088 tokens. Dense KL spikes to roughly 250GB, above a single H200's 141GB capacity.

Read full article at Hugging Face →

#GitHub #GPT #Nvidia