File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ option(TORCH_MLIR_OUT_OF_TREE_BUILD "Specifies an out of tree build" OFF)
50
50
# native extensions will be built.
51
51
# TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS will be disabled by default shortly,
52
52
# once some reorganizations of the testing codebase makes that possible.
53
- option (TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS "Enables PyTorch native extension features" ON )
53
+ option (TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS "Enables PyTorch native extension features" OFF )
54
54
# NOTE: The JIT_IR_IMPORTER paths have become unsupportable due to age and lack of maintainers.
55
55
# Turning this off disables the old TorchScript path, leaving FX based import as the current supported option.
56
56
# The option will be retained for a time, and if a maintainer is interested in setting up testing for it,
57
57
# please reach out on the list and speak up for it. It will only be enabled in CI for test usage.
58
- cmake_dependent_option(TORCH_MLIR_ENABLE_JIT_IR_IMPORTER "Enables JIT IR Importer" OFF TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS OFF )
58
+ cmake_dependent_option(TORCH_MLIR_ENABLE_JIT_IR_IMPORTER "Enables JIT IR Importer" ON TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS OFF )
59
59
cmake_dependent_option(TORCH_MLIR_ENABLE_LTC "Enables LTC backend" OFF TORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS OFF )
60
60
61
61
option (TORCH_MLIR_ENABLE_ONNX_C_IMPORTER "Enables the ONNX C importer" OFF )
Original file line number Diff line number Diff line change @@ -51,7 +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=ON \
54
- -DTORCH_MLIR_ENABLE_JIT_IR_IMPORTER =ON
54
+ -DTORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS =ON
55
55
echo " ::endgroup::"
56
56
57
57
echo " ::group::Build"
You can’t perform that action at this time.
0 commit comments