Skip to content

Fix and re-enable jax testing - #5183

Merged
GMNGeoffrey merged 2 commits into
iree-org:mainfrom
GMNGeoffrey:fix-jax
Mar 20, 2021
Merged

GMNGeoffrey merged 2 commits into
iree-org:mainfrom
GMNGeoffrey:fix-jax

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Mar 20, 2021 •

Copy link
Copy Markdown
Member

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.

@google-cla google-cla Bot added the cla: yes label Mar 20, 2021
@GMNGeoffrey
GMNGeoffrey requested a review from benvanik March 20, 2021 00:23
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

I'm holding off on running clang-format so I don't invalidate the ongoing CI builds

@GMNGeoffrey
GMNGeoffrey requested a review from rsuderman March 20, 2021 00:24

@benvanik benvanik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

oh nice, thanks for fixing this!

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

We got a failure on internal import and I was like "oh no, why wasn't this covered in OSS" and then I realized...

scooby_doo_fred_ghost_is_me

@GMNGeoffrey
GMNGeoffrey merged commit da4ad51 into iree-org:main Mar 20, 2021
@GMNGeoffrey
GMNGeoffrey deleted the fix-jax branch March 20, 2021 00:55
@hanhanW hanhanW mentioned this pull request Mar 22, 2021
@ScottTodd ScottTodd mentioned this pull request Mar 23, 2021
copybara-service Bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

COPYBARA_INTEGRATE_REVIEW=#5212 from ScottTodd:main-to-google 82d8765
PiperOrigin-RevId: 364658113
iree-github-actions-bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

PiperOrigin-RevId: 364658113
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants