SHORTLIST20
English
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
AI

Toolkits for distilling a large language model into a smaller model

Online or offline method, teacher signal, training stack and practical fit

Updated

Why compare these

Distillation is not one push-button operation: toolkits differ on whether teacher outputs are collected first or generated during training, whether they target LLMs specifically, and whether distillation sits inside a broader pruning and quantization pipeline.

Is this list useful?
  1. 1 D

    DistillKit

    Arcee's toolkit supports teacher-logit collection, compression and student training workflows.

    Online and offline LLM distillation

  2. 2 T

    TRL DistillationTrainer

    Hugging Face's trainer matches a student's generated completions to a teacher's token distribution.

    On-policy generalized knowledge distillation

  3. 3 N

    NeMo AutoModel KD

    NVIDIA's end-to-end recipe distils a teacher LLM into a smaller student through NeMo AutoModel.

    Teacher-assisted student fine-tuning recipe

  4. 4 T

    TensorRT Model Optimizer KD

    ModelOpt provides distillation alongside quantization, pruning and speculative-decoding optimization paths.

    NVIDIA model optimization and distillation

  5. 5 D

    DeepSpeed Compression

    DeepSpeed's compression module combines distillation with pruning and quantization for PyTorch models.

    Compression pipeline with knowledge distillation

  6. 6 I

    Intel Neural Compressor Distillation

    Intel's toolkit provides distillation, quantization, pruning and mixed-precision optimization across supported frameworks.

    Distillation in a broader optimization toolkit

Compare side by side

DistillKitTRL DistillationTrainerNeMo AutoModel KDTensorRT Model Optimizer KDDeepSpeed CompressionIntel Neural Compressor Distillation
Method
Distillation modeOnline and offlineOnline, on-policy GKDTeacher-assisted student fine-tuningOnline knowledge distillationKnowledge distillation in compression trainingPost-training or training-time optimization recipes
Teacher signalCompressed logitsToken distributions with chunked JS lossTeacher and student logitsConfigurable distillation lossTeacher outputs / configured lossConfigurable criterion
Scope
LLM-specificYesYesYesLLMs plus other deep modelsGeneral PyTorch; scalable to language modelsGeneral models; LLM optimization included
Workflow
Training stackTransformers + DeepSpeedTransformers + TRL; optional vLLMNeMo AutoModelPyTorch / NVIDIA stackDeepSpeedPyTorch and supported runtimes
Best fitOpen LLM logit distillationResearch and custom trainer workflowsNVIDIA end-to-end recipeDistillation plus deployment optimizationCombined pruning, quantization and KDIntel-oriented optimization pipeline

How it is measured

Official repositories and documentation checked 2026-11-25; limited to open-source toolkits with a documented knowledge-distillation implementation usable for language models. Ordered from LLM-specific workflows to broader compression systems, not by result quality.

References

  1. Official language-model distillation toolkit documentation, the toolkit maintainers (facts). Checked 2026-11-25 07:22 UTC.
  2. DistillKit repository, Arcee AI, checked 2026-11-25.
  3. TRL Distillation Trainer, Hugging Face, checked 2026-11-25.
  4. Knowledge Distillation with NeMo AutoModel, NVIDIA, checked 2026-11-25.
  5. TensorRT Model Optimizer repository, NVIDIA, checked 2026-11-25.
  6. DeepSpeed Compression, Microsoft, checked 2026-11-25.
  7. Intel Neural Compressor repository, Intel, checked 2026-11-25.