Skip to content
/ OTF Public

A simple jupyter notebook flow for generating a accelerator from an ONNX model using TVM and Vitis HLS

License

Notifications You must be signed in to change notification settings

OttoWRas/OTF

Repository files navigation

OTF - ONNX to FPGA - a flow for generating hardware based on ONNX models using TVM

This project is the product of a special course at DTU focusing on compilation of machine learning models to hardware. It was done in collaboration with DTU Compute.

Introduction

This repository contains and explains a flow that was devoloped for compiling machine learning models, from ONNX to FPGA, using TVM and Vitis HLS.

Requirements

This flow requires a local TVM installation and Vitis HLS, only the newest version at todays date 21/05/2024, has been tested.

Running the flow

The project contains a jupyter notebook that has all the necesarry steps to compile, synthesise and run and onnx model.

Disclaimer / TODO

The current version of the C file clean up scirpts in cleanup.py is not yet able to fully prepare for HLS. There is therfore still some manual work required there, though this is explained in the flow.

About

A simple jupyter notebook flow for generating a accelerator from an ONNX model using TVM and Vitis HLS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published