# KD-Lib: A PyTorch library for Knowledge Distillation, Pruning and Quantization

Preprint · Het Shah, Avishree Khare, Neelay Shah, Khizir Siddiqui

- Archive id: arxiv:2011.14691
- Published: 2020-11-30
- arXiv: https://arxiv.org/abs/2011.14691
- Citations: 5
- Source URL: https://arxiv.org/abs/2011.14691
- PDF: https://arxiv.org/pdf/2011.14691
- Provenance: arxiv

## Abstract

In recent years, the growing size of neural networks has led to a vast amount of research concerning compression techniques to mitigate the drawbacks of such large sizes. Most of these research works can be categorized into three broad families : Knowledge Distillation, Pruning, and Quantization. While there has been steady research in this domain, adoption and commercial usage of the proposed techniques has not quite progressed at the rate. We present KD-Lib, an open-source PyTorch based library, which contains state-of-the-art modular implementations of algorithms from the three families on top of multiple abstraction layers. KD-Lib is model and algorithm-agnostic, with extended support for hyperparameter tuning using Optuna and Tensorboard for logging and monitoring. The library can be found at - https://github.com/SforAiDl/KD\_Lib.

_Abstract reproduced under CC0-1.0 (arXiv descriptive metadata)._

Topics: [Efficient Training & Inference](https://space-kitty.com/topics/efficient-ai)

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
