|
19 | 19 | from dags import composer_env, gcs_bucket
|
20 | 20 | from dags.common import test_owner
|
21 | 21 | from dags.common.vm_resource import TpuVersion, Zone, Project, DockerImage, XpkClusters
|
22 |
| -from dags.multipod.configs import legacy_unit_test, gke_config |
| 22 | +from dags.multipod.configs import gke_config |
23 | 23 | from dags.multipod.configs.common import SetupMode, Platform
|
24 | 24 |
|
25 | 25 | # Run once a day at 9 am UTC (1 am PST)
|
|
62 | 62 | concurrency=2,
|
63 | 63 | ) as dag:
|
64 | 64 | for test_mode in [SetupMode.STABLE, SetupMode.NIGHTLY]:
|
65 |
| - # Tests that require scripts from the `jax/unit_tests` folder should follow |
66 |
| - # this pattern. |
67 |
| - # TODO(jonbolin): Example for legacy unit test migration - evaluate whether |
68 |
| - # to remove gpt1-like tests once test migration is complete. |
69 |
| - |
70 |
| - for n_slice in [1, 2]: |
71 |
| - legacy_unit_test.get_legacy_unit_test_config( |
72 |
| - script_to_copy="gpt1-like.py", |
73 |
| - test_cmd=("python3 gpt1-like.py",), |
74 |
| - time_out_in_min=60, |
75 |
| - test_name=f"gpt1-like-{test_mode.value}", |
76 |
| - docker_image=DOCKER_IMAGE[test_mode].value, |
77 |
| - test_owner=test_owner.JON_B, |
78 |
| - num_slices=n_slice, |
79 |
| - cluster=XpkClusters.TPU_V4_16_CLUSTER, |
80 |
| - ).run() |
81 |
| - |
82 | 65 | # Tests that run MaxText end_to_end tests should follow this pattern.
|
83 | 66 | gke_config.get_gke_config(
|
84 | 67 | time_out_in_min=60,
|
|
0 commit comments