Commit 0721867
authored
[CI] Restore MacOS test sanity (#9120)
DeformConv is only implemented for forward on MPS right now, so skip
backward checks
Logic for modifying markers in place are stolen from
`torch.testing._internal.optests`, namely from https://github.com/pytorch/pytorch/blob/310e8361c565ca1602e719e4c812dc3931ec84d7/torch/testing/_internal/optests/generate_tests.py#L2691 parent 89f5855 commit 0721867
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1204 | 1219 | | |
1205 | 1220 | | |
1206 | 1221 | | |
1207 | 1222 | | |
1208 | | - | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
1209 | 1228 | | |
1210 | 1229 | | |
1211 | 1230 | | |
| |||
0 commit comments