Skip to content

update green commits #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

srinathava
Copy link
Contributor

@srinathava srinathava commented Mar 7, 2025

The current status is that with these commits/fixes, we can get all tests in @llvm-project and @stablehlo to pass. However, @torch-mlir fails to build with the latest stablehlo build. The following fix to torch-mlir should be able to make torch-mlir build and pass tests as well. We need to upstream this change to torch-mlir before we can proceed with this upgrade.

diff --git a/lib/InitAll.cpp b/lib/InitAll.cpp
index d9096929..2a9be6cc 100644
--- a/lib/InitAll.cpp
+++ b/lib/InitAll.cpp
@@ -33,6 +33,7 @@
 #ifdef TORCH_MLIR_ENABLE_STABLEHLO
 #include "stablehlo/conversions/linalg/transforms/Passes.h"
 #include "stablehlo/transforms/Passes.h"
+#include "stablehlo/transforms/optimization/Passes.h"
 #endif

 #ifdef TORCH_MLIR_ENABLE_TOSA

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.

2 participants