mirror of https://github.com/llvm/torch-mlir
Update update_torch_ods.sh to use new torch_mlir python layout
parent
6d8e7f1bb1
commit
19feb58ef8
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue