Commit d5ba603
authored
Restore VGF skip guards and preload_deps shape (#19375)
Summary:
Restores two pieces of test plumbing in backends/arm/test/ that were
inadvertently removed from pytorch/executorch on GitHub and are still
required for stable CI:
1. _VGF_ENABLED skip-guards in test_rewrite_conv_pass.py — without
them, three VGF tests crash (rather than skip) on environments where
LAVAPIPE_LIB_PATH is unset.
2. preload_deps shape in targets.bzl — the prior refactor silently
dropped //executorch/kernels/quantized:custom_ops_generated_lib from
every non-VGF arm test whenever runtime.is_oss or not _ENABLE_VGF.
The guards are no-ops on environments that have lavapipe configured, so
this is a strict safety improvement for OSS CI and a divergence fix for
fbsource. This supersedes the long-stuck fix-up diff D100742931 (which
will be abandoned).
Differential Revision: D104267179
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils
@Sebastian-Larsson @robell1 parent bf8abb6 commit d5ba603
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| 221 | + | |
217 | 222 | | |
218 | 223 | | |
219 | 224 | | |
| |||
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| 236 | + | |
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
| |||
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
| 248 | + | |
242 | 249 | | |
243 | 250 | | |
244 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments