PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Knowledge Distillation Python Packages

Python packages with the GitHub topic knowledge-distillation. Sorted by monthly downloads, with stars and forks.
intel
neural-compressor

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

28K 3K 327
freesolo-co
freesolo-flash-dev

LoRA post-training for open-weight models: SFT, GRPO, and on-policy distillation. Describe a run in TOML; Flash allocates a GPU, trains, streams checkpoints, and serves the adapter.

12K 2 0
yzhao062
suod

(MLSys' 21) An Acceleration System for Large-scare Unsupervised Heterogeneous Outlier Detection (Anomaly Detection)

10K 395 46
MedAliAdlouni
ssondo

Official SSONDO implementation and trained model's weights (ICASSP 2026)

7K 9 0
tomerglick57
jevstiller

Distill a repeated Jev classification task into a local model, on the fly — same answers, your hardware.

3K 65 10
freesolo-co
freesolo-flash

LoRA post-training for open-weight models: SFT, GRPO, and on-policy distillation. Describe a run in TOML; Flash allocates a GPU, trains, streams checkpoints, and serves the adapter.

3K 2 0
sshah03
shrewd

Turn repeated LLM classification calls into a small, fast, local model for one fixed task.

2K 3 0
DaoyuanLi2816
miniverl

verl for a single consumer GPU. PPO, GRPO and on-policy distillation on NVIDIA GPUs.

2K 306 76
PaddlePaddle
paddleclas

A treasure chest for visual classification and recognition powered by PaddlePaddle

2K 6K 1K
intel
neural-compressor-pt

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

1K 3K 327
thekaveh
thekaveh-nnx

Lightweight PyTorch toolkit for training, fine-tuning, and exporting modern neural nets. FFN, GNN, decoder-only LM, diffusion, JEPA, MoE, PEFT, quantization, pruning, surgery, ONNX and Hugging Face Hub interop, plus experimental GGUF/Ollama bundle export.

1K 2 1
open-mmlab
mmrazor

OpenMMLab Model Compression Toolbox and Benchmark.

892 2K 246
intel
neural-compressor-tf

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

841 3K 327
yoshitomo-matsubara
torchdistill

A coding-free framework built on PyTorch for reproducible deep learning studies. PyTorch Ecosystem. 🏆26 knowledge distillation methods presented at TPAMI, CVPR, ICLR, ECCV, NeurIPS, ICCV, AAAI, etc are implemented so far. 🎁 Trained models, training logs and configurations are available for ensuring the reproducibiliy and benchmark.

743 2K 143
wpferrell
resonance-layer

Emotional intelligence layer for AI - detects emotion, tracks wellbeing, and gives any LLM the context to respond to how people actually feel.

739 1 0
intel
neural-compressor-jax

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

546 3K 327
peremartra
optipfair

Structured pruning, knowledge distillation, and fairness analysis for Large Language Models.

515 44 10
codician-team
growmos

🪐 Growmos: A new approach to agentic AI—a living system expanding its knowledge like the universe, compounding its capabilities, and getting more work done with fewer tokens.

422 9 1
johnnywuj81
tokenknows-mcp

Distill AI coding sessions (Claude Code / Codex / Cursor) into weekly reports, ADRs, incident reviews and a knowledge graph — local-first, evidence-linked.

400 4 0
silverspoon-dev
silverspoon-kd

A general-purpose toolkit for knowledge distillation of transformer models

388 0 0
B0yko
taskdistill

Distil an expensive LLM API call on a narrow task into a small local model: capture traffic, curate, LoRA fine-tune with MLX on Apple Silicon, evaluate against the teacher, and serve an OpenAI-compatible cascade that escalates low-confidence requests.

381 3 0
PureStorage-OpenConnect
sqlite-predict

Zero-shot forecasting, anomaly detection, and tabular prediction as SQLite/libSQL functions. Distill your model (or a licensed foundation model) into a tiny student that lives inside your database. Pure C, no dependencies, runs anywhere.

348 0 0
SforAiDL
kd-lib

A Pytorch Knowledge Distillation library for benchmarking and extending works in the domains of Knowledge Distillation, Pruning, and Quantization.

310 652 60
AIAnytime
distill-anything

Distill any AI model into one you own — a teacher (Claude/GPT/HF/Ollama) generates your dataset, a student trains on its logits or its words, a judge scores it blind, a benchmark prices it. Runs on a MacBook.

272 6 3
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology