Commit 5c716ab
authored
Make torchaudio validation optional. Remove use-cloudflare-cdn and use-version-set options. (#7983)
## Summary
- Remove `use-cloudflare-cdn` option from validate-binaries workflows
and scripts (no longer needed)
- Remove `use-version-set` option from validate-binaries workflows and
scripts (no longer needed)
- Change default binary validation to install and test **torch +
torchvision** only (using `--package torch_torchvision` smoke test flag)
- Add new `include-torchaudio` boolean option to validate torchaudio
when explicitly needed
## Details
The `use-cloudflare-cdn` and `use-version-set` options are removed from
all validation workflow files and the `validate_binaries.sh` script as
they are no longer used.
Torchaudio is removed from default validation since `smoke_test.py`
already supports `--package torch_torchvision` for testing only torch
and torchvision. The new `include-torchaudio` option (default: false)
can be set to include torchaudio when needed — this adds torchaudio to
the install command and runs the full smoke test without a package
filter.
## Test plan
- [ ] Verify nightly validation workflow runs successfully with default
(torch + torchvision only)
- [ ] Verify `include-torchaudio: true` correctly installs and tests
torchaudio
- [ ] Verify `torchonly: true` still works as expected
- [ ] Verify manual `workflow_dispatch` shows new `include-torchaudio`
option1 parent 3009116 commit 5c716ab
File tree
16 files changed
+261
-325
lines changed- .github
- scripts
- workflows
- tools
- scripts
- tests/assets
16 files changed
+261
-325
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 82 | | |
88 | 83 | | |
89 | 84 | | |
| |||
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
96 | | - | |
| 91 | + | |
97 | 92 | | |
| 93 | + | |
| 94 | + | |
98 | 95 | | |
99 | 96 | | |
100 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
| 28 | + | |
25 | 29 | | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
| |||
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 91 | | |
102 | 92 | | |
103 | 93 | | |
| |||
148 | 138 | | |
149 | 139 | | |
150 | 140 | | |
| 141 | + | |
151 | 142 | | |
152 | | - | |
153 | 143 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 144 | | |
160 | 145 | | |
161 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| |||
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 98 | | |
104 | 99 | | |
105 | 100 | | |
| |||
126 | 121 | | |
127 | 122 | | |
128 | 123 | | |
| 124 | + | |
129 | 125 | | |
130 | 126 | | |
131 | | - | |
132 | 127 | | |
133 | 128 | | |
134 | 129 | | |
| |||
141 | 136 | | |
142 | 137 | | |
143 | 138 | | |
| 139 | + | |
144 | 140 | | |
145 | 141 | | |
146 | | - | |
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
| |||
155 | 150 | | |
156 | 151 | | |
157 | 152 | | |
| 153 | + | |
158 | 154 | | |
159 | 155 | | |
160 | | - | |
161 | 156 | | |
162 | 157 | | |
163 | 158 | | |
| |||
169 | 164 | | |
170 | 165 | | |
171 | 166 | | |
| 167 | + | |
172 | 168 | | |
173 | 169 | | |
174 | | - | |
175 | 170 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
| |||
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| |||
83 | 78 | | |
84 | 79 | | |
85 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
| |||
103 | 98 | | |
104 | 99 | | |
105 | 100 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 101 | | |
112 | 102 | | |
113 | 103 | | |
| |||
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
| 133 | + | |
143 | 134 | | |
144 | 135 | | |
145 | | - | |
146 | 136 | | |
147 | 137 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 138 | | |
154 | 139 | | |
155 | 140 | | |
| |||
0 commit comments