File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ cmake -GNinja -B"$build_dir" "$llvm_project_dir/llvm" \
20
20
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
21
21
-DLLVM_ENABLE_PROJECTS=mlir \
22
22
-DLLVM_EXTERNAL_PROJECTS=" torch-mlir" \
23
+ -DTORCH_MLIR_ENABLE_STABLEHLO=OFF \
23
24
-DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR=" $project_dir " \
24
25
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
25
26
-DLLVM_ENABLE_ASSERTIONS=ON \
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ cmake -S "$repo_root/externals/llvm-project/llvm" -B "$build_dir" \
51
51
-DLLVM_TARGETS_TO_BUILD=host \
52
52
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
53
53
-DTORCH_MLIR_ENABLE_LTC=OFF \
54
+ -DTORCH_MLIR_ENABLE_STABLEHLO=OFF \
54
55
-DTORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS=ON
55
56
echo " ::endgroup::"
56
57
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ case $torch_version in
27
27
echo " ::endgroup::"
28
28
29
29
# TODO: Need to verify in the stable version
30
- echo " ::group::Run FxImporter2Stablehlo e2e integration tests"
31
- python3 -m e2e_testing.main --config=fx_importer_stablehlo -v
32
- echo " ::endgroup::"
30
+ # TODO: Enable for nightly once the Stabelhlo integration is done
31
+ # echo "::group::Run FxImporter2Stablehlo e2e integration tests"
32
+ # python3 -m e2e_testing.main --config=fx_importer_stablehlo -v
33
+ # echo "::endgroup::"
33
34
34
35
echo " ::group::Run FxImporter TOSA e2e integration tests"
35
36
python3 -m e2e_testing.main --config=fx_importer_tosa -v
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ cmake -S "$repo_root/externals/llvm-project/llvm" -B "$build_dir" \
23
23
-DPython3_FIND_VIRTUALENV=ONLY \
24
24
-DLLVM_ENABLE_PROJECTS=mlir \
25
25
-DLLVM_EXTERNAL_PROJECTS=" torch-mlir" \
26
+ -DTORCH_MLIR_ENABLE_STABLEHLO=OFF \
26
27
-DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR=" $PWD " \
27
28
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
28
29
-DLLVM_TARGETS_TO_BUILD=host
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ function build_in_tree() {
239
239
-DLLVM_TARGETS_TO_BUILD=host \
240
240
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
241
241
-DTORCH_MLIR_ENABLE_LTC=${enable_ltc} \
242
+ -DTORCH_MLIR_ENABLE_STABLEHLO=OFF \
242
243
-DTORCH_MLIR_USE_INSTALLED_PYTORCH=" $torch_from_bin " \
243
244
-DTORCH_MLIR_SRC_PYTORCH_REPO=${TORCH_MLIR_SRC_PYTORCH_REPO} \
244
245
-DTORCH_MLIR_SRC_PYTORCH_BRANCH=${TORCH_MLIR_SRC_PYTORCH_BRANCH} \
@@ -405,6 +406,7 @@ function build_out_of_tree() {
405
406
-DMLIR_DIR=" /main_checkout/torch-mlir/llvm-build/lib/cmake/mlir/" \
406
407
-DMLIR_ENABLE_BINDINGS_PYTHON=OFF \
407
408
-DTORCH_MLIR_ENABLE_LTC=${enable_ltc} \
409
+ -DTORCH_MLIR_ENABLE_STABLEHLO=OFF \
408
410
-DTORCH_MLIR_USE_INSTALLED_PYTORCH=" $torch_from_bin " \
409
411
-DTORCH_MLIR_SRC_PYTORCH_REPO=${TORCH_MLIR_SRC_PYTORCH_REPO} \
410
412
-DTORCH_MLIR_SRC_PYTORCH_BRANCH=${TORCH_MLIR_SRC_PYTORCH_BRANCH} \
You can’t perform that action at this time.
0 commit comments