Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 788 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 788 Bytes

ByteIR Frontends

ByteIR Frontends includes Tensorflow, PyTorch, and ONNX.

Each of them can generates stablehlo 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 stablehlo format with the ByteIR compiler.

tf graph --> tf dialect --> stablehlo dialect pipeline

PyTorch --> torch dialect --> stablehlo dialect pipeline

onnx graph --> onnx dialect --> stablehlo dialect