Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 763 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 763 Bytes

ByteIR Frontends

ByteIR Frontends includes Tensorflow, PyTorch, and ONNX.

Each of them can generates mhlo dialects from the corresponding frontend.

Each frontend can be built independently with the corresponding requirement and dependencies. Note it may or may not be guaranteed using the same version of dependencies, e.g. LLVM, with the other frontend, due to convenience of development.

But each frontend will be guaranteed to generate compatible mhlo format with the ByteIR compiler.

tf graph --> tf dialect --> mhlo dialect pipeline

PyTorch --> torch dialect --> mhlo dialect pipeline

onnx graph --> onnx dialect --> mhlo dialect