Commit 4492860
Tag PjRt migration candidates explicitly. (BUILD changes)
This change adds a new tag "pjrt_migration_candidate" to all test targets that
depend on HloTestBase, ClientLibraryTestBase, and HloRunnerTpuSystem.
This change also adds a new `use_legacy_runtime` kwarg to `xla_test`, which acts
as a replacement for "test_migrated_to_hlo_runner_pjrt". During a brief
transition phase, we will leave all "test_migrated_to_hlo_runner_pjrt" tags in
place so that we can identify any tests that have the `use_legacy_runtime` set
to an incorrect value.
"pjrt_migration_candidate" and "test_migrated_to_hlo_runner_pjrt" are mutually
exclusive.
"pjrt_migration_candidate" should not appear on any tests using the new runtime.
Unlike "test_migrated_to_hlo_runner_pjrt", which primarily tags `xla_test`
targets, "pjrt_migration_candidate" intends to tag all outstanding migration
candidates to obtain an accurate picture of migration progress. If a test cannot
or should not be migrated, it can be excluded from any analysis just by removing
the tag.
PiperOrigin-RevId: 8532909791 parent b74b7d0 commit 4492860
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
| 331 | + | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
| |||
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| 455 | + | |
453 | 456 | | |
454 | 457 | | |
455 | 458 | | |
| |||
649 | 652 | | |
650 | 653 | | |
651 | 654 | | |
| 655 | + | |
| 656 | + | |
652 | 657 | | |
653 | 658 | | |
654 | 659 | | |
| |||
779 | 784 | | |
780 | 785 | | |
781 | 786 | | |
| 787 | + | |
| 788 | + | |
782 | 789 | | |
783 | 790 | | |
784 | 791 | | |
| |||
1003 | 1010 | | |
1004 | 1011 | | |
1005 | 1012 | | |
| 1013 | + | |
| 1014 | + | |
1006 | 1015 | | |
1007 | 1016 | | |
1008 | 1017 | | |
| |||
1073 | 1082 | | |
1074 | 1083 | | |
1075 | 1084 | | |
| 1085 | + | |
| 1086 | + | |
1076 | 1087 | | |
1077 | 1088 | | |
1078 | 1089 | | |
| |||
1380 | 1391 | | |
1381 | 1392 | | |
1382 | 1393 | | |
| 1394 | + | |
| 1395 | + | |
1383 | 1396 | | |
1384 | 1397 | | |
1385 | 1398 | | |
| |||
1422 | 1435 | | |
1423 | 1436 | | |
1424 | 1437 | | |
| 1438 | + | |
| 1439 | + | |
1425 | 1440 | | |
1426 | 1441 | | |
1427 | 1442 | | |
| |||
1593 | 1608 | | |
1594 | 1609 | | |
1595 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
1596 | 1613 | | |
1597 | 1614 | | |
1598 | 1615 | | |
| |||
1625 | 1642 | | |
1626 | 1643 | | |
1627 | 1644 | | |
| 1645 | + | |
| 1646 | + | |
1628 | 1647 | | |
1629 | 1648 | | |
1630 | 1649 | | |
| |||
1654 | 1673 | | |
1655 | 1674 | | |
1656 | 1675 | | |
| 1676 | + | |
| 1677 | + | |
1657 | 1678 | | |
1658 | 1679 | | |
1659 | 1680 | | |
| |||
1755 | 1776 | | |
1756 | 1777 | | |
1757 | 1778 | | |
| 1779 | + | |
1758 | 1780 | | |
1759 | 1781 | | |
1760 | 1782 | | |
| |||
2858 | 2880 | | |
2859 | 2881 | | |
2860 | 2882 | | |
| 2883 | + | |
| 2884 | + | |
2861 | 2885 | | |
2862 | 2886 | | |
2863 | 2887 | | |
| |||
2900 | 2924 | | |
2901 | 2925 | | |
2902 | 2926 | | |
| 2927 | + | |
2903 | 2928 | | |
2904 | 2929 | | |
2905 | 2930 | | |
| |||
3473 | 3498 | | |
3474 | 3499 | | |
3475 | 3500 | | |
| 3501 | + | |
3476 | 3502 | | |
3477 | 3503 | | |
3478 | 3504 | | |
| |||
0 commit comments