Skip to content

TensorIR v0.1.8

Latest

Choose a tag to compare

@sfawzy-nv sfawzy-nv released this 10 Nov 20:00
· 2 commits to main since this release

Highlights

  • Added CUDA Tile optimization remarks through the command-line compiler, C++, C, and Python APIs. Filter passed, missed, failed, and analysis remarks by category, capture LLVM remark YAML, and retrieve it from compiled artifacts.
  • Expanded the Python DSL and dialect with fused multiply-add, exp2, log2, cosh, sinh, expm1, and log1p, plus integer negation, high-half multiplication, XOR, and shifts. Added arithmetic modifiers for supported rounding, overflow, and flush-to-zero behavior.
  • Added triangular operand annotations to matmul, allowing CUDA Tile lowering to skip entirely zero K tiles.
  • Added polynomial shape analysis and explicit shape assumptions, with updates to grid formation, tiling enumeration, and reduction lowering.
  • Added captured intermediate representations to compiled DSL kernels through asm, and improved source locations in traced graphs and scan bodies.
  • Expanded CPU/Linalg lowering and runtime element-type support, with additional coverage for pointwise operations, low-precision conversions, reductions, runtime validation, and optimization remarks.
  • Updated the CUDA Tile and LLVM dependency pins.

Compatibility and migration notes

  • MlirTensorIRTensorView.shape is now required whenever rank is nonzero, including for statically shaped tensors. Update callers that previously omitted static shape metadata.
  • Triangular matmul annotations are promises about the input: values outside the declared triangle must already be zero, including within diagonal tiles.
  • Optimization remarks require a compatible tileiras executable. Use --tileiras-path to select one explicitly. Enabling remarks bypasses the DSL artifact cache and runs assembly even when requesting a TileIR artifact.
  • Rebuild downstream integrations against the updated dependency pins: CUDA Tile e11729ed4e228af005dc8cc113d7b84157e9d654 and LLVM 80017ba18d8c8866713586fa19245f0878b4f8a2.

Contributors

Thanks to @adshen, @christopherbate, @lszxb, @ravil-mobile, @serach24, @sergey-kozub, and @TorinLi.

Full changelog: v0.1.7...v0.1.8