Skip to content

Conversation

tanyokwok
Copy link
Collaborator

@tanyokwok tanyokwok commented Aug 31, 2022

Related to #1267

@tanyokwok tanyokwok linked an issue Aug 31, 2022 that may be closed by this pull request
Copy link
Contributor

@silvasean silvasean left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Collaborator

@ZihengJiang ZihengJiang left a comment

Choose a reason for hiding this comment

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

Thanks Tianyou :)

@tanyokwok tanyokwok merged commit 57d8ec1 into llvm:main Sep 1, 2022
@tanyokwok tanyokwok deleted the tanyo/torch-mlir branch September 1, 2022 09:08
AmosLewis pushed a commit to AmosLewis/torch-mlir that referenced this pull request Sep 2, 2022
* [MHLO] add VerifyMhloBackendContract

* guard with macro
AmosLewis pushed a commit to AmosLewis/torch-mlir that referenced this pull request Sep 2, 2022
* [MHLO] add VerifyMhloBackendContract

* guard with macro
sjain-stanford added a commit that referenced this pull request Sep 7, 2022
The `-DTORCH_MLIR_ENABLE_MHLO` flag was recently introduced for `TorchMLIRTorchConversionPassesIncGen` [here](https://sourcegraph.com/github.com/llvm/torch-mlir@99093d0623c3d3e6fb961ad0c8fda5ee9fc264fe/-/blob/utils/bazel/torch-mlir-overlay/BUILD.bazel?L319) in [this recent PR](#1321) (was already present for `TorchMLIRConversionPassesIncGen` [here](https://sourcegraph.com/github.com/llvm/torch-mlir@99093d0623c3d3e6fb961ad0c8fda5ee9fc264fe/-/blob/utils/bazel/torch-mlir-overlay/BUILD.bazel?L288)). Before this PR, the MHLO sources in TorchConversion were not being built. This indicates a build issue that pre-existed but didn’t trigger until this path was enabled recently. Disabling to get the build green for now, until we can diagnose and fix the build for MHLO sources in TorchConversion.
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
* call zhigh-to-zlow from onnx-to-krnl and delete zhigh-to-zlow pass

Signed-off-by: Tung D. Le <[email protected]>

* call zlow-to-llvm from krnl-to-llvm and delete zlow-to-llvm pass

Signed-off-by: Tung D. Le <[email protected]>

* Hook for KrnlTypeConverter and add lit tests

Signed-off-by: Tung D. Le <[email protected]>

* undo redundant changes

Signed-off-by: Tung D. Le <[email protected]>

* small changes

Signed-off-by: Tung D. Le <[email protected]>

* Readd some passes

Signed-off-by: Tung D. Le <[email protected]>

* Address comments

Signed-off-by: Tung D. Le <[email protected]>

* Address comments

Signed-off-by: Tung D. Le <[email protected]>

* Clean up header includes and some functions

Signed-off-by: Tung D. Le <[email protected]>

* Edit comments

Signed-off-by: Tung D. Le <[email protected]>

* typos

Signed-off-by: Tung D. Le <[email protected]>
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.

Add VerifyMhloBackendContract pass for MHLO.
3 participants