Skip to main content

AMD AIE backend plugin for hls4ml

Project description

aie4ml

License PyPI PyPI - Downloads arXiv

aie4ml is an end-to-end compiler that generates optimized AIE firmware automatically, which can be then built and simulated directly using AMD Vitis. Currently, it is developed as a plugin that extends the backends for hls4ml in order to target the AMD AI Engine (AIE).

  • Current support: dense (linear) layers with optional bias & ReLU. Support for AIE-ML/AIE-MLv2 devices.

Prerequisites

  • AMD Vitis 2025.2 and a valid AIE tools license.
  • Python 3.10+ and the latest version of hls4ml package.

Frontend Compatibility

Operates on the intermediate model representation produced by hls4ml, therefore independent of the frontend (i.e., PyTorch, QKeras, etc.).

Installation

pip install hls4ml
pip install aie4ml

Documentation & Tutorials

Documentation and usage: https://github.com/dimdano/aie4ml

Tutorial 1 : tutorials/tutorial_1.ipynb Tutorial 2 : tutorials/tutorial_2.ipynb

General hls4ml concepts: https://fastmachinelearning.org/hls4ml

Maintainer

aie4ml is developed and maintained by Dimitrios Danopoulos.

Citation

If aie4ml contributes to your research, please cite the corresponding arXiv preprint:

@misc{danopoulos2025aie4mlendtoendframeworkcompiling,
      title={AIE4ML: An End-to-End Framework for Compiling Neural Networks for the Next Generation of AMD AI Engines},
      author={Dimitrios Danopoulos and Enrico Lupi and Chang Sun and Sebastian Dittmeier and Michael Kagan and Vladimir Loncar and Maurizio Pierini},
      year={2025},
      eprint={2512.15946},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2512.15946},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aie4ml-0.1.4.tar.gz (427.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aie4ml-0.1.4-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file aie4ml-0.1.4.tar.gz.

File metadata

  • Download URL: aie4ml-0.1.4.tar.gz
  • Upload date:
  • Size: 427.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for aie4ml-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b562d0a3a06bda3ced546ecf1f486a9de19ba87af228db8ff393e948ae5f6167
MD5 e7b922548dade140e2216c0146adda26
BLAKE2b-256 f2c0fc94bbbab2ae22f651e1d6eb8851937db54ab6de84b02645127114a059d0

See more details on using hashes here.

File details

Details for the file aie4ml-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: aie4ml-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for aie4ml-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ceff2e91bd3a82434072f96c99b93f08a6e2ba008d227317fd186c48a79f048b
MD5 8827b436b82707b8f0464f77d1a3efba
BLAKE2b-256 d47ae2e4aa2062f40f38bf6c0de17fa8b37e1148444ff6b619f7e9076a4e2e1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page