From f8df95402a4d3323256e932185d29c5466d688b7 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 11 Nov 2024 20:00:33 +0100 Subject: [PATCH] Update docs, experimental and samples (#19065) Updates the documentation, scripts in `experimental` and the samples to reflect the renaming of the Python packages. Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com> --- .github/workflows/build_package.yml | 8 ++--- .../workflows/oneshot_candidate_release.yml | 4 +-- .../workflows/schedule_candidate_release.yml | 4 +-- README.md | 4 +-- RELEASING.md | 18 ++++++----- docs/api_docs/python/requirements.txt | 4 +-- .../developers/debugging/integration-tests.md | 2 +- .../docs/developers/debugging/sanitizers.md | 4 +-- .../performance/profiling-with-tracy.md | 4 +-- .../guides/deployment-configurations/cpu.md | 4 +-- .../deployment-configurations/gpu-cuda.md | 4 +-- .../deployment-configurations/gpu-rocm.md | 4 +-- .../deployment-configurations/gpu-vulkan.md | 4 +-- .../snippets/_iree-compiler-from-release.md | 4 +-- .../snippets/_iree-runtime-from-release.md | 4 +-- .../website/docs/guides/ml-frameworks/onnx.md | 8 ++--- .../docs/guides/ml-frameworks/tensorflow.md | 8 ++--- .../docs/guides/ml-frameworks/tflite.md | 8 ++--- .../website/docs/reference/bindings/python.md | 31 ++++++++++++------- experimental/web/generate_web_metrics.sh | 2 +- .../web/sample_dynamic/build_sample.sh | 2 +- .../web/sample_static/build_sample.sh | 2 +- .../web/sample_webgpu/build_sample.sh | 2 +- experimental/web/testing/build_tests.sh | 2 +- samples/custom_module/basic/README.md | 4 +-- samples/custom_module/dynamic/README.md | 4 +-- samples/custom_module/static/README.md | 4 +-- samples/dynamic_shapes/README.md | 2 +- samples/dynamic_shapes/test.sh | 2 +- 29 files changed, 84 insertions(+), 73 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index 61f65b5087902..9e6a446496580 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -26,10 +26,10 @@ on: description: "Version of the package" required: true compiler_package_version: - description: "Version of the iree-compiler package" + description: "Version of the iree-base-compiler package" required: true runtime_package_version: - description: "Version of the iree-runtime package" + description: "Version of the iree-base-runtime package" required: true release_id: description: "Release id to upload artifacts to" @@ -78,7 +78,7 @@ jobs: EOF cat ./c/version_local.json - echo "iree-compiler" + echo "iree-base-compiler" cat << EOF > ./c/compiler/version_local.json { "package-suffix": "${{ github.event.inputs.package_suffix }}", @@ -88,7 +88,7 @@ jobs: EOF cat ./c/compiler/version_local.json - echo "iree-runtime" + echo "iree-base-runtime" cat << EOF > ./c/runtime/version_local.json { "package-suffix": "${{ github.event.inputs.package_suffix }}", diff --git a/.github/workflows/oneshot_candidate_release.yml b/.github/workflows/oneshot_candidate_release.yml index ada3aefcfb638..05f9288b7cfa4 100644 --- a/.github/workflows/oneshot_candidate_release.yml +++ b/.github/workflows/oneshot_candidate_release.yml @@ -27,11 +27,11 @@ jobs: legacy_package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')" echo "legacy_package_version=${legacy_package_version}" >> $GITHUB_ENV - # iree-compiler version + # iree-base-compiler version compiler_package_version="$(python3 build_tools/python_deploy/compute_local_version.py compiler -rc)" echo "compiler_package_version=${compiler_package_version}" >> $GITHUB_ENV - # iree-runtime version + # iree-base-runtime version runtime_package_version="$(python3 build_tools/python_deploy/compute_local_version.py runtime -rc)" echo "runtime_package_version=${runtime_package_version}" >> $GITHUB_ENV diff --git a/.github/workflows/schedule_candidate_release.yml b/.github/workflows/schedule_candidate_release.yml index d294201ce7792..a89fe235f6d44 100644 --- a/.github/workflows/schedule_candidate_release.yml +++ b/.github/workflows/schedule_candidate_release.yml @@ -48,11 +48,11 @@ jobs: legacy_package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')" echo "legacy_package_version=${legacy_package_version}" >> $GITHUB_ENV - # iree-compiler version + # iree-base-compiler version compiler_package_version="$(python3 build_tools/python_deploy/compute_local_version.py compiler -rc)" echo "compiler_package_version=${compiler_package_version}" >> $GITHUB_ENV - # iree-runtime version + # iree-base-runtime version runtime_package_version="$(python3 build_tools/python_deploy/compute_local_version.py runtime -rc)" echo "runtime_package_version=${runtime_package_version}" >> $GITHUB_ENV diff --git a/README.md b/README.md index fb1ddc8ff40da..188a5ea08d522 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ of feedback on any [communication channels](#communication-channels) | -- | -- | GitHub release (stable) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree)](https://github.com/iree-org/iree/releases/latest) GitHub release (nightly) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree?include_prereleases)](https://github.com/iree-org/iree/releases) -Python iree-compiler | [![PyPI version](https://badge.fury.io/py/iree-compiler.svg)](https://badge.fury.io/py/iree-compiler) -Python iree-runtime | [![PyPI version](https://badge.fury.io/py/iree-runtime.svg)](https://badge.fury.io/py/iree-runtime) +Python iree-base-compiler | [![PyPI version](https://badge.fury.io/py/iree-base-compiler.svg)](https://badge.fury.io/py/iree-base-compiler) +Python iree-base-runtime | [![PyPI version](https://badge.fury.io/py/iree-base-runtime.svg)](https://badge.fury.io/py/iree-base-runtime) #### Build status diff --git a/RELEASING.md b/RELEASING.md index f9950bb7ed114..3a4d98c16cedd 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -31,8 +31,8 @@ A number of packages are produced automatically: * `iree-dist-*.tar.xz` (manylinux x86_64 and aarch64): Install image of the binaries and development assets needed to use or depend on the C/C++ parts of the project. -* `iree-compiler`: Binary Python wheels -* `iree-runtime`: Binary Python wheels +* `iree-base-compiler`: Binary Python wheels +* `iree-base-runtime`: Binary Python wheels * `iree-tools-tf` and `iree-tools-tflite`: Pure Python wheels #### Linux Builds @@ -51,8 +51,8 @@ Windows builds are built using GitHub-hosted runners. Due to the cost, the project aims to target the most recent version of Python only while building version N-1 for the first year of the lifecycle of the next version. -Only the Python `iree-compiler` and `iree-runtime` packages are built for -Windows. +Only the Python `iree-base-compiler` and `iree-base-runtime` packages are +built for Windows. The release is published even if the Windows build fails. When this happens, it is fixed forward for the next snapshot. @@ -63,8 +63,8 @@ MacOS builds are performed using GitHub-hosted runners. Due to the cost, the project aims to target the most recent version of Python only while building version N-1 for the first year of the lifecycle of the next version. -Only the Python `iree-compiler` and `iree-runtime` packages are built for -MacOS. +Only the Python `iree-base-compiler` and `iree-base-runtime` packages are +built for MacOS. The release is published even if the MacOS build fails. When this happens, it is fixed forward for the next snapshot. @@ -81,14 +81,16 @@ release process: ### PyPI -* https://pypi.org/project/iree-compiler/ -* https://pypi.org/project/iree-runtime/ +* https://pypi.org/project/iree-base-compiler/ +* https://pypi.org/project/iree-base-runtime/ * https://pypi.org/project/iree-turbine/ * https://pypi.org/project/iree-tools-tf/ * https://pypi.org/project/iree-tools-tflite/ Deprecated projects no longer updated: +* https://pypi.org/project/iree-compiler/ (replaced by iree-base-compiler) +* https://pypi.org/project/iree-runtime/ (replaced by iree-base-runtime) * https://pypi.org/project/iree-runtime-instrumented/ (functionality is included in the main iree-runtime package) * https://pypi.org/project/iree-tools-xla/ (functionality is no longer needed) diff --git a/docs/api_docs/python/requirements.txt b/docs/api_docs/python/requirements.txt index 642cd5e7df404..0e2d8c723cf7a 100644 --- a/docs/api_docs/python/requirements.txt +++ b/docs/api_docs/python/requirements.txt @@ -12,5 +12,5 @@ sphinxcontrib-qthelp==1.0.3 # IREE Python API -f https://iree.dev/pip-release-links.html -iree-compiler -iree-runtime +iree-base-compiler +iree-base-runtime diff --git a/docs/website/docs/developers/debugging/integration-tests.md b/docs/website/docs/developers/debugging/integration-tests.md index 79f0032964a6d..bf40d1b4e26cd 100644 --- a/docs/website/docs/developers/debugging/integration-tests.md +++ b/docs/website/docs/developers/debugging/integration-tests.md @@ -74,7 +74,7 @@ All steps here assume starting from the IREE root directory. # Install packages from nightly releases # This should work for most cases, as the importers change infrequently python -m pip install \ - iree-compiler iree-runtime iree-tools-tf iree-tools-tflite \ + iree-base-compiler iree-base-runtime iree-tools-tf iree-tools-tflite \ --find-links https://iree.dev/pip-release-links.html ``` diff --git a/docs/website/docs/developers/debugging/sanitizers.md b/docs/website/docs/developers/debugging/sanitizers.md index bfe5ddc6b784d..a93d36ceb7527 100644 --- a/docs/website/docs/developers/debugging/sanitizers.md +++ b/docs/website/docs/developers/debugging/sanitizers.md @@ -115,8 +115,8 @@ ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-12/bin/llvm-symbolizer \ `PYTHONPATH` pointing at your build directory: ```shell hl_lines="14-18" - python -m pip uninstall iree-runtime - python -m pip uninstall iree-compiler + python -m pip uninstall iree-base-runtime + python -m pip uninstall iree-base-compiler source iree-build/.env && export PYTHONPATH LD_PRELOAD=/usr/lib/llvm-12/lib/clang/12.0.0/lib/linux/libclang_rt.asan-x86_64.so \ diff --git a/docs/website/docs/developers/performance/profiling-with-tracy.md b/docs/website/docs/developers/performance/profiling-with-tracy.md index ef3c120cbfeb9..77971d2197b93 100644 --- a/docs/website/docs/developers/performance/profiling-with-tracy.md +++ b/docs/website/docs/developers/performance/profiling-with-tracy.md @@ -114,11 +114,11 @@ be built from source by using either the upstream CMake build or IREE's ??? tip - "Tip - Instrumented Python packages" - The `iree-runtime` Python package includes prebuilt instrumented tools. + The `iree-base-runtime` Python package includes prebuilt instrumented tools. Set the `IREE_PY_RUNTIME=tracy` environment variable to use them: ```shell - python -m pip install iree-runtime + python -m pip install iree-base-runtime IREE_PY_RUNTIME=tracy iree-run-module ... ``` diff --git a/docs/website/docs/guides/deployment-configurations/cpu.md b/docs/website/docs/guides/deployment-configurations/cpu.md index edcdc5f8500be..b3c89373278da 100644 --- a/docs/website/docs/guides/deployment-configurations/cpu.md +++ b/docs/website/docs/guides/deployment-configurations/cpu.md @@ -44,7 +44,7 @@ At runtime, CPU executables can be loaded using one of IREE's CPU HAL drivers: Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-compiler` package includes the LLVM-based CPU compiler: +The core `iree-base-compiler` package includes the LLVM-based CPU compiler: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md" @@ -82,7 +82,7 @@ drivers: Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-runtime` package includes the local CPU HAL drivers: +The core `iree-base-runtime` package includes the local CPU HAL drivers: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md" diff --git a/docs/website/docs/guides/deployment-configurations/gpu-cuda.md b/docs/website/docs/guides/deployment-configurations/gpu-cuda.md index c010c376cba89..1ff00a366ce63 100644 --- a/docs/website/docs/guides/deployment-configurations/gpu-cuda.md +++ b/docs/website/docs/guides/deployment-configurations/gpu-cuda.md @@ -31,7 +31,7 @@ If `nvidia-smi` does not exist, you will need to Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-compiler` package includes the CUDA compiler: +The core `iree-base-compiler` package includes the CUDA compiler: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md" @@ -69,7 +69,7 @@ $ iree-run-module --list_devices Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-runtime` package includes the CUDA HAL driver: +The core `iree-base-runtime` package includes the CUDA HAL driver: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md" diff --git a/docs/website/docs/guides/deployment-configurations/gpu-rocm.md b/docs/website/docs/guides/deployment-configurations/gpu-rocm.md index 272a22fb7e1cc..0773e3ffd7d35 100644 --- a/docs/website/docs/guides/deployment-configurations/gpu-rocm.md +++ b/docs/website/docs/guides/deployment-configurations/gpu-rocm.md @@ -33,7 +33,7 @@ or [Linux](https://rocm.docs.amd.com/en/latest/deploy/linux/quick_start.html). Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-compiler` package includes the ROCm compiler: +The core `iree-base-compiler` package includes the ROCm compiler: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md" @@ -71,7 +71,7 @@ $ iree-run-module --list_devices Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-runtime` package includes the HIP HAL driver: +The core `iree-base-runtime` package includes the HIP HAL driver: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md" diff --git a/docs/website/docs/guides/deployment-configurations/gpu-vulkan.md b/docs/website/docs/guides/deployment-configurations/gpu-vulkan.md index 39754ddc7f241..83e4b304a43d0 100644 --- a/docs/website/docs/guides/deployment-configurations/gpu-vulkan.md +++ b/docs/website/docs/guides/deployment-configurations/gpu-vulkan.md @@ -81,7 +81,7 @@ the model must be compiled into. Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-compiler` package includes the SPIR-V compiler: +The core `iree-base-compiler` package includes the SPIR-V compiler: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md" @@ -125,7 +125,7 @@ $ iree-run-module --list_devices Python packages are regularly published to [PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the [Python Bindings](../../reference/bindings/python.md) page for more details. -The core `iree-runtime` package includes the Vulkan HAL drivers: +The core `iree-base-runtime` package includes the Vulkan HAL drivers: --8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md" diff --git a/docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md b/docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md index d461d640ef9a0..e81dd411ea710 100644 --- a/docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md +++ b/docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md @@ -4,7 +4,7 @@ [published to PyPI](https://pypi.org/user/google-iree-pypi-deploy/). ``` shell - python -m pip install iree-compiler + python -m pip install iree-base-compiler ``` === ":material-alert: Nightly releases" @@ -15,7 +15,7 @@ ``` shell python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ - --upgrade iree-compiler + --upgrade iree-base-compiler ``` !!! tip diff --git a/docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md b/docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md index d5165ab3a11c3..e93cde864e317 100644 --- a/docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md +++ b/docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md @@ -4,7 +4,7 @@ [published to PyPI](https://pypi.org/user/google-iree-pypi-deploy/). ``` shell - python -m pip install iree-runtime + python -m pip install iree-base-runtime ``` === ":material-alert: Nightly releases" @@ -15,5 +15,5 @@ ``` shell python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ - --upgrade iree-runtime + --upgrade iree-base-runtime ``` diff --git a/docs/website/docs/guides/ml-frameworks/onnx.md b/docs/website/docs/guides/ml-frameworks/onnx.md index d2dda65fe9f7f..918359043e18b 100644 --- a/docs/website/docs/guides/ml-frameworks/onnx.md +++ b/docs/website/docs/guides/ml-frameworks/onnx.md @@ -64,8 +64,8 @@ graph LR ``` shell python -m pip install \ - iree-compiler[onnx] \ - iree-runtime + iree-base-compiler[onnx] \ + iree-base-runtime ``` === ":material-alert: Nightly releases" @@ -77,8 +77,8 @@ graph LR python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ --upgrade \ - iree-compiler[onnx] \ - iree-runtime + iree-base-compiler[onnx] \ + iree-base-runtime ``` ## :octicons-rocket-16: Quickstart diff --git a/docs/website/docs/guides/ml-frameworks/tensorflow.md b/docs/website/docs/guides/ml-frameworks/tensorflow.md index 75520c517c657..e064ff954db8e 100644 --- a/docs/website/docs/guides/ml-frameworks/tensorflow.md +++ b/docs/website/docs/guides/ml-frameworks/tensorflow.md @@ -66,8 +66,8 @@ graph LR ``` shell python -m pip install \ - iree-compiler \ - iree-runtime \ + iree-base-compiler \ + iree-base-runtime \ iree-tools-tf ``` @@ -80,8 +80,8 @@ graph LR python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ --upgrade \ - iree-compiler \ - iree-runtime \ + iree-base-compiler \ + iree-base-runtime \ iree-tools-tf ``` diff --git a/docs/website/docs/guides/ml-frameworks/tflite.md b/docs/website/docs/guides/ml-frameworks/tflite.md index 1ed72aa77cc25..913809657ad1b 100644 --- a/docs/website/docs/guides/ml-frameworks/tflite.md +++ b/docs/website/docs/guides/ml-frameworks/tflite.md @@ -61,8 +61,8 @@ graph LR ``` shell python -m pip install \ - iree-compiler \ - iree-runtime \ + iree-base-compiler \ + iree-base-runtime \ iree-tools-tflite ``` @@ -75,8 +75,8 @@ graph LR python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ --upgrade \ - iree-compiler \ - iree-runtime \ + iree-base-compiler \ + iree-base-runtime \ iree-tools-tflite ``` diff --git a/docs/website/docs/reference/bindings/python.md b/docs/website/docs/reference/bindings/python.md index 4aa189dd2a621..f024c423388a8 100644 --- a/docs/website/docs/reference/bindings/python.md +++ b/docs/website/docs/reference/bindings/python.md @@ -15,15 +15,24 @@ components: | PIP package name | Description | |------------------------------|-----------------------------------------------------------------------------| -| `iree-compiler` | IREE's generic compiler tools and helpers | -| `iree-runtime` | IREE's runtime, including CPU and GPU backends | -| `iree-tools-tf` | Tools for importing from [TensorFlow](https://www.tensorflow.org/) | -| `iree-tools-tflite` | Tools for importing from [TensorFlow Lite](https://www.tensorflow.org/lite) | -| `iree-jax` | Tools for importing from [JAX](https://github.com/google/jax) | +| `iree-base-compiler` | IREE's generic compiler tools and helpers | +| `iree-base-runtime` | IREE's runtime, including CPU and GPU backends | +| `iree-tools-tf` | Tools for importing from [TensorFlow](https://www.tensorflow.org/) | +| `iree-tools-tflite` | Tools for importing from [TensorFlow Lite](https://www.tensorflow.org/lite) | +| `iree-jax` | Tools for importing from [JAX](https://github.com/google/jax) | Collectively, these packages allow for importing from frontends, compiling towards various targets, and executing compiled code on IREE's backends. +???+ Note "Note - `iree-compiler` and `iree-runtime` are deprecated" + The Python packages `iree-compiler` and `iree-runtime` have been + renamed to `iree-base-compiler` and `iree-base-runtime` + respectively, thus effectively deprecating the old packages. + This name change only affects the names of the packages but not + the modules. To make sure the new packages are used, run + `pip uninstall iree-compiler iree-runtime` before installing the + new packages. + ## :octicons-download-16: Prerequisites To use IREE's Python bindings, you will first need to install @@ -70,8 +79,8 @@ To use IREE's Python bindings, you will first need to install ``` shell python -m pip install \ - iree-compiler \ - iree-runtime + iree-base-compiler \ + iree-base-runtime ``` === ":material-alert: Nightly releases" @@ -83,8 +92,8 @@ To use IREE's Python bindings, you will first need to install python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ --upgrade \ - iree-compiler \ - iree-runtime + iree-base-compiler \ + iree-base-runtime ``` ### :material-hammer-wrench: Building from source @@ -164,7 +173,7 @@ like `iree-compile` and `iree-run-module`. After installing a package from pip, these should be added to your path automatically: ```console -$ python -m pip install iree-runtime +$ python -m pip install iree-base-runtime $ which iree-run-module /projects/.venv/Scripts/iree-run-module @@ -172,7 +181,7 @@ $ which iree-run-module ## :material-chart-line: Profiling -The tools in the `iree-runtime` package support variants: +The tools in the `iree-base-runtime` package support variants: | Variant name | Description | | ------------ | ----------- | diff --git a/experimental/web/generate_web_metrics.sh b/experimental/web/generate_web_metrics.sh index 8553a79c34708..57adefb6f0f11 100644 --- a/experimental/web/generate_web_metrics.sh +++ b/experimental/web/generate_web_metrics.sh @@ -67,7 +67,7 @@ trap "deactivate 2> /dev/null" EXIT python -m pip install --upgrade \ --find-links https://iree.dev/pip-release-links.html \ - iree-compiler iree-tools-tflite + iree-base-compiler iree-tools-tflite ############################################################################### # Download program source files # diff --git a/experimental/web/sample_dynamic/build_sample.sh b/experimental/web/sample_dynamic/build_sample.sh index a6e14d69f7e2e..d5c791bd5bcb9 100755 --- a/experimental/web/sample_dynamic/build_sample.sh +++ b/experimental/web/sample_dynamic/build_sample.sh @@ -14,7 +14,7 @@ # Sample usage: # python -m venv .venv # source .venv/bin/activate -# python -m pip install iree-compiler iree-runtime +# python -m pip install iree-base-compiler iree-base-runtime # build_sample.sh .venv/bin && serve_sample.sh # # The build directory for the emscripten build is taken from the environment diff --git a/experimental/web/sample_static/build_sample.sh b/experimental/web/sample_static/build_sample.sh index bad0c7b143d10..0901a27836c00 100755 --- a/experimental/web/sample_static/build_sample.sh +++ b/experimental/web/sample_static/build_sample.sh @@ -14,7 +14,7 @@ # Sample usage: # python -m venv .venv # source .venv/bin/activate -# python -m pip install iree-compiler iree-runtime +# python -m pip install iree-base-compiler iree-base-runtime # build_sample.sh .venv/bin && serve_sample.sh # # The build directory for the emscripten build is taken from the environment diff --git a/experimental/web/sample_webgpu/build_sample.sh b/experimental/web/sample_webgpu/build_sample.sh index cae864425b559..2f8586d07be66 100755 --- a/experimental/web/sample_webgpu/build_sample.sh +++ b/experimental/web/sample_webgpu/build_sample.sh @@ -14,7 +14,7 @@ # Sample usage: # python -m venv .venv # source .venv/bin/activate -# python -m pip install iree-compiler iree-runtime +# python -m pip install iree-base-compiler iree-base-runtime # build_sample.sh .venv/bin && serve_sample.sh # # The build directory for the emscripten build is taken from the environment diff --git a/experimental/web/testing/build_tests.sh b/experimental/web/testing/build_tests.sh index 28ec69d27c32e..d40a95766fa8f 100755 --- a/experimental/web/testing/build_tests.sh +++ b/experimental/web/testing/build_tests.sh @@ -14,7 +14,7 @@ # Sample usage: # python -m venv .venv # source .venv/bin/activate -# python -m pip install iree-compiler iree-runtime +# python -m pip install iree-base-compiler iree-base-runtime # build_tests.sh .venv/bin && serve_tests.sh set -e diff --git a/samples/custom_module/basic/README.md b/samples/custom_module/basic/README.md index fc414318094f0..37efedfabe1d4 100644 --- a/samples/custom_module/basic/README.md +++ b/samples/custom_module/basic/README.md @@ -30,10 +30,10 @@ are implemented using this mechanism. ## Instructions -1. Build or install the `iree-compile` binary: +1. Build or install the `iree-base-compiler` binary: ``` - python -m pip install iree-compiler + python -m pip install iree-base-compiler ``` [See here](https://iree.dev/reference/bindings/python/) diff --git a/samples/custom_module/dynamic/README.md b/samples/custom_module/dynamic/README.md index 8f7a807dcd40f..27664f1320496 100644 --- a/samples/custom_module/dynamic/README.md +++ b/samples/custom_module/dynamic/README.md @@ -25,10 +25,10 @@ dynamic modules should be carefully considered. ## Instructions -1. Build or install the `iree-compile` binary: +1. Build or install the `iree-base-compiler` binary: ``` - python -m pip install iree-compiler + python -m pip install iree-base-compiler ``` [See here](https://iree.dev/reference/bindings/python/) diff --git a/samples/custom_module/static/README.md b/samples/custom_module/static/README.md index 0f7c26f393e8f..ef8961d3f864e 100644 --- a/samples/custom_module/static/README.md +++ b/samples/custom_module/static/README.md @@ -30,10 +30,10 @@ the same module code between all various modes with minor differences. ## Instructions -1. Build or install the `iree-compile` binary: +1. Build or install the `iree-base-compiler` binary: ``` - python -m pip install iree-compiler + python -m pip install iree-base-compiler ``` [See here](https://iree.dev/reference/bindings/python/) diff --git a/samples/dynamic_shapes/README.md b/samples/dynamic_shapes/README.md index 48ae7a4fbf8b0..d3d66eee2b35c 100644 --- a/samples/dynamic_shapes/README.md +++ b/samples/dynamic_shapes/README.md @@ -98,7 +98,7 @@ them. [installing from pip](https://iree.dev/reference/bindings/python/#installing-iree-packages). ``` - python -m pip install iree-compiler + python -m pip install iree-base-compiler ``` 3. Compile the `dynamic_shapes.mlir` file using `iree-compile`. The diff --git a/samples/dynamic_shapes/test.sh b/samples/dynamic_shapes/test.sh index 0f05e08395b80..f89162626659b 100755 --- a/samples/dynamic_shapes/test.sh +++ b/samples/dynamic_shapes/test.sh @@ -33,7 +33,7 @@ trap "deactivate 2> /dev/null" EXIT python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ --upgrade \ - iree-compiler + iree-base-compiler # 3. Compile `dynamic_shapes.mlir` using `iree-compile`. iree-compile \