Making Knowledge Distillation Cheap Enough to Run at Scale
Source
huggingface.co
Date
Context
TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition → 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-TokenA 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.Full definition → 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-Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → experiment, peak memory fell from 102.8 GB for online distillationTraining a small, cheap model to imitate a big one's outputs, keeping much of the capability at a fraction of the cost.Full definition → 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.