Update docs, experimental and samples (#19065)
Updates the documentation, scripts in `experimental` and the samples to
reflect the renaming of the Python packages.
diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml
index 61f65b5..9e6a446 100644
--- a/.github/workflows/build_package.yml
+++ b/.github/workflows/build_package.yml
@@ -26,10 +26,10 @@
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 @@
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 @@
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 ada3aef..05f9288 100644
--- a/.github/workflows/oneshot_candidate_release.yml
+++ b/.github/workflows/oneshot_candidate_release.yml
@@ -27,11 +27,11 @@
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 d294201..a89fe23 100644
--- a/.github/workflows/schedule_candidate_release.yml
+++ b/.github/workflows/schedule_candidate_release.yml
@@ -48,11 +48,11 @@
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 fb1ddc8..188a5ea 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,8 @@
| -- | -- |
GitHub release (stable) | [](https://github.com/iree-org/iree/releases/latest)
GitHub release (nightly) | [](https://github.com/iree-org/iree/releases)
-Python iree-compiler | [](https://badge.fury.io/py/iree-compiler)
-Python iree-runtime | [](https://badge.fury.io/py/iree-runtime)
+Python iree-base-compiler | [](https://badge.fury.io/py/iree-base-compiler)
+Python iree-base-runtime | [](https://badge.fury.io/py/iree-base-runtime)
#### Build status
diff --git a/RELEASING.md b/RELEASING.md
index f9950bb..3a4d98c 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -31,8 +31,8 @@
* `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 @@
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 @@
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 @@
### 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 642cd5e..0e2d8c7 100644
--- a/docs/api_docs/python/requirements.txt
+++ b/docs/api_docs/python/requirements.txt
@@ -12,5 +12,5 @@
# 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 79f0032..bf40d1b 100644
--- a/docs/website/docs/developers/debugging/integration-tests.md
+++ b/docs/website/docs/developers/debugging/integration-tests.md
@@ -74,7 +74,7 @@
# 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 bfe5ddc..a93d36c 100644
--- a/docs/website/docs/developers/debugging/sanitizers.md
+++ b/docs/website/docs/developers/debugging/sanitizers.md
@@ -115,8 +115,8 @@
`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 ef3c120..77971d2 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 @@
??? 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 edcdc5f..b3c8937 100644
--- a/docs/website/docs/guides/deployment-configurations/cpu.md
+++ b/docs/website/docs/guides/deployment-configurations/cpu.md
@@ -44,7 +44,7 @@
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 @@
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 c010c37..1ff00a3 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 @@
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 @@
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 272a22f..0773e3f 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 @@
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 @@
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 39754dd..83e4b30 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 @@
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 @@
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 d461d64..e81dd41 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 d5165ab..e93cde8 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 d2dda65..9183590 100644
--- a/docs/website/docs/guides/ml-frameworks/onnx.md
+++ b/docs/website/docs/guides/ml-frameworks/onnx.md
@@ -64,8 +64,8 @@
``` 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 @@
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 75520c5..e064ff9 100644
--- a/docs/website/docs/guides/ml-frameworks/tensorflow.md
+++ b/docs/website/docs/guides/ml-frameworks/tensorflow.md
@@ -66,8 +66,8 @@
``` shell
python -m pip install \
- iree-compiler \
- iree-runtime \
+ iree-base-compiler \
+ iree-base-runtime \
iree-tools-tf
```
@@ -80,8 +80,8 @@
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 1ed72aa..9138096 100644
--- a/docs/website/docs/guides/ml-frameworks/tflite.md
+++ b/docs/website/docs/guides/ml-frameworks/tflite.md
@@ -61,8 +61,8 @@
``` shell
python -m pip install \
- iree-compiler \
- iree-runtime \
+ iree-base-compiler \
+ iree-base-runtime \
iree-tools-tflite
```
@@ -75,8 +75,8 @@
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 4aa189d..f024c42 100644
--- a/docs/website/docs/reference/bindings/python.md
+++ b/docs/website/docs/reference/bindings/python.md
@@ -15,15 +15,24 @@
| 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 @@
``` shell
python -m pip install \
- iree-compiler \
- iree-runtime
+ iree-base-compiler \
+ iree-base-runtime
```
=== ":material-alert: Nightly releases"
@@ -83,8 +92,8 @@
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 @@
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 @@
## :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 8553a79..57adefb 100644
--- a/experimental/web/generate_web_metrics.sh
+++ b/experimental/web/generate_web_metrics.sh
@@ -67,7 +67,7 @@
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 a6e14d6..d5c791b 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 bad0c7b..0901a27 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 cae8644..2f8586d 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 28ec69d..d40a957 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 fc41431..37efedf 100644
--- a/samples/custom_module/basic/README.md
+++ b/samples/custom_module/basic/README.md
@@ -30,10 +30,10 @@
## 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 8f7a807..27664f1 100644
--- a/samples/custom_module/dynamic/README.md
+++ b/samples/custom_module/dynamic/README.md
@@ -25,10 +25,10 @@
## 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 0f7c26f..ef8961d 100644
--- a/samples/custom_module/static/README.md
+++ b/samples/custom_module/static/README.md
@@ -30,10 +30,10 @@
## 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 48ae7a4..d3d66ee 100644
--- a/samples/dynamic_shapes/README.md
+++ b/samples/dynamic_shapes/README.md
@@ -98,7 +98,7 @@
[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 0f05e08..f891626 100755
--- a/samples/dynamic_shapes/test.sh
+++ b/samples/dynamic_shapes/test.sh
@@ -33,7 +33,7 @@
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 \