vineeths96 / Compressed-TransformersLinks
In this repository, we explore model compression for transformer architectures via quantization. We specifically explore quantization aware training of the linear layers and demonstrate the performance for 8 bits, 4 bits, 2 bits and 1 bit (binary) quantization.
☆24Updated 4 years ago
Alternatives and similar repositories for Compressed-Transformers
Users that are interested in Compressed-Transformers are comparing it to the libraries listed below
Sorting:
- [ICASSP'22] Integer-only Zero-shot Quantization for Efficient Speech Recognition☆34Updated 4 years ago
- Position-based Scaled Gradient for Model Quantization and Pruning Code (NeurIPS 2020)☆25Updated 5 years ago
- Implementation of NeurIPS 2019 paper "Normalization Helps Training of Quantized LSTM"☆31Updated last year
- Post-training sparsity-aware quantization☆34Updated 2 years ago
- This repository containts the pytorch scripts to train mixed-precision networks for microcontroller deployment, based on the memory contr…☆50Updated last year
- Implementation of a Quantized Transformer Model☆19Updated 6 years ago
- This is an implementation of YOLO using LSQ network quantization method.☆22Updated 3 years ago
- ☆28Updated 4 years ago
- PyTorch implementation of "Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference"☆56Updated 6 years ago
- Manually implemented quantization-aware training☆22Updated 3 years ago
- Train neural networks with joint quantization and pruning on both weights and activations using any pytorch modules☆43Updated 3 years ago
- [ICLR 2022 Oral] F8Net: Fixed-Point 8-bit Only Multiplication for Network Quantization☆93Updated 3 years ago
- An 8bit automated quantization conversion tool for the pytorch (Post-training quantization based on KL divergence)☆32Updated 6 years ago
- [ICML 2022] "Coarsening the Granularity: Towards Structurally Sparse Lottery Tickets" by Tianlong Chen, Xuxi Chen, Xiaolong Ma, Yanzhi Wa…☆33Updated 2 years ago
- 3rd place solution for NeurIPS 2019 MicroNet challenge☆37Updated 6 years ago
- Code for High-Capacity Expert Binary Networks (ICLR 2021).☆27Updated 4 years ago
- BitSplit Post-trining Quantization☆50Updated 3 years ago
- ☆17Updated 3 years ago
- OTOv1-v3, NeurIPS, ICLR, TMLR, DNN Training, Compression, Structured Pruning, Erasing Operators, CNN, Diffusion, LLM☆49Updated last year
- The collection of training tricks of binarized neural networks.☆72Updated 4 years ago
- [UNDER CONSTRUCTION]unofficial implementation of ABC-Net☆12Updated 7 years ago
- ☆207Updated 4 years ago
- Reproducing Quantization paper PACT☆64Updated 3 years ago
- A Out-of-box PyTorch Scaffold for Neural Network Quantization-Aware-Training (QAT) Research. Website: https://github.com/zhutmost/neuralz…☆25Updated 2 years ago
- Improving Post Training Neural Quantization: Layer-wise Calibration and Integer Programming☆35Updated 2 years ago
- PyTorch Quantization Aware Training Example☆146Updated last year
- [ICCV 2021] Code release for "Sub-bit Neural Networks: Learning to Compress and Accelerate Binary Neural Networks"☆32Updated 3 years ago
- Binarize convolutional neural networks using pytorch☆149Updated 3 years ago
- Pytorch implementation of BiFSMNv2, TNNLS 2023☆33Updated 2 years ago
- [ICLR 2021 Spotlight] "CPT: Efficient Deep Neural Network Training via Cyclic Precision" by Yonggan Fu, Han Guo, Meng Li, Xin Yang, Yinin…☆31Updated last year