Skip to content

Commit

Permalink
adapt to new iree release scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri committed Nov 9, 2024
1 parent 14fa177 commit 9da758c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_e2eshark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
pip install -r ./alt_e2eshark/base_requirements.txt
pip install -r ./alt_e2eshark/iree_requirements.txt
pip install --no-deps -r ./alt_e2eshark/torch_mlir_requirements.txt
pip install --find-links https://iree.dev/pip-release-links.html iree-compiler iree-runtime --upgrade
pip install --upgrade iree-base-compiler iree-base-runtime -f https://iree.dev/pip-release-links.html
working-directory: ./test-suite

- name: "Setup IREE EP python venv"
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
pip install -r ./test-suite/alt_e2eshark/base_requirements.txt
pip install -r ./test-suite/alt_e2eshark/iree_requirements.txt
pip install --no-deps -r ./test-suite/alt_e2eshark/torch_mlir_requirements.txt
pip install --find-links https://iree.dev/pip-release-links.html iree-compiler iree-runtime --upgrade
pip install --upgrade iree-base-compiler iree-base-runtime -f https://iree.dev/pip-release-links.html
- uses: actions/download-artifact@master
with:
name: ci_reports_${{ matrix.backend }}_shark-test-suite_onnx_md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_iree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
python3 -m pip install \
--find-links https://iree.dev/pip-release-links.html \
--upgrade \
iree-compiler \
iree-runtime
iree-base-compiler \
iree-base-runtime
- name: "Installing Python test requirements"
run: |
source ${VENV_DIR}/bin/activate
Expand Down
4 changes: 2 additions & 2 deletions alt_e2eshark/iree_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--pre
-f https://iree.dev/pip-release-links.html
# install nightly build of iree-compiler and iree-runtime
iree-compiler
iree-runtime
iree-base-compiler
iree-base-runtime
4 changes: 2 additions & 2 deletions e2eshark/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ azure-storage-blob
-f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
torch-mlir ; sys_platform == "linux"
# install nightly build of iree-compiler and iree-runtime
iree-compiler -f https://iree.dev/pip-release-links.html
iree-runtime -f https://iree.dev/pip-release-links.html
iree-base-compiler -f https://iree.dev/pip-release-links.html
iree-base-runtime -f https://iree.dev/pip-release-links.html
4 changes: 2 additions & 2 deletions iree_special_models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To use `iree-compile` and `iree-run-module` from Python packages:

```bash
$ python -m pip install --find-links https://iree.dev/pip-release-links.html \
iree-compiler iree-runtime --upgrade
iree-base-compiler iree-base-runtime --upgrade
```

To use local versions of `iree-compile` and `iree-run-module`, put them on your
Expand Down Expand Up @@ -140,7 +140,7 @@ $ pytest iree_special_models/sdxl
$ pip install --no-compile -r <path_to_iree-turbine>/pytorch-cpu-requirements.txt
$ pip install --no-compile --pre --upgrade -r <path_to_iree-turbine>/requirements.txt
$ pip install --no-compile --pre -e <path_to_iree-turbine>[testing]
$ pip install --upgrade --pre --no-cache-dir iree-compiler iree-runtime -f https://iree.dev/ pip-release-links.html
$ pip install --upgrade --pre --no-cache-dir iree-base-compiler iree-base-runtime -f https://iree.dev/ pip-release-links.html
$ pip install --no-compile --pre --upgrade -e <path_to_shark-turbine>/models -r <path_to_shark-turbine>/models/requirements.txt
```

Expand Down
2 changes: 1 addition & 1 deletion iree_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ To use `iree-compile` and `iree-run-module` from Python packages:

```bash
$ python -m pip install --find-links https://iree.dev/pip-release-links.html \
iree-compiler iree-runtime --upgrade
iree-base-compiler iree-base-runtime --upgrade
```

To use local versions of `iree-compile` and `iree-run-module`, put them on your
Expand Down

0 comments on commit 9da758c

Please sign in to comment.