Skip to content

Commit

Permalink
[Bazel] Replace mlir-hlo with stablehlo (#2463)
Browse files Browse the repository at this point in the history
Aligns with #2460 and fixes bazel
build.

GHA workflow:
https://github.com/sjain-stanford/torch-mlir/actions/runs/6178894329
  • Loading branch information
sjain-stanford authored Sep 14, 2023
1 parent 40913a3 commit 3d974ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions utils/bazel/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ llvm_configure(
)

local_repository(
name = "mlir-hlo",
path = "../../externals/mlir-hlo/",
name = "stablehlo",
path = "../../externals/stablehlo/",
)

new_local_repository(
Expand Down
5 changes: 2 additions & 3 deletions utils/bazel/torch-mlir-overlay/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,8 @@ cc_library(
":TorchMLIRTorchBackendTypeConversion",
":TorchMLIRTorchConversionDialect",
"@llvm-project//mlir:Dialect",
"@mlir-hlo//:mlir_hlo",
"@mlir-hlo//:transforms_passes",
"@mlir-hlo//stablehlo:register",
"@stablehlo//:register",
"@stablehlo//:stablehlo_passes",
],
)

Expand Down

0 comments on commit 3d974ed

Please sign in to comment.