Skip to content

Commit 7c6784c

Browse files
committed
Remove versions and let them automatically pick
1 parent afb2edb commit 7c6784c

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.ci/scripts/wheel/post_build_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ set -eux
1212
# Rename pip-out directory, to avoid using shared libraries in pip-out during
1313
# smoke test.
1414
mv pip-out BACKUP-pip-out
15+
16+
pip list

.ci/scripts/wheel/pre_build_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ set -euxo pipefail
1515
# able to see the installed torch package.
1616

1717
"${GITHUB_WORKSPACE}/${REPOSITORY}/install_requirements.sh" --example
18+
19+
pip list

install_requirements.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,13 @@ def install_optional_example_requirements(use_pytorch_nightly):
139139
"install",
140140
"-r",
141141
"requirements-examples.txt",
142+
"--extra-index-url",
143+
TORCH_URL,
142144
],
143145
check=True,
144146
)
145147

148+
146149
# Prebuilt binaries for Intel-based macOS are no longer available on PyPI; users must compile from source.
147150
# PyTorch stopped building macOS x86_64 binaries since version 2.3.0 (January 2024).
148151
def is_intel_mac_os():

requirements-examples.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ timm == 1.0.7
55
torchsr == 1.0.4
66
torchtune >= 0.6.1
77
transformers ==4.47.1
8-
torchaudio>=2.8.0,<2.9.0
9-
torchvision>=0.23.0,<0.24.0
8+
torchaudio==2.8.0
9+
torchvision==0.23.0

0 commit comments

Comments
 (0)