What is StableHLO?
mainStableHLO is an operation set for high-level operations (HLO) in machine learning (ML) models. It serves as a portability layer between ML frameworks (such as TensorFlow, JAX, and PyTorch) and ML compilers (such as XLA and IREE).
Key features include:
- Interoperability: Frameworks producing StableHLO programs are compatible with compilers consuming them.
- Based on MHLO: It enhances the MHLO dialect with additional functionality like serialization and versioning.
- Serialization: Uses MLIR bytecode as the serialization format.
- Compatibility: Provides backward and forward compatibility guarantees to ensure stability as the project evolves.