File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ portable_realpath() {
1313
1414td=" $( portable_realpath " $( dirname " $0 " ) " /..) "
1515build_dir=" $( portable_realpath " ${TORCH_MLIR_BUILD_DIR:- $td / build} " ) "
16- python_packages_dir=" $build_dir /python_packages"
16+ python_packages_dir=" $build_dir /tools/torch-mlir/ python_packages"
1717
1818write_env_file () {
1919 echo " Updating $build_dir /.env file"
Original file line number Diff line number Diff line change @@ -109,13 +109,13 @@ cmake --build build
109109### Linux and macOS
110110
111111``` shell
112- export PYTHONPATH=` pwd` /build/python_packages/torch_mlir:` pwd` /projects/pt1/examples
112+ export PYTHONPATH=` pwd` /build/tools/torch-mlir/ python_packages/torch_mlir:` pwd` /projects/pt1/examples
113113```
114114
115115### Windows PowerShell
116116
117117``` shell
118- $env :PYTHONPATH = " $PWD /build/python_packages/torch_mlir;$PWD /projects/pt1/examples"
118+ $env :PYTHONPATH = " $PWD /build/tools/torch-mlir/ python_packages/torch_mlir;$PWD /projects/pt1/examples"
119119```
120120
121121## Testing MLIR output in various dialects
@@ -126,7 +126,7 @@ Make sure you have activated the virtualenv and set the `PYTHONPATH` above
126126(if running on Windows, modify the environment variable as shown above):
127127``` shell
128128source mlir_venv/bin/activate
129- export PYTHONPATH=` pwd` /build/tpython_packages /torch_mlir:` pwd` /projects/pt1/examples
129+ export PYTHONPATH=` pwd` /build/tools/torch-mlir/python_packages /torch_mlir:` pwd` /projects/pt1/examples
130130python projects/pt1/examples/torchscript_resnet18_all_output_types.py
131131```
132132
You can’t perform that action at this time.
0 commit comments