mlsanityData to 7 Oct 2026

Torch2Chip: An End-to-end Customizable Deep Neural Network Compression and Deployment Toolkit for Prototype Hardware Accelerator Design

arXiv 2405.01775 ↗First posted 2 May 2024cs.AR cs.LGcited by 1

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2016Layer Normalizationcited by 5,579
  8. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  9. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  10. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  11. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  12. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
32 more
  1. 2018Group Normalizationcited by 1,514
  2. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  3. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
  4. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
  5. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  6. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  7. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
  8. 2019Rigging the Lottery: Making All Tickets Winnerscited by 491
  9. 2020Picking Winning Tickets Before Training by Preserving Gradient Flowcited by 467
  10. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
  11. 2022Post-training Quantization on Diffusion Modelscited by 262
  12. 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
  13. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
  14. 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 175
  15. 2019Quantization Networkscited by 151
  16. 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 143
  17. 2022VICRegL: Self-Supervised Learning of Local Visual Featurescited by 118
  18. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
  19. 2021Sparse Training via Boosting Pruning Plasticity with Neuroregenerationcited by 83
  20. 2022Unified Visual Transformer Compressioncited by 79
  21. 2021Nonuniform-to-Uniform Quantization: Towards Accurate Quantization via Generalized Straight-Through Estimationcited by 78
  22. 2021MEST: Accurate and Fast Memory-Economic Sparse Training Framework on the Edgecited by 77
  23. 2020Lookahead: A Far-Sighted Alternative of Magnitude-based Pruningcited by 61
  24. 2022NoisyQuant: Noisy Bias-Enhanced Post-Training Activation Quantization for Vision Transformerscited by 59
  25. 2020PROFIT: A Novel Training Method for sub-4-bit MobileNet Modelscited by 50
  26. 2021PokeBNN: A Binary Pursuit of Lightweight Accuracycited by 48
  27. 2022Structural Pruning via Latency-Saliency Knapsackcited by 40
  28. 2022Learning Best Combination for Efficient N:M Sparsitycited by 32
  29. 2022Neural Network Quantization with AI Model Efficiency Toolkit (AIMET)cited by 24
  30. 2018Synetgy: Algorithm-hardware Co-design for ConvNet Accelerators on Embedded FPGAscited by 18
  31. 2023HighLight: Efficient and Flexible DNN Acceleration with Hierarchical Structured Sparsitycited by 12
  32. 2019Automatic Generation of Multi-precision Multi-arithmetic CNN Accelerators for FPGAscited by 5

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.