Vibeleaderboard
← All Intel
Intel / article

Making Knowledge Distillation Cheap Enough to Run at Scale

Source
huggingface.co
Date

Context

a smaller model to imitate a larger one need not keep both models in GPU memory throughout training. Multiverse Computing's method first saves the teacher's 100 highest-scoring next- predictions at each position. The student then learns from that cache. A second change computes the comparison in small chunks, recomputing intermediate values during the backward pass instead of retaining a full prediction matrix. In the reported single-H200, 8K- experiment, peak memory fell from 102.8 GB for online to 58.3 GB for the fused offline version. The tradeoff is extra recomputation to reduce memory demand.

Terms in this piece · Glossary
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • distillation — Training a small, cheap model to imitate a big one's outputs, keeping much of the capability at a fraction of the cost.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source huggingface.co
Recommended reads
Comments

Checking sign-in…

Loading comments…