Repository navigation
Commit ab27368
authored
CUDA tests: Skip running the program in test_same_tensor_returned_twice in fbcode (#25354)
Summary: In fbcode, `test_same_tensor_returned_twice` now stops after
exporting and lowering the model and does not run the program. It still
runs end to end in OSS. The check is `is_fbcode()` from
`executorch.export.utils`, imported right before it.
Reviewed By: shoumikhin
Differential Revision: D1294855471 parent 21c7c99 commit ab27368
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | | - | |
1284 | 1283 | | |
1285 | 1284 | | |
1286 | 1285 | | |
| |||
1289 | 1288 | | |
1290 | 1289 | | |
1291 | 1290 | | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1292 | 1298 | | |
1293 | 1299 | | |
1294 | 1300 | | |
| |||
0 commit comments