Skip to content

Deleting iree_input dialect. - #20256

Merged
benvanik merged 1 commit into
mainfrom
users/benvanik/kill-input
Mar 15, 2025
Merged

benvanik merged 1 commit into
mainfrom
users/benvanik/kill-input

Conversation

@benvanik

@benvanik benvanik commented Mar 14, 2025 •

Copy link
Copy Markdown
Collaborator

The dialect is no longer used and we encourage projects to lower directly to the appropriate HAL and flow ops. The input dialect predates MLIR's versioning mechanism and we weren't versioning iree_input manually anyway so it was just adding an extra layer of goo - if in the future we want to version the input ops in the internal dialects we can do so using MLIR's versioning mechanism.

The IREEImportPublic pass is still used for func->util conversion today and will be removed in a follow-up PR.

@benvanik benvanik added compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) cleanup 🧹 labels Mar 14, 2025
Base automatically changed from users/benvanik/linalgext-input to main March 14, 2025 21:52
@benvanik
benvanik force-pushed the users/benvanik/kill-input branch 2 times, most recently from 734a28c to 7b3edc6 Compare March 14, 2025 22:58

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm comfortable landing this change before the 3.3.0 release and mentioning it in release notes (#19960), as long as all in-tree tests continue to pass with it.

@benvanik
benvanik force-pushed the users/benvanik/kill-input branch from 7b3edc6 to 6fb349a Compare March 14, 2025 23:07
@benvanik benvanik mentioned this pull request Mar 14, 2025
5 of 6 tasks
@benvanik

Copy link
Copy Markdown
Collaborator Author

(added to the release notes)

@benvanik
benvanik requested a review from ScottTodd March 14, 2025 23:12
@benvanik
benvanik marked this pull request as ready for review March 14, 2025 23:12
@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Ooooh -4035!

The IREEImportPublic pass is still used for func->util conversion today
and will be removed in a follow-up PR.
@benvanik
benvanik force-pushed the users/benvanik/kill-input branch from 6fb349a to 7ee9d8f Compare March 14, 2025 23:33
@hanhanW

hanhanW commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

Love it!

@benvanik
benvanik merged commit da6d5fe into main Mar 15, 2025
@benvanik
benvanik deleted the users/benvanik/kill-input branch March 15, 2025 00:40
pxanthopoulos pushed a commit to pxanthopoulos/iree that referenced this pull request Mar 17, 2025
The dialect is no longer used and we encourage projects to lower
directly to the appropriate HAL and flow ops. The input dialect predates
MLIR's versioning mechanism and we weren't versioning iree_input
manually anyway so it was just adding an extra layer of goo - if in the
future we want to version the input ops in the internal dialects we can
do so using MLIR's versioning mechanism.

The IREEImportPublic pass is still used for func->util conversion today
and will be removed in a follow-up PR.
@ScottTodd

Copy link
Copy Markdown
Member

One downstream failure after this, possibly just a unit test to remove: iree-org/iree-turbine#589

cc @Hardcode84

bangtianliu added a commit to nod-ai/amd-shark-ai that referenced this pull request Mar 21, 2025
The `iree_input` dialect has been removed from IREE according to PR:
iree-org/iree#20256, so we update our tuner code
and prevent related errors during pytest runs.

Signed-off-by: Bangtian Liu <[email protected]>
Eliasj42 pushed a commit that referenced this pull request Mar 24, 2025
The dialect is no longer used and we encourage projects to lower
directly to the appropriate HAL and flow ops. The input dialect predates
MLIR's versioning mechanism and we weren't versioning iree_input
manually anyway so it was just adding an extra layer of goo - if in the
future we want to version the input ops in the internal dialects we can
do so using MLIR's versioning mechanism.

The IREEImportPublic pass is still used for func->util conversion today
and will be removed in a follow-up PR.

Signed-off-by: Elias Joseph <[email protected]>
AGindinson added a commit to AGindinson/iree that referenced this pull request Apr 21, 2025
This is essentially a follow-up on iree-org#20256: removes the leftover `iree_input`
entry and applies the changes after running `generate_exports.py`. This also
synchronizes with new MLIR bindings that have been integrated recently, like
in llvm/llvm-project@0264d42.

Signed-off-by: Artem Gindinson <[email protected]>
AGindinson added a commit to AGindinson/iree that referenced this pull request Apr 21, 2025
This is essentially a follow-up on iree-org#20256: removes the leftover `iree_input`
entry and applies the changes after running `generate_exports.py`. This also
synchronizes with new MLIR bindings that have been integrated recently, like
in llvm/llvm-project@0264d42.

Signed-off-by: Artem Gindinson <[email protected]>
maxbartel pushed a commit that referenced this pull request Apr 24, 2025
This is essentially a follow-up on #20256: removes the leftover
`iree_input` entry and applies the changes after running
`generate_exports.py`. This also synchronizes with new MLIR bindings
that have been integrated recently, like in llvm/llvm-project@0264d42.

Signed-off-by: Artem Gindinson <[email protected]>
KyleHerndon pushed a commit to KyleHerndon/iree that referenced this pull request May 7, 2025
This is essentially a follow-up on iree-org#20256: removes the leftover
`iree_input` entry and applies the changes after running
`generate_exports.py`. This also synchronizes with new MLIR bindings
that have been integrated recently, like in llvm/llvm-project@0264d42.

Signed-off-by: Artem Gindinson <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
The dialect is no longer used and we encourage projects to lower
directly to the appropriate HAL and flow ops. The input dialect predates
MLIR's versioning mechanism and we weren't versioning iree_input
manually anyway so it was just adding an extra layer of goo - if in the
future we want to version the input ops in the internal dialects we can
do so using MLIR's versioning mechanism.

The IREEImportPublic pass is still used for func->util conversion today
and will be removed in a follow-up PR.
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
This is essentially a follow-up on #20256: removes the leftover
`iree_input` entry and applies the changes after running
`generate_exports.py`. This also synchronizes with new MLIR bindings
that have been integrated recently, like in llvm/llvm-project@0264d42.

Signed-off-by: Artem Gindinson <[email protected]>
RattataKing pushed a commit to nod-ai/amd-shark-ai that referenced this pull request Mar 2, 2026
The `iree_input` dialect has been removed from IREE according to PR:
iree-org/iree#20256, so we update our tuner code
and prevent related errors during pytest runs.

Signed-off-by: Bangtian Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants