Skip to content

Commit b133218

Browse files
authored
Update docs, experimental and samples (#19065)
Updates the documentation, scripts in `experimental` and the samples to reflect the renaming of the Python packages.
1 parent 915b06b commit b133218

File tree

29 files changed

+84
-73
lines changed

29 files changed

+84
-73
lines changed

.github/workflows/build_package.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ on:
2626
description: "Version of the package"
2727
required: true
2828
compiler_package_version:
29-
description: "Version of the iree-compiler package"
29+
description: "Version of the iree-base-compiler package"
3030
required: true
3131
runtime_package_version:
32-
description: "Version of the iree-runtime package"
32+
description: "Version of the iree-base-runtime package"
3333
required: true
3434
release_id:
3535
description: "Release id to upload artifacts to"
@@ -78,7 +78,7 @@ jobs:
7878
EOF
7979
cat ./c/version_local.json
8080
81-
echo "iree-compiler"
81+
echo "iree-base-compiler"
8282
cat << EOF > ./c/compiler/version_local.json
8383
{
8484
"package-suffix": "${{ github.event.inputs.package_suffix }}",
@@ -88,7 +88,7 @@ jobs:
8888
EOF
8989
cat ./c/compiler/version_local.json
9090
91-
echo "iree-runtime"
91+
echo "iree-base-runtime"
9292
cat << EOF > ./c/runtime/version_local.json
9393
{
9494
"package-suffix": "${{ github.event.inputs.package_suffix }}",

.github/workflows/oneshot_candidate_release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
legacy_package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')"
2828
echo "legacy_package_version=${legacy_package_version}" >> $GITHUB_ENV
2929
30-
# iree-compiler version
30+
# iree-base-compiler version
3131
compiler_package_version="$(python3 build_tools/python_deploy/compute_local_version.py compiler -rc)"
3232
echo "compiler_package_version=${compiler_package_version}" >> $GITHUB_ENV
3333
34-
# iree-runtime version
34+
# iree-base-runtime version
3535
runtime_package_version="$(python3 build_tools/python_deploy/compute_local_version.py runtime -rc)"
3636
echo "runtime_package_version=${runtime_package_version}" >> $GITHUB_ENV
3737

.github/workflows/schedule_candidate_release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
legacy_package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')"
4949
echo "legacy_package_version=${legacy_package_version}" >> $GITHUB_ENV
5050
51-
# iree-compiler version
51+
# iree-base-compiler version
5252
compiler_package_version="$(python3 build_tools/python_deploy/compute_local_version.py compiler -rc)"
5353
echo "compiler_package_version=${compiler_package_version}" >> $GITHUB_ENV
5454
55-
# iree-runtime version
55+
# iree-base-runtime version
5656
runtime_package_version="$(python3 build_tools/python_deploy/compute_local_version.py runtime -rc)"
5757
echo "runtime_package_version=${runtime_package_version}" >> $GITHUB_ENV
5858

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ of feedback on any [communication channels](#communication-channels)
2929
| -- | -- |
3030
GitHub release (stable) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree)](https://github.com/iree-org/iree/releases/latest)
3131
GitHub release (nightly) | [![GitHub Release](https://img.shields.io/github/v/release/iree-org/iree?include_prereleases)](https://github.com/iree-org/iree/releases)
32-
Python iree-compiler | [![PyPI version](https://badge.fury.io/py/iree-compiler.svg)](https://badge.fury.io/py/iree-compiler)
33-
Python iree-runtime | [![PyPI version](https://badge.fury.io/py/iree-runtime.svg)](https://badge.fury.io/py/iree-runtime)
32+
Python iree-base-compiler | [![PyPI version](https://badge.fury.io/py/iree-base-compiler.svg)](https://badge.fury.io/py/iree-base-compiler)
33+
Python iree-base-runtime | [![PyPI version](https://badge.fury.io/py/iree-base-runtime.svg)](https://badge.fury.io/py/iree-base-runtime)
3434

3535
#### Build status
3636

RELEASING.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ A number of packages are produced automatically:
3131
* `iree-dist-*.tar.xz` (manylinux x86_64 and aarch64): Install image of the
3232
binaries and development assets needed to use or depend on the C/C++ parts
3333
of the project.
34-
* `iree-compiler`: Binary Python wheels
35-
* `iree-runtime`: Binary Python wheels
34+
* `iree-base-compiler`: Binary Python wheels
35+
* `iree-base-runtime`: Binary Python wheels
3636
* `iree-tools-tf` and `iree-tools-tflite`: Pure Python wheels
3737

3838
#### Linux Builds
@@ -51,8 +51,8 @@ Windows builds are built using GitHub-hosted runners. Due to the cost, the
5151
project aims to target the most recent version of Python only while building
5252
version N-1 for the first year of the lifecycle of the next version.
5353

54-
Only the Python `iree-compiler` and `iree-runtime` packages are built for
55-
Windows.
54+
Only the Python `iree-base-compiler` and `iree-base-runtime` packages are
55+
built for Windows.
5656

5757
The release is published even if the Windows build fails. When this happens, it
5858
is fixed forward for the next snapshot.
@@ -63,8 +63,8 @@ MacOS builds are performed using GitHub-hosted runners. Due to the cost, the
6363
project aims to target the most recent version of Python only while building
6464
version N-1 for the first year of the lifecycle of the next version.
6565

66-
Only the Python `iree-compiler` and `iree-runtime` packages are built for
67-
MacOS.
66+
Only the Python `iree-base-compiler` and `iree-base-runtime` packages are
67+
built for MacOS.
6868

6969
The release is published even if the MacOS build fails. When this happens, it
7070
is fixed forward for the next snapshot.
@@ -81,14 +81,16 @@ release process:
8181

8282
### PyPI
8383

84-
* https://pypi.org/project/iree-compiler/
85-
* https://pypi.org/project/iree-runtime/
84+
* https://pypi.org/project/iree-base-compiler/
85+
* https://pypi.org/project/iree-base-runtime/
8686
* https://pypi.org/project/iree-turbine/
8787
* https://pypi.org/project/iree-tools-tf/
8888
* https://pypi.org/project/iree-tools-tflite/
8989

9090
Deprecated projects no longer updated:
9191

92+
* https://pypi.org/project/iree-compiler/ (replaced by iree-base-compiler)
93+
* https://pypi.org/project/iree-runtime/ (replaced by iree-base-runtime)
9294
* https://pypi.org/project/iree-runtime-instrumented/ (functionality is
9395
included in the main iree-runtime package)
9496
* https://pypi.org/project/iree-tools-xla/ (functionality is no longer needed)

docs/api_docs/python/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ sphinxcontrib-qthelp==1.0.3
1212

1313
# IREE Python API
1414
-f https://iree.dev/pip-release-links.html
15-
iree-compiler
16-
iree-runtime
15+
iree-base-compiler
16+
iree-base-runtime

docs/website/docs/developers/debugging/integration-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ All steps here assume starting from the IREE root directory.
7474
# Install packages from nightly releases
7575
# This should work for most cases, as the importers change infrequently
7676
python -m pip install \
77-
iree-compiler iree-runtime iree-tools-tf iree-tools-tflite \
77+
iree-base-compiler iree-base-runtime iree-tools-tf iree-tools-tflite \
7878
--find-links https://iree.dev/pip-release-links.html
7979
```
8080

docs/website/docs/developers/debugging/sanitizers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-12/bin/llvm-symbolizer \
115115
`PYTHONPATH` pointing at your build directory:
116116

117117
```shell hl_lines="14-18"
118-
python -m pip uninstall iree-runtime
119-
python -m pip uninstall iree-compiler
118+
python -m pip uninstall iree-base-runtime
119+
python -m pip uninstall iree-base-compiler
120120
source iree-build/.env && export PYTHONPATH
121121

122122
LD_PRELOAD=/usr/lib/llvm-12/lib/clang/12.0.0/lib/linux/libclang_rt.asan-x86_64.so \

docs/website/docs/developers/performance/profiling-with-tracy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ be built from source by using either the upstream CMake build or IREE's
114114

115115
??? tip - "Tip - Instrumented Python packages"
116116

117-
The `iree-runtime` Python package includes prebuilt instrumented tools.
117+
The `iree-base-runtime` Python package includes prebuilt instrumented tools.
118118
Set the `IREE_PY_RUNTIME=tracy` environment variable to use them:
119119

120120
```shell
121-
python -m pip install iree-runtime
121+
python -m pip install iree-base-runtime
122122
IREE_PY_RUNTIME=tracy iree-run-module ...
123123
```
124124

docs/website/docs/guides/deployment-configurations/cpu.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ At runtime, CPU executables can be loaded using one of IREE's CPU HAL drivers:
4444
Python packages are regularly published to
4545
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
4646
[Python Bindings](../../reference/bindings/python.md) page for more details.
47-
The core `iree-compiler` package includes the LLVM-based CPU compiler:
47+
The core `iree-base-compiler` package includes the LLVM-based CPU compiler:
4848

4949
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md"
5050

@@ -82,7 +82,7 @@ drivers:
8282
Python packages are regularly published to
8383
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
8484
[Python Bindings](../../reference/bindings/python.md) page for more details.
85-
The core `iree-runtime` package includes the local CPU HAL drivers:
85+
The core `iree-base-runtime` package includes the local CPU HAL drivers:
8686

8787
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md"
8888

docs/website/docs/guides/deployment-configurations/gpu-cuda.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If `nvidia-smi` does not exist, you will need to
3131
Python packages are regularly published to
3232
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
3333
[Python Bindings](../../reference/bindings/python.md) page for more details.
34-
The core `iree-compiler` package includes the CUDA compiler:
34+
The core `iree-base-compiler` package includes the CUDA compiler:
3535

3636
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md"
3737

@@ -69,7 +69,7 @@ $ iree-run-module --list_devices
6969
Python packages are regularly published to
7070
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
7171
[Python Bindings](../../reference/bindings/python.md) page for more details.
72-
The core `iree-runtime` package includes the CUDA HAL driver:
72+
The core `iree-base-runtime` package includes the CUDA HAL driver:
7373

7474
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md"
7575

docs/website/docs/guides/deployment-configurations/gpu-rocm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ or [Linux](https://rocm.docs.amd.com/en/latest/deploy/linux/quick_start.html).
3333
Python packages are regularly published to
3434
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
3535
[Python Bindings](../../reference/bindings/python.md) page for more details.
36-
The core `iree-compiler` package includes the ROCm compiler:
36+
The core `iree-base-compiler` package includes the ROCm compiler:
3737

3838
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md"
3939

@@ -71,7 +71,7 @@ $ iree-run-module --list_devices
7171
Python packages are regularly published to
7272
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
7373
[Python Bindings](../../reference/bindings/python.md) page for more details.
74-
The core `iree-runtime` package includes the HIP HAL driver:
74+
The core `iree-base-runtime` package includes the HIP HAL driver:
7575

7676
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md"
7777

docs/website/docs/guides/deployment-configurations/gpu-vulkan.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ the model must be compiled into.
8181
Python packages are regularly published to
8282
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
8383
[Python Bindings](../../reference/bindings/python.md) page for more details.
84-
The core `iree-compiler` package includes the SPIR-V compiler:
84+
The core `iree-base-compiler` package includes the SPIR-V compiler:
8585

8686
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md"
8787

@@ -125,7 +125,7 @@ $ iree-run-module --list_devices
125125
Python packages are regularly published to
126126
[PyPI](https://pypi.org/user/google-iree-pypi-deploy/). See the
127127
[Python Bindings](../../reference/bindings/python.md) page for more details.
128-
The core `iree-runtime` package includes the Vulkan HAL drivers:
128+
The core `iree-base-runtime` package includes the Vulkan HAL drivers:
129129

130130
--8<-- "docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md"
131131

docs/website/docs/guides/deployment-configurations/snippets/_iree-compiler-from-release.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[published to PyPI](https://pypi.org/user/google-iree-pypi-deploy/).
55

66
``` shell
7-
python -m pip install iree-compiler
7+
python -m pip install iree-base-compiler
88
```
99

1010
=== ":material-alert: Nightly releases"
@@ -15,7 +15,7 @@
1515
``` shell
1616
python -m pip install \
1717
--find-links https://iree.dev/pip-release-links.html \
18-
--upgrade iree-compiler
18+
--upgrade iree-base-compiler
1919
```
2020

2121
!!! tip

docs/website/docs/guides/deployment-configurations/snippets/_iree-runtime-from-release.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[published to PyPI](https://pypi.org/user/google-iree-pypi-deploy/).
55

66
``` shell
7-
python -m pip install iree-runtime
7+
python -m pip install iree-base-runtime
88
```
99

1010
=== ":material-alert: Nightly releases"
@@ -15,5 +15,5 @@
1515
``` shell
1616
python -m pip install \
1717
--find-links https://iree.dev/pip-release-links.html \
18-
--upgrade iree-runtime
18+
--upgrade iree-base-runtime
1919
```

docs/website/docs/guides/ml-frameworks/onnx.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ graph LR
6464

6565
``` shell
6666
python -m pip install \
67-
iree-compiler[onnx] \
68-
iree-runtime
67+
iree-base-compiler[onnx] \
68+
iree-base-runtime
6969
```
7070

7171
=== ":material-alert: Nightly releases"
@@ -77,8 +77,8 @@ graph LR
7777
python -m pip install \
7878
--find-links https://iree.dev/pip-release-links.html \
7979
--upgrade \
80-
iree-compiler[onnx] \
81-
iree-runtime
80+
iree-base-compiler[onnx] \
81+
iree-base-runtime
8282
```
8383

8484
## :octicons-rocket-16: Quickstart

docs/website/docs/guides/ml-frameworks/tensorflow.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ graph LR
6666

6767
``` shell
6868
python -m pip install \
69-
iree-compiler \
70-
iree-runtime \
69+
iree-base-compiler \
70+
iree-base-runtime \
7171
iree-tools-tf
7272
```
7373

@@ -80,8 +80,8 @@ graph LR
8080
python -m pip install \
8181
--find-links https://iree.dev/pip-release-links.html \
8282
--upgrade \
83-
iree-compiler \
84-
iree-runtime \
83+
iree-base-compiler \
84+
iree-base-runtime \
8585
iree-tools-tf
8686
```
8787

docs/website/docs/guides/ml-frameworks/tflite.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ graph LR
6161

6262
``` shell
6363
python -m pip install \
64-
iree-compiler \
65-
iree-runtime \
64+
iree-base-compiler \
65+
iree-base-runtime \
6666
iree-tools-tflite
6767
```
6868

@@ -75,8 +75,8 @@ graph LR
7575
python -m pip install \
7676
--find-links https://iree.dev/pip-release-links.html \
7777
--upgrade \
78-
iree-compiler \
79-
iree-runtime \
78+
iree-base-compiler \
79+
iree-base-runtime \
8080
iree-tools-tflite
8181
```
8282

0 commit comments

Comments
 (0)