tenstorrent / tt-mlir

Tenstorrent MLIR compiler
https://tenstorrent.github.io/tt-mlir/
Apache License 2.0
46 stars 7 forks source link

Create more robust Type/Attr Python Bindings for TT-Dialect #38

Closed vprajapati-tt closed 1 month ago

vprajapati-tt commented 2 months ago

Refer to #33 where minimal functionality was hacked into the project. Robust Type/Attr are required for TT_SystemDescAttr, etc... where C-API builders are constructed.

vprajapati-tt commented 2 months ago

Upon doing some more research, Attr related overrides are possible with minimal effort from the Python layer. This indeed requires robust python bindings for both the attributes defined in the TT Dialect. #25 is blocked until this issue can be addressed to start building out the python layer with setters/getters to easily modify and reflect the new changes in our MLIR module.