Skip to content

Commit

Permalink
Drop unneeded pip flags and switch torch channel (#792)
Browse files Browse the repository at this point in the history
Drops `--pre` and `--upgrade` where dependencies are pinned to specific
versions. Further switches to unstall torch cpu form the stable release
channel.
  • Loading branch information
marbre authored Jan 9, 2025
1 parent 35ad7d0 commit 64359b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-sglang-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
pip install --no-compile -r requirements.txt -e sharktank/ shortfin/
# Pin to known-working versions.
pip install -f https://iree.dev/pip-release-links.html --pre --upgrade \
pip install -f https://iree.dev/pip-release-links.html

This comment has been minimized.

Copy link
@archana-ramalingam

archana-ramalingam Jan 10, 2025

Collaborator

@marbre Might be missing a \ causing this CI to fail here.

iree-base-compiler==3.1.0rc20241220 \
iree-base-runtime==3.1.0rc20241220 \
"numpy<2.0"
Expand Down
3 changes: 1 addition & 2 deletions pytorch-cpu-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
--pre
--index-url https://download.pytorch.org/whl/test/cpu
--index-url https://download.pytorch.org/whl/cpu/
torch==2.3.0
1 change: 0 additions & 1 deletion requirements-iree-pinned.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Pinned versions of IREE dependencies.

# Keep these versions synced with SHORTFIN_IREE_GIT_TAG in shortfin/CMakeLists.txt
--pre
--find-links https://iree.dev/pip-release-links.html
iree-base-compiler==3.2.0rc20250109
iree-base-runtime==3.2.0rc20250109
Expand Down

0 comments on commit 64359b4

Please sign in to comment.