From 677565bd26d14e4ed897b3f4c419e17012622214 Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Wed, 13 Nov 2024 16:02:07 -0800 Subject: [PATCH] Fix workflows installing nightly IREE packages to use `--pre`. --- .github/workflows/ci-shark-platform.yml | 2 +- .github/workflows/ci-sharktank.yml | 2 +- .github/workflows/ci-tuner.yml | 2 +- .github/workflows/ci_eval.yaml | 2 +- docs/nightly_releases.md | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-shark-platform.yml b/.github/workflows/ci-shark-platform.yml index 445e2e448..06a05e3cf 100644 --- a/.github/workflows/ci-shark-platform.yml +++ b/.github/workflows/ci-shark-platform.yml @@ -67,7 +67,7 @@ jobs: # Try with the latest IREE nightly releases, not what iree-turbine pins. # We could also pin to a known working or stable version. # This should eventually stabilize. Do the best we can for now. - pip install -f https://iree.dev/pip-release-links.html --upgrade \ + pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \ iree-base-compiler \ iree-base-runtime \ "numpy<2.0" diff --git a/.github/workflows/ci-sharktank.yml b/.github/workflows/ci-sharktank.yml index 4c660e6ee..7d6a7b7f1 100644 --- a/.github/workflows/ci-sharktank.yml +++ b/.github/workflows/ci-sharktank.yml @@ -62,7 +62,7 @@ jobs: pip install --no-compile -r requirements.txt -r sharktank/requirements-tests.txt -e sharktank/ # Update to the latest iree packages. - pip install -f https://iree.dev/pip-release-links.html --upgrade \ + pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \ iree-base-compiler iree-base-runtime --src deps \ -e "git+https://github.com/iree-org/iree-turbine.git#egg=iree-turbine" diff --git a/.github/workflows/ci-tuner.yml b/.github/workflows/ci-tuner.yml index cd9a48d5e..dad766d8e 100644 --- a/.github/workflows/ci-tuner.yml +++ b/.github/workflows/ci-tuner.yml @@ -49,7 +49,7 @@ jobs: pip install -r tuner/requirements-tuner.txt python -m pip install \ --find-links https://iree.dev/pip-release-links.html \ - --upgrade \ + --upgrade --pre \ iree-base-compiler iree-base-runtime - name: Run tuner tests diff --git a/.github/workflows/ci_eval.yaml b/.github/workflows/ci_eval.yaml index 7afaeb1fe..105f53ad8 100644 --- a/.github/workflows/ci_eval.yaml +++ b/.github/workflows/ci_eval.yaml @@ -69,7 +69,7 @@ jobs: # Try with the latest IREE nightly releases, not what iree-turbine pins. # We could also pin to a known working or stable version. # This should eventually stabilize. Do the best we can for now. - pip install -f https://iree.dev/pip-release-links.html --upgrade \ + pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \ iree-base-compiler \ iree-base-runtime \ "numpy<2.0" diff --git a/docs/nightly_releases.md b/docs/nightly_releases.md index 706d6e755..ac59e9c75 100644 --- a/docs/nightly_releases.md +++ b/docs/nightly_releases.md @@ -106,14 +106,14 @@ To install the `iree-base-compiler` and `iree-base-runtime` packages from nightly releases: ```bash -python -m pip install -f https://iree.dev/pip-release-links.html --upgrade \ +python -m pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \ iree-base-compiler iree-base-runtime ``` To install all three packages together: ```bash -python -m pip install -f https://iree.dev/pip-release-links.html --upgrade \ +python -m pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \ iree-base-compiler iree-base-runtime --src deps \ -e "git+https://github.com/iree-org/iree-turbine.git#egg=iree-turbine" ```