QONNX: Representing Arbitrary-Precision Quantized Neural Networks
Conference
·
OSTI ID:1885030
- Unlisted, IE
- Fermilab
- MIT, LNS
- CERN
- U. Heidelberg
- Harvard U. (main)
- Washington U., Seattle
- UC, San Diego (main)
We present extensions to the Open Neural Network Exchange (ONNX) intermediate representation format to represent arbitrary-precision quantized neural networks. We first introduce support for low precision quantization in existing ONNX-based quantization formats by leveraging integer clipping, resulting in two new backward-compatible variants: the quantized operator format with clipping and quantize-clip-dequantize (QCDQ) format. We then introduce a novel higher-level ONNX format called quantized ONNX (QONNX) that introduces three new operators -- Quant, BipolarQuant, and Trunc -- in order to represent uniform quantization. By keeping the QONNX IR high-level and flexible, we enable targeting a wider variety of platforms. We also present utilities for working with QONNX, as well as examples of its usage in the FINN and hls4ml toolchains. Finally, we introduce the QONNX model zoo to share low-precision quantized neural networks.
- Research Organization:
- Fermi National Accelerator Laboratory (FNAL), Batavia, IL (United States)
- Sponsoring Organization:
- USDOE Office of Science (SC), High Energy Physics (HEP) (SC-25)
- DOE Contract Number:
- AC02-07CH11359
- OSTI ID:
- 1885030
- Report Number(s):
- FERMILAB-CONF-22-471-SCD; arXiv:2206.07527; oai:inspirehep.net:2096595
- Country of Publication:
- United States
- Language:
- English
Similar Records
End-to-end codesign of Hessian-aware quantized neural networks for FPGAs
APNN-TC: Accelerating Arbitrary Precision Neural Networks on Ampere GPU Tensor Cores
Gradient-based Automatic Mixed Precision Quantization for Neural Networks On-Chip
Journal Article
·
Mon Jun 24 20:00:00 EDT 2024
· ACM Transactions on Reconfigurable Technology and Systems
·
OSTI ID:1988435
APNN-TC: Accelerating Arbitrary Precision Neural Networks on Ampere GPU Tensor Cores
Conference
·
Sat Nov 13 23:00:00 EST 2021
·
OSTI ID:1834048
Gradient-based Automatic Mixed Precision Quantization for Neural Networks On-Chip
Journal Article
·
Tue Apr 30 20:00:00 EDT 2024
· No journal information
·
OSTI ID:2349090