llvm-project
65ed4fa5 - [mlir] Python: Parse ModuleOp from file path (#126572)

Commit
352 days ago
[mlir] Python: Parse ModuleOp from file path (#126572) For extremely large models, it may be inefficient to load the model into memory in Python prior to passing it to the MLIR C APIs for deserialization. This change adds an API to parse a ModuleOp directly from a file path. Re-lands [4e14b8a](https://github.com/llvm/llvm-project/commit/4e14b8afb44af58ab7073bb8c0b52875599b0ae1).
Author
Parents
Loading