Torch2Chip: An End-to-end Customizable Deep Neural Network Compression and Deployment Toolkit for Prototype Hardware Accelerator Design
Not on the map. Why?
Abstract (arXiv)
The development of model compression is continuously motivated by the evolution of various neural network accelerators with ASIC or FPGA. On the algorithm side, the ultimate goal of quantization or pruning is accelerating the expensive DNN computations on low-power hardware. However, such a "design-and-deploy" workflow faces under-explored challenges in the current hardware-algorithm co-design community. First, although the state-of-the-art quantization algorithm can achieve low precision with negligible degradation of accuracy, the latest deep learning framework (e.g., PyTorch) can only support non-customizable 8-bit precision, data format, and parameter extraction. Secondly, the objective of quantization is to enable the computation with low-precision data. However, the current SoTA algorithm treats the quantized integer as an intermediate result, while the final output of the quantizer is the "discretized" floating-point values, ignoring the practical needs and adding additional workload to hardware designers for integer parameter extraction and layer fusion. Finally, the compression toolkits designed by the industry are constrained to their in-house product or a handful of algorithms. The limited degree of freedom in the current toolkit and the under-explored customization hinder the prototype ASIC or FPGA-based accelerator design. To resolve these challenges, we propose Torch2Chip, an open-sourced, fully customizable, and high-performance toolkit that supports user-designed compression followed by automatic model fusion and parameter extraction. Torch2Chip incorporates the hierarchical design workflow, and the user-customized compression algorithm will be directly packed into the deployment-ready format for prototype chip verification with either CNN or vision transformer (ViT). The code is available at https://github.com/SeoLabCornell/torch2chip.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 44 of its 64 references that are in the map. First posted on arXiv 2 May 2024.
Builds on
44 of 64 references.
References · 44
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
32 more
- 2018Group Normalizationcited by 1,514
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2019Rigging the Lottery: Making All Tickets Winnerscited by 491
- 2020Picking Winning Tickets Before Training by Preserving Gradient Flowcited by 467
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
- 2022Post-training Quantization on Diffusion Modelscited by 262
- 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
- 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
- 2019Quantization Networkscited by 151
- 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 143
- 2022VICRegL: Self-Supervised Learning of Local Visual Featurescited by 118
- 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
- 2021Sparse Training via Boosting Pruning Plasticity with Neuroregenerationcited by 83
- 2022Unified Visual Transformer Compressioncited by 79
- 2021Nonuniform-to-Uniform Quantization: Towards Accurate Quantization via Generalized Straight-Through Estimationcited by 78
- 2021MEST: Accurate and Fast Memory-Economic Sparse Training Framework on the Edgecited by 77
- 2020Lookahead: A Far-Sighted Alternative of Magnitude-based Pruningcited by 61
- 2022NoisyQuant: Noisy Bias-Enhanced Post-Training Activation Quantization for Vision Transformerscited by 59
- 2020PROFIT: A Novel Training Method for sub-4-bit MobileNet Modelscited by 50
- 2021PokeBNN: A Binary Pursuit of Lightweight Accuracycited by 48
- 2022Structural Pruning via Latency-Saliency Knapsackcited by 40
- 2022Learning Best Combination for Efficient N:M Sparsitycited by 32
- 2022Neural Network Quantization with AI Model Efficiency Toolkit (AIMET)cited by 24
- 2018Synetgy: Algorithm-hardware Co-design for ConvNet Accelerators on Embedded FPGAscited by 18
- 2023HighLight: Efficient and Flexible DNN Acceleration with Hierarchical Structured Sparsitycited by 12
- 2019Automatic Generation of Multi-precision Multi-arithmetic CNN Accelerators for FPGAscited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024BitMoD: Bit-serial Mixture-of-Datatype LLM Accelerationcited by 12
- 2024BitMoD: Bit-serial Mixture-of-Datatype LLM Acceleration18 Nov 2024