paper-with-me

홈 › Papers

VAQF: Fully Automatic Software-Hardware Co-Design Framework for Low-Bit Vision Transformer

2022-01-17 · Mengshu Sun, Haoyu Ma, Guoliang Kang, Yifan Jiang, Tianlong Chen, Xiaolong Ma, Zhangyang Wang, Yanzhi Wang

The transformer architectures with attention mechanisms have obtained success in Nature Language Processing (NLP), and Vision Transformers (ViTs) have recently extended the application domains to various vision tasks. While achieving high performance, ViTs suffer from large model size and high computation complexity that hinders the deployment of them on edge devices. To achieve high throughput on hardware and preserve the model accuracy simultaneously, we propose VAQF, a framework that builds inference accelerators on FPGA platforms for quantized ViTs with binary weights and low-precision activations. Given the model structure and the desired frame rate, VAQF will automatically output the required quantization precision for activations as well as the optimized parameter settings of the accelerator that fulfill the hardware requirements. The implementations are developed with Vivado High-Level Synthesis (HLS) on the Xilinx ZCU102 FPGA board, and the evaluation results with the DeiT-base model indicate that a frame rate requirement of 24 frames per second (FPS) is satisfied with 8-bit activation quantization, and a target of 30 FPS is met with 6-bit activation quantization. To the best of our knowledge, this is the first time quantization has been incorporated into ViT acceleration on FPGAs with the help of a fully automatic framework to guide the quantization strategy on the software side and the accelerator implementations on the hardware side given the target frame rate. Very small compilation time cost is incurred compared with quantization training, and the generated accelerators show the capability of achieving real-time execution for state-of-the-art ViT models on FPGAs.

📄 PDF Abstract BibTeX arXiv:2201.06618

Code (0)

등록된 구현이 없습니다.

Tasks

High-Level SynthesisQuantization

Similar Papers 제목 키워드 기반

QiMeng: Fully Automated Hardware and Software Design for Processor Chip

2025-06-05 · Rui Zhang, Yuanbo Wen, Shuyao Cheng, Di Huang 외

Processor chip design technology serves as a key frontier driving breakthroughs in computer science and related fields. With the rapid advancement of information technology, conventional design paradigms face three major…

PCEval: A Benchmark for Evaluating Physical Computing Capabilities of Large Language Models

2025-12-31 · Inpyo Song, Eunji Jeon, Jangwon Lee arxiv

Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains, including software development, education, and technical assistance. Among these, software development is one of the key area…

Code Generation

OpenFHE: Open-Source Fully Homomorphic Encryption Library

2022-09-15 · WAHC 2022 – 10th Workshop on Encrypted Computing & Applied Homomorphic Cryptography 2022 9 · Ahmad Al Badawi, Andreea Alexandru, Jack Bates, Flavio Bergamaschi 외

Fully Homomorphic Encryption (FHE) is a powerful cryptographic primitive that enables performing computations over encrypted data without having access to the secret key. We introduce OpenFHE, a new open-source FHE softw…

SEER: Super-Optimization Explorer for HLS using E-graph Rewriting with MLIR

2023-08-15 · Jianyi Cheng, Samuel Coward, Lorenzo Chelini, Rafael Barbalho 외

High-level synthesis (HLS) is a process that automatically translates a software program in a high-level language into a low-level hardware description. However, the hardware designs produced by HLS tools still suffer fr…

High-Level Synthesis

Learned Hardware/Software Co-Design of Neural Accelerators

2020-10-05 · Zhan Shi, Chirag Sakhuja, Milad Hashemi, Kevin Swersky 외

The use of deep learning has grown at an exponential rate, giving rise to numerous specialized hardware and software systems for deep learning. Because the design space of deep learning software stacks and hardware accel…

Bayesian OptimizationDeep Learning