Score: 0

From PyTorch to Calyx: An Open-Source Compiler Toolchain for ML Accelerators

Published: December 5, 2025 | arXiv ID: 2512.06177v1

By: Jiahan Xie, Evan Williams, Adrian Sampson

Potential Business Impact:

Turns AI code into computer chips.

Business Areas:
Field-Programmable Gate Array (FPGA) Hardware

We present an end-to-end open-source compiler toolchain that targets synthesizable SystemVerilog from ML models written in PyTorch. Our toolchain leverages the accelerator design language Allo, the hardware intermediate representation (IR) Calyx, and the CIRCT project under LLVM. We also implement a set of compiler passes for memory partitioning, enabling effective parallelism in memory-intensive ML workloads. Experimental results demonstrate that our compiler can effectively generate optimized FPGA-implementable hardware designs that perform reasonably well against closed-source industry-grade tools such as Vitis HLS.

Country of Origin
🇺🇸 United States

Page Count
5 pages

Category
Computer Science:
Hardware Architecture