arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.14691cs.LG
收藏

KD-Lib:用于知识蒸馏、剪枝和Quantization的PyTorch库

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

Het Shah, Avishree Khare, Neelay Shah, Khizir Siddiqui

摘要:

近年来,神经网络的规模不断增长,导致了大量关于压缩技术的研究,以减轻这种大规模的缺点。这些研究工作大多可以分为三大类:知识蒸馏、剪枝和量化。虽然在这一领域已经有了稳定的研究,但所提出的技术的采用和商业使用并没有以这样的速度取得进展。我们提出了KD-Lib,一个基于PyTorch的开源库,它包含了来自多个抽象层之上的三个家族的算法的最先进的模块化实现。KD-Lib是模型和算法不可知的,扩展了对使用Optuna和Tensorboard进行日志记录和监控的超参数调优的支持。该库可以在https://github.com/SforAiDl/KD_Lib上找到。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑