Videos
I see filia, where a tool called py2mlir can e used to convert python to mlir. However, the project looks unmaintained as the last commit was 2 years back.
I see codon, which can be used to convert python to llvm but not mlir. I know there are ways to convert from llvm to mlir, with something like mlir-translate --import-llvm. However, that might not include higher level information.
So, is there any maintained tools available that converts python to MLIR LangRef?
Hi everyone! I'm struggling to find the documentation on how to install mlir to use in python, i.e.
import mlir module = mlir.ir.Module.parse(stablehlo_text)
I have been following https://mlir.llvm.org/docs/Bindings/Python/ but where exactly do they install mlir? I eventually get an error at:
python -m pip install -r mlir/python/requirements.txt
» pip install torch-mlir