Repository navigation
Moving HLO tuple/control flow handling up to the TF importer. - #5104
Merged
Merged
Conversation
benvanik
force-pushed
the
benvanik-hlo-1
branch
2 times, most recently
from
March 15, 2021 20:37
2bb2088 to
2aa06d5
Compare
benvanik
marked this pull request as ready for review
March 15, 2021 21:22
rsuderman
approved these changes
Mar 16, 2021
This also allows us to receive HLO in SCF form as input, similar to how TOSA is being imported. The current HLO->SCF pass is only partially working, though, so we'll still be going to CFG in all but the simple case it handles. I'd still rather be working towards SCF as input, though, and this is a fine placeholder.
benvanik
force-pushed
the
benvanik-hlo-1
branch
from
March 19, 2021 16:43
2aa06d5 to
f641f7b
Compare
GMNGeoffrey
added a commit
that referenced
this pull request
Mar 20, 2021
In #5101 I accidentally removed bindings/python tests from the CI because I assumed that they would be covered not in the integrations build. It turns out that we have tests depending on the TF integrations living under bindings/python (gross. #5181). So when #5104 moved MHLO tuple and control flow legalization out of core, we didn't catch the test failure for JAX. This adds passes to convert from MHLO as produced by XLA->MHLO translation to the form accepted by IREE. As we move more towards making linalg on tensors our input and push more MHLO out of IREE core the pipeline here will likely grow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This also allows us to receive HLO in SCF form as input, similar to how
TOSA is being imported.
The current HLO->SCF pass is only partially working, though, so we'll
still be going to CFG in all but the simple case it handles. I'd still
rather be working towards SCF as input, though, and this is a fine
placeholder.