Skip to content

Add CI for coverage of torch operators#2955

Draft
j2kun wants to merge 2 commits into
google:mainfrom
j2kun:torch-ci
Draft

Add CI for coverage of torch operators#2955
j2kun wants to merge 2 commits into
google:mainfrom
j2kun:torch-ci

Conversation

@j2kun
Copy link
Copy Markdown
Collaborator

@j2kun j2kun commented May 16, 2026

This was largely an AI port of https://github.com/j2kun/heir_torch_coverage to a CI workflow in HEIR directly.

Features:

  1. Runs a CI testing heir-opt on all the listed torch operators every two weeks (offset for HEIR monthly release)
  2. Does not depend on torch-mlir in HEIR directly, only in CI
  3. Updates polynomial-approximation to choose smarter default intervals, hopefully avoiding trivial crashes of non-polynomial functions like sqrt and log2
  4. Saves the failure logs to the GH action outputs so they can be inspected
  5. Writes a table to the action output and to a distinguished comment in #2923

@j2kun j2kun marked this pull request as draft May 16, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant