Skip to content

Commit e91806e

Browse files
committed
Try 6
1 parent c78e034 commit e91806e

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

.ci/docker/common/install_pytorch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ install_pytorch_and_domains() {
3232
pip_install "$(echo dist/*.whl)"
3333

3434
# Grab the pinned audio and vision commits from PyTorch
35-
TORCHAUDIO_VERSION=$(cat .github/ci_commit_pins/audio.txt)
35+
TORCHAUDIO_VERSION=release/2.8
3636
export TORCHAUDIO_VERSION
37-
TORCHVISION_VERSION=$(cat .github/ci_commit_pins/vision.txt)
37+
TORCHVISION_VERSION=release/0.23
3838
export TORCHVISION_VERSION
3939

4040
install_domains

install_requirements.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ def install_requirements(use_pytorch_nightly):
7878
# that we don't need to set any version number there because they have already
7979
# been installed on CI before this step, so pip won't reinstall them
8080
"torch==2.8.0" if use_pytorch_nightly else "torch",
81-
(
82-
"torchvision==0.23.0" if use_pytorch_nightly else "torchvision"
83-
), # For testing.
84-
"torchaudio==2.8.0" if use_pytorch_nightly else "torchaudio",
8581
]
8682

8783
# Install the requirements for core ExecuTorch package.
@@ -147,25 +143,6 @@ def install_optional_example_requirements(use_pytorch_nightly):
147143
check=True,
148144
)
149145

150-
print("Installing torch domain libraries")
151-
DOMAIN_LIBRARIES = [
152-
("torchvision==0.23.0" if use_pytorch_nightly else "torchvision"),
153-
"torchaudio==2.8.0" if use_pytorch_nightly else "torchaudio",
154-
]
155-
# Then install domain libraries
156-
subprocess.run(
157-
[
158-
sys.executable,
159-
"-m",
160-
"pip",
161-
"install",
162-
*DOMAIN_LIBRARIES,
163-
"--extra-index-url",
164-
TORCH_URL,
165-
],
166-
check=True,
167-
)
168-
169146

170147
# Prebuilt binaries for Intel-based macOS are no longer available on PyPI; users must compile from source.
171148
# PyTorch stopped building macOS x86_64 binaries since version 2.3.0 (January 2024).

0 commit comments

Comments
 (0)