File tree Expand file tree Collapse file tree 7 files changed +11
-25
lines changed Expand file tree Collapse file tree 7 files changed +11
-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 @@ -16,12 +16,8 @@ read -r BUILD_TOOL BUILD_MODE EDITABLE < <(parse_args "$@")
1616# have already been installed, so we use PyTorch build from source here instead
1717# of nightly. This allows CI to test against latest commits from PyTorch
1818if [[ " ${EDITABLE:- false} " == " true" ]]; then
19- install_executorch --use-pt-pinned-commit -- editable
19+ install_executorch --editable
2020else
21- install_executorch --use-pt-pinned-commit
21+ install_executorch
2222fi
2323build_executorch_runner " ${BUILD_TOOL} " " ${BUILD_MODE} "
24-
25- if [[ " ${GITHUB_BASE_REF:- } " == * main* || " ${GITHUB_BASE_REF:- } " == * gh* ]]; then
26- do_not_use_nightly_on_ci
27- fi
Original file line number Diff line number Diff 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.
1414mv pip-out BACKUP-pip-out
15+
16+ pip list
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -139,23 +139,6 @@ def install_optional_example_requirements(use_pytorch_nightly):
139139 "install" ,
140140 "-r" ,
141141 "requirements-examples.txt" ,
142- ],
143- check = True ,
144- )
145-
146- print ("Installing torch domain libraries" )
147- DOMAIN_LIBRARIES = [
148- ("torchvision==0.23.0" if use_pytorch_nightly else "torchvision" ),
149- "torchaudio==2.8.0" if use_pytorch_nightly else "torchaudio" ,
150- ]
151- # Then install domain libraries
152- subprocess .run (
153- [
154- sys .executable ,
155- "-m" ,
156- "pip" ,
157- "install" ,
158- * DOMAIN_LIBRARIES ,
159142 "--extra-index-url" ,
160143 TORCH_URL ,
161144 ],
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ dependencies=[
6767 " pyyaml" ,
6868 " ruamel.yaml" ,
6969 " sympy" ,
70+ " torch>=2.8.0,<2.9.0" ,
7071 " torchao==0.12.0" ,
7172 " tabulate" ,
7273 # See also third-party/TARGETS for buck's typing-extensions version.
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ timm == 1.0.7
55torchsr == 1.0.4
66torchtune >= 0.6.1
77transformers ==4.47.1
8+ torchaudio==2.8.0
9+ torchvision==0.23.0
You can’t perform that action at this time.
0 commit comments