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() {
32
32
pip_install " $( echo dist/* .whl) "
33
33
34
34
# 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
36
36
export TORCHAUDIO_VERSION
37
- TORCHVISION_VERSION=$( cat .github/ci_commit_pins/vision.txt )
37
+ TORCHVISION_VERSION=release/0.23
38
38
export TORCHVISION_VERSION
39
39
40
40
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 "$@")
16
16
# have already been installed, so we use PyTorch build from source here instead
17
17
# of nightly. This allows CI to test against latest commits from PyTorch
18
18
if [[ " ${EDITABLE:- false} " == " true" ]]; then
19
- install_executorch --use-pt-pinned-commit -- editable
19
+ install_executorch --editable
20
20
else
21
- install_executorch --use-pt-pinned-commit
21
+ install_executorch
22
22
fi
23
23
build_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
12
12
# Rename pip-out directory, to avoid using shared libraries in pip-out during
13
13
# smoke test.
14
14
mv 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
15
15
# able to see the installed torch package.
16
16
17
17
" ${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):
139
139
"install" ,
140
140
"-r" ,
141
141
"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 ,
159
142
"--extra-index-url" ,
160
143
TORCH_URL ,
161
144
],
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ dependencies=[
67
67
" pyyaml" ,
68
68
" ruamel.yaml" ,
69
69
" sympy" ,
70
+ " torch>=2.8.0,<2.9.0" ,
70
71
" torchao==0.12.0" ,
71
72
" tabulate" ,
72
73
# 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
5
5
torchsr == 1.0.4
6
6
torchtune >= 0.6.1
7
7
transformers ==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