Sign inSign up

cgra/mlir-cgra

By cgra

Updated over 3 years ago

MLIR-CGRA: An MLIR Dialect to Enable the Efficient Acceleration of ML Model on CGRAs

Image
0

277

cgra/mlir-cgra repository overview

Coarse-Grained Reconfigurable Arrays (CGRAs) can achieve higher energy-efficiency than general-purpose processors and accelerators or fine-grained reconfigurable devices, while maintaining adaptability to different computational patterns. CGRAs have shown some success as a platform to accelerate machine learning (ML) thanks to their flexibility, which allows them to support new models not considered by fixed accelerators. However, current solutions for CGRAs employ low level instruction-based compiler approaches and lack specialized compilation infrastructures from high-level ML frameworks that could leverage semantic information from the models, limiting the ability to efficiently map them on the reconfigurable substrate. This paper proposes ML-CGRA, an integrated compilation framework based on the MLIR infrastructure that enables efficient ML acceleration on CGRAs. ML-CGRA provides an end-to-end solution for mapping ML models on CGRAs that outperforms conventional approaches by 3.15x and 6.02x on 4x4 and 8x8 CGRAs, respectively. The framework is open-source and available from https://github.com/tancheng/mlir-cgra.

Tag summary

Content type

Image

Digest

sha256:d6672b7df

Size

6.5 GB

Last updated

over 3 years ago

docker pull cgra/mlir-cgra:demo