Quantization Open Source Projects
Browse 187 Quantization open source projects, ranked by GitHub stars. Find the most popular Quantization tools and libraries.
hiyouga/LLaMA-Factory
Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
Metrics details
| Stars | 73,376 |
SYSTRAN/faster-whisper
Faster Whisper transcription with CTranslate2
Metrics details
| Stars | 24,368 |
ymcui/Chinese-LLaMA-Alpaca
中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)
Metrics details
| Stars | 18,942 |
UFund-Me/Qbot
[🔥updating ...] AI 自动量化交易机器人(完全本地部署) AI-powered Quantitative Investment Research Platform. 📃 online docs: https://ufund-me.github.io/Qbot ✨ :news: qbot-mini: https://github.com/Charmve/iQuant
Metrics details
| Stars | 18,106 |
kornelski/pngquant
Lossy PNG compressor — pngquant command based on libimagequant library
Metrics details
| Stars | 5,723 |
mozilla/mozjpeg
Improved JPEG encoder.
Metrics details
| Stars | 5,703 |
AutoGPTQ/AutoGPTQ
An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.
Metrics details
| Stars | 5,072 |
OpenNMT/CTranslate2
Fast inference engine for Transformer models
Metrics details
| Stars | 4,577 |
PINTO0309/PINTO_model_zoo
A repository for storing models that have been inter-converted between various frameworks. Supported frameworks are TensorFlow, PyTorch, ONNX, OpenVINO, TFJS, TFTRT, TensorFlowLite (Float32/16/INT8), EdgeTPU, CoreML.
Metrics details
| Stars | 4,506 |
IntelLabs/distiller
Neural Network Distiller by Intel AI Lab: a Python package for neural network compression research. https://intellabs.github.io/distiller
Metrics details
| Stars | 4,252 |
lucidrains/vector-quantize-pytorch
Vector (and Scalar) Quantization, in Pytorch
Metrics details
| Stars | 3,982 |
DingXiaoH/RepVGG
RepVGG: Making VGG-style ConvNets Great Again
Metrics details
| Stars | 3,479 |
huggingface/optimum
🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools
Metrics details
| Stars | 3,447 |
huawei-noah/Pretrained-Language-Model
Pretrained language model and its related optimization techniques developed by Huawei Noah's Ark Lab.
Metrics details
| Stars | 3,162 |
neuralmagic/deepsparse
Sparsity-aware deep learning inference runtime for CPUs
Metrics details
| Stars | 3,159 |
IntelLabs/nlp-architect
A model library for exploring state-of-the-art deep learning topologies and techniques for optimizing Natural Language Processing neural networks
Metrics details
| Stars | 2,933 |
Tencent/PocketFlow
An Automatic Model Compression (AutoMC) framework for developing smaller and faster AI applications.
Metrics details
| Stars | 2,908 |
aaron-xichen/pytorch-playground
Base pretrained models and datasets in pytorch (MNIST, SVHN, CIFAR10, CIFAR100, STL10, AlexNet, VGG16, VGG19, ResNet, Inception, SqueezeNet)
Metrics details
| Stars | 2,714 |
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
Metrics details
| Stars | 2,683 |
quic/aimet
AIMET is a library that provides advanced quantization and compression techniques for trained neural network models.
Metrics details
| Stars | 2,617 |
htqin/awesome-model-quantization
A list of papers, docs, codes about model quantization. This repo is aimed to provide the info for model quantization research, we are continuously improving the project. Welcome to PR the works (papers, repositories) that are missed by the repo.
Metrics details
| Stars | 2,406 |
dvmazur/mixtral-offloading
Run Mixtral-8x7B models in Colab or consumer desktops
Metrics details
| Stars | 2,329 |
666DZY666/micronet
micronet, a model compression and deploy lib. compression: 1、quantization: quantization-aware-training(QAT), High-Bit(>2b)(DoReFa/Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference)、Low-Bit(≤2b)/Ternary and Binary(TWN/BNN/XNOR-Net); post-training-quantization(PTQ), 8-bit(tensorrt); 2、 pruning: normal、regular and group convolutional channel pruning; 3、 group convolution structure; 4、batch-normalization fuse for quantization. deploy: tensorrt, fp32/fp16/int8(ptq-calibration)、op-adapt(upsample)、dynamic_shape
Metrics details
| Stars | 2,266 |
CesiumGS/gltf-pipeline
Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
Metrics details
| Stars | 2,121 |
DanBloomberg/leptonica
Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications. The official github repository for Leptonica is: danbloomberg/leptonica. See leptonica.org for more documentation.
Metrics details
| Stars | 2,061 |
intel/intel-extension-for-pytorch
A Python package for extending the official PyTorch that can easily obtain performance on Intel platform
Metrics details
| Stars | 2,014 |
openppl-public/ppq
PPL Quantization Tool (PPQ) is a powerful offline neural network quantization tool.
Metrics details
| Stars | 1,806 |
open-mmlab/mmrazor
OpenMMLab Model Compression Toolbox and Benchmark.
Metrics details
| Stars | 1,675 |
PaddlePaddle/PaddleSlim
PaddleSlim is an open-source library for deep model compression and architecture search.
Metrics details
| Stars | 1,611 |
tensorflow/model-optimization
A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.
Metrics details
| Stars | 1,575 |
saharNooby/rwkv.cpp
INT4/INT5/INT8 and FP16 inference on CPU for RWKV language model
Metrics details
| Stars | 1,575 |
Xilinx/brevitas
Brevitas: neural network quantization in PyTorch
Metrics details
| Stars | 1,553 |
RahulSChand/gpu_poor
Calculate token/s & GPU memory requirement for any LLM. Supports llama.cpp/ggml/bnb/QLoRA quantization
Metrics details
| Stars | 1,404 |
huawei-noah/Efficient-Computing
Efficient computing methods developed by Huawei Noah's Ark Lab
Metrics details
| Stars | 1,304 |
openvinotoolkit/training_extensions
Train, Evaluate, Optimize, Deploy Computer Vision Models via OpenVINO™
Metrics details
| Stars | 1,274 |
openvinotoolkit/nncf
Neural Network Compression Framework for enhanced OpenVINO™ inference
Metrics details
| Stars | 1,182 |
IST-DASLab/marlin
FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.
Metrics details
| Stars | 1,109 |
huggingface/quanto
A pytorch Quantization Toolkit
Metrics details
| Stars | 1,045 |
Xilinx/finn
Dataflow compiler for QNN inference on FPGAs
Metrics details
| Stars | 1,027 |
gigwegbe/tinyml-papers-and-projects
This is a list of interesting papers and projects about TinyML.
Metrics details
| Stars | 1,026 |
PINTO0309/onnx2tf
A tool for converting ONNX files to LiteRT/TFLite/TensorFlow, PyTorch native code (nn.Module), TorchScript (.pt), state_dict (.pt), Exported Program (.pt2), and Dynamo ONNX. It also supports direct conversion from LiteRT to PyTorch.
Metrics details
| Stars | 981 |
mit-han-lab/TinyChatEngine
TinyChatEngine: On-Device LLM Inference Library
Metrics details
| Stars | 958 |
mit-han-lab/tinyengine
[NeurIPS 2020] MCUNet: Tiny Deep Learning on IoT Devices; [NeurIPS 2021] MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning; [NeurIPS 2022] MCUNetV3: On-Device Training Under 256KB Memory
Metrics details
| Stars | 951 |
mobiusml/hqq
Official implementation of Half-Quadratic Quantization (HQQ)
Metrics details
| Stars | 948 |
ImageOptim/libimagequant
Palette quantization library that powers pngquant and other PNG optimizers
Metrics details
| Stars | 921 |
OpenGVLab/OmniQuant
[ICLR2024 spotlight] OmniQuant is a simple and powerful quantization technique for LLMs.
Metrics details
| Stars | 901 |
guan-yuan/awesome-AutoML-and-Lightweight-Models
A list of high-quality (newest) AutoML works and lightweight models including 1.) Neural Architecture Search, 2.) Lightweight Structures, 3.) Model Compression, Quantization and Acceleration, 4.) Hyperparameter Optimization, 5.) Automated Feature Engineering.
Metrics details
| Stars | 856 |
Zhen-Dong/Awesome-Quantization-Papers
List of papers related to neural network quantization in recent AI conferences and journals.
Metrics details
| Stars | 834 |
csarron/awesome-emdl
Embedded and mobile deep learning research resources
Metrics details
| Stars | 769 |
SqueezeAILab/SqueezeLLM
[ICML 2024] SqueezeLLM: Dense-and-Sparse Quantization
Metrics details
| Stars | 722 |
DeepVAC/deepvac
PyTorch Project Specification.
Metrics details
| Stars | 681 |
hailo-ai/hailo_model_zoo
The Hailo Model Zoo includes pre-trained models and a full building and evaluation environment
Metrics details
| Stars | 679 |
square/gifencoder
A pure Java library implementing the GIF89a specification. Suitable for use on Android.
Metrics details
| Stars | 675 |
songhan/Deep-Compression-AlexNet
Deep Compression on AlexNet
Metrics details
| Stars | 671 |
SforAiDl/KD_Lib
A Pytorch Knowledge Distillation library for benchmarking and extending works in the domains of Knowledge Distillation, Pruning, and Quantization.
Metrics details
| Stars | 650 |
achuthasubhash/Complete-Life-Cycle-of-a-Data-Science-Project
Complete-Life-Cycle-of-a-Data-Science-Project
Metrics details
| Stars | 647 |
facebookresearch/kill-the-bits
Code for: "And the bit goes down: Revisiting the quantization of neural networks"
Metrics details
| Stars | 630 |
huggingface/optimum-intel
🤗 Optimum Intel: Accelerate inference with Intel optimization tools
Metrics details
| Stars | 606 |
Ki6an/fastT5
⚡ boost inference speed of T5 models by 5x & reduce the model size by 3x.
Metrics details
| Stars | 588 |
slavabarkov/tidy
Offline semantic Text-to-Image and Image-to-Image search on Android powered by quantized state-of-the-art vision-language pretrained CLIP model and ONNX Runtime inference engine
Metrics details
| Stars | 585 |
