File tree Expand file tree Collapse file tree 2 files changed +2
-25
lines changed
Expand file tree Collapse file tree 2 files changed +2
-25
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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).
You can’t perform that action at this time.
0 commit comments