Skip to content

Commit

Permalink
Update update_torch_ods.sh to use new torch_mlir python layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro050 authored and silvasean committed Sep 22, 2021
1 parent 6d8e7f1 commit 19feb58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions external/torch-mlir/build_tools/update_torch_ods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Updates auto-generated ODS files for the `torch` dialect.
set -e

src_dir="$(realpath $(dirname $0)/..)"
src_dir="$(realpath $(dirname $0)/../../..)"
build_dir="$(realpath "${TORCH_MLIR_BUILD_DIR:-$src_dir/build}")"
torch_ir_dir="${src_dir}/include/torch-mlir/Dialect/Torch/IR"
python_packages_dir="${build_dir}/tools/torch-mlir/python_packages"
torch_ir_dir="${src_dir}/external/torch-mlir/include/torch-mlir/Dialect/Torch/IR"
python_packages_dir="${build_dir}/python_packages"

#ninja -C "${build_dir}"
PYTHONPATH="${python_packages_dir}/torch_mlir" python \
Expand Down

0 comments on commit 19feb58

Please sign in to comment.