Skip to contents

stablehlo (development version)

Features

Breaking changes

  • Adopted tengen’s enum-style DataType.

Performance

  • The package was optimized w.r.t. runtime performance. This was achieved by reducing the number of classes that are used internally when creating Funcs. The hlo_<*> user API remains unaffected.

  • The hlo_* builders of common ops gained an output_types argument. When the output types are known ahead of time (e.g. from a lowering that ran type inference at trace time), passing them skips redundant inference and its input validation.

Bug fixes

  • emit width-correct hex for f64 NaN/Inf constants

stablehlo 0.3.0

Features

Bug fixes

stablehlo 0.2.0

Features

  • Added support for Modules

Bug fixes

  • Constants +-Inf/NaN of dtype f64 are now correctly created.
  • Fixed assembly format for select op with all boolean (i1) types.

Miscellaneous

  • Use a simpler StableHLO string format for improved readability

stablehlo 0.1.0

  • Initial release