Skip to content

Commit

Permalink
Update codeowner and common file path (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
RissyRan authored Dec 18, 2024
1 parent 2b23fcd commit f061011
Show file tree
Hide file tree
Showing 81 changed files with 169 additions and 132 deletions.
12 changes: 7 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Default owners for everything in the repo, unless a later match takes precedence.
* @mbzomowski @RissyRan @allenwang28
* @richardsliu @yixinshi @RissyRan @allenwang28

dags/common @richardsliu @yixinshi @RissyRan @allenwang28 @zpcore @ManfeiBai @gobbleturk @shralex @jiangjy1982 @ortibazar @parambole @vipannalla @crankshaw-google @polydier1

dags/solutions_team/configs/tensorflow @chandrasekhard2 @ZhaoyueCheng @richardsliu
dags/solutions_team/solutionsteam_tf* @chandrasekhard2 @ZhaoyueCheng @richardsliu

dags/pytorch_xla @JackCaoG @vanbasten23 @zpcore @ManfeiBai
dags/legacy_test/tests/pytorch @JackCaoG @vanbasten23 @zpcore @ManfeiBai
dags/pytorch_xla @vanbasten23 @zpcore @ManfeiBai
dags/legacy_test/tests/pytorch @vanbasten23 @zpcore @ManfeiBai

dags/multipod @jonb377 @tonyjohnchen @raymondzouu @gobbleturk @shralex @RissyRan @jiangjy1982
dags/multipod @tonyjohnchen @raymondzouu @gobbleturk @shralex @RissyRan @jiangjy1982

dags/mlcompass @ortibazar @sganeshb @brajiang @wlzhg

dags/sparsity_diffusion_devx @RissyRan @parambole @jiangjy1982 @aireenmei @michelle-yooh
dags/sparsity_diffusion_devx/project_bite* @RissyRan @parambole @jiangjy1982 @aireenmei @michelle-yooh @jiya-zhang
dags/sparsity_diffusion_devx/configs/project_bite* @RissyRan @parambole @jiangjy1982 @aireenmei @michelle-yooh @jiya-zhang

dags/inference @yeandy @vipannalla @morgandu @mailvijayasingh @sixiang-google @joezijunzhou @singh-mitali
dags/inference @vipannalla @mailvijayasingh @sixiang-google @joezijunzhou @singh-mitali

dags/map_reproducibility @crankshaw-google @polydier1
Empty file added dags/common/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""Lists all currently broken tests."""

import dataclasses
from dags.test_owner import Team as team
from dags.common.test_owner import Team as team


@dataclasses.dataclass
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions dags/examples/configs/xpk_example_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import datetime
from xlml.apis import gcp_config, metric_config, task, test_config
from xlml.apis.xpk_cluster_config import XpkClusterConfig
from dags import test_owner
from dags.vm_resource import TpuVersion
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion


def get_flax_resnet_xpk_config(
Expand Down
4 changes: 2 additions & 2 deletions dags/examples/maxtext_aqtp_version_sweep_gke_example_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

import datetime
from airflow import models
from dags import test_owner
from dags.vm_resource import TpuVersion, Zone, Project, XpkClusters, DockerImage
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion, Zone, Project, XpkClusters, DockerImage
from dags.multipod.configs import maxtext_sweep_gke_config

# Set concurrency to number of workers otherwise tasks may time out
Expand Down
4 changes: 2 additions & 2 deletions dags/examples/maxtext_sweep_gke_example_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

import datetime
from airflow import models
from dags import test_owner
from dags.vm_resource import TpuVersion, Zone, Project, XpkClusters, DockerImage
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion, Zone, Project, XpkClusters, DockerImage
from dags.multipod.configs import maxtext_sweep_gke_config

# Set concurrency to number of workers otherwise tasks may time out
Expand Down
4 changes: 2 additions & 2 deletions dags/examples/xpk_example_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

import datetime
from airflow import models
from dags.vm_resource import TpuVersion, Project, Zone, XpkClusters, DockerImage
from dags.common.vm_resource import TpuVersion, Project, Zone, XpkClusters, DockerImage
from dags.examples.configs import xpk_example_config as config
from dags import test_owner
from dags.common import test_owner
from xlml.utils import name_format
from airflow.utils.task_group import TaskGroup

Expand Down
5 changes: 3 additions & 2 deletions dags/framework3p/configs/microbenchmarks_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import gcs_bucket, test_owner
from dags import gcs_bucket
import datetime
import dags.vm_resource as resource
import dags.common.vm_resource as resource


def get_microbenchmark_config(
Expand Down
3 changes: 2 additions & 1 deletion dags/framework3p/microbenchmarks_dag.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import datetime
from airflow import models
from dags import composer_env, vm_resource, test_owner
from dags import composer_env
from dags.common import test_owner, vm_resource
from dags.framework3p.configs.microbenchmarks_config import get_microbenchmark_config, get_microbenchmark_xpk_config


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import json
from typing import Dict
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
Expand Down
4 changes: 2 additions & 2 deletions dags/inference/configs/jetstream_pytorch_gce_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import json
from typing import Dict
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import json
from typing import Dict
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
Expand Down
5 changes: 3 additions & 2 deletions dags/inference/configs/trt_llm_inference_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
"""Utilities to construct configs for TensorRT-LLM inference DAG."""

import datetime
from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner, vm_resource
from dags.vm_resource import Project, RuntimeVersion
from dags.common import vm_resource
from dags.common.vm_resource import Project, RuntimeVersion

RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
GCS_SUBFOLDER_PREFIX = test_owner.Team.INFERENCE.value
Expand Down
5 changes: 3 additions & 2 deletions dags/inference/configs/trt_llm_mlperf_v40_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@

import datetime
from typing import Dict
from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner, vm_resource
from dags.vm_resource import Project, RuntimeVersion
from dags.common import vm_resource
from dags.common.vm_resource import Project, RuntimeVersion

RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
GCS_SUBFOLDER_PREFIX = test_owner.Team.INFERENCE.value
Expand Down
5 changes: 3 additions & 2 deletions dags/inference/configs/trt_llm_mlperf_v41_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@

import datetime
from typing import Dict, List
from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner, vm_resource
from dags.vm_resource import GpuVersion, Project, RuntimeVersion
from dags.common import vm_resource
from dags.common.vm_resource import GpuVersion, Project, RuntimeVersion

RUNTIME_IMAGE = RuntimeVersion.TPU_UBUNTU2204_BASE.value
GCS_SUBFOLDER_PREFIX = test_owner.Team.INFERENCE.value
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/jetstream_inference_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import datetime
from airflow import models
from dags.vm_resource import TpuVersion
from dags.common.vm_resource import TpuVersion
from dags.inference.maxtext_model_config_generator import generate_model_configs

"""A JetStream inference E2E test (JAX nightly, no schedule) DAG.
Expand Down
5 changes: 3 additions & 2 deletions dags/inference/jetstream_pytorch_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import datetime
from airflow import models
from airflow.models.baseoperator import chain
from dags import composer_env, test_owner
from dags.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags import composer_env
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.inference.configs import jetstream_pytorch_gce_config
from dags.multipod.configs.common import SetupMode, Platform
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/maxtext_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import numpy as np
from airflow import models
from dags import composer_env
from dags.vm_resource import TpuVersion
from dags.common.vm_resource import TpuVersion
from dags.inference.maxtext_model_config_generator import generate_model_configs

USER_PREFIX = ""
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/maxtext_inference_microbenchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import itertools
import numpy
from airflow import models
from dags.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.common.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.inference.configs import maxtext_inference_microbenchmark_gce_config
from dags.multipod.configs.common import SetupMode

Expand Down
5 changes: 3 additions & 2 deletions dags/inference/maxtext_inference_offline_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
import datetime

from airflow import models
from dags import test_owner, composer_env
from dags.vm_resource import TpuVersion, Zone, Project, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags import composer_env
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion, Zone, Project, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.multipod.configs import common
from dags.multipod.configs.common import SetupMode
from xlml.apis import gcp_config, metric_config, task, test_config
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/maxtext_model_config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

"""A helper to generate maxtext model configs."""

from dags.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.common.vm_resource import TpuVersion, Zone, Project, V5_NETWORKS, V5E_SUBNETWORKS, V5P_SUBNETWORKS, RuntimeVersion, V6E_GCE_NETWORK, V6E_GCE_SUBNETWORK
from dags.inference.configs import jetstream_benchmark_serving_gce_config
from dags.multipod.configs.common import SetupMode

Expand Down
2 changes: 1 addition & 1 deletion dags/inference/trt_llm_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import datetime
from airflow import models
from dags import composer_env
from dags.vm_resource import H100_INFERENCE_SUBNETWORKS, INFERENCE_NETWORKS, GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project
from dags.common.vm_resource import H100_INFERENCE_SUBNETWORKS, INFERENCE_NETWORKS, GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project
from dags.inference.configs import trt_llm_inference_config

# Run once a day at 4 am UTC (8 pm PST)
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/trt_llm_mlperf_v40_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import datetime
from airflow import models
from dags import composer_env
from dags.vm_resource import GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project, INFERENCE_NETWORKS, H100_INFERENCE_SUBNETWORKS
from dags.common.vm_resource import GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project, INFERENCE_NETWORKS, H100_INFERENCE_SUBNETWORKS
from dags.inference.configs import trt_llm_mlperf_v40_config

# Run once a day at 4 am UTC (8 pm PST)
Expand Down
2 changes: 1 addition & 1 deletion dags/inference/trt_llm_mlperf_v41_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import datetime
from airflow import models
from dags import composer_env
from dags.vm_resource import A100_INFERENCE_SUBNETWORKS, H100_INFERENCE_SUBNETWORKS, GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project, INFERENCE_NETWORKS, L4_INFERENCE_SUBNETWORKS
from dags.common.vm_resource import A100_INFERENCE_SUBNETWORKS, H100_INFERENCE_SUBNETWORKS, GpuVersion, Zone, ImageFamily, ImageProject, MachineVersion, Project, INFERENCE_NETWORKS, L4_INFERENCE_SUBNETWORKS
from dags.inference.configs import trt_llm_mlperf_v41_config

# Run once a day at 1 pm UTC (5 am PST)
Expand Down
2 changes: 1 addition & 1 deletion dags/infra/clean_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import datetime
from airflow import models
from dags import composer_env
from dags.vm_resource import Project, Zone
from dags.common.vm_resource import Project, Zone
from xlml.utils import tpu


Expand Down
4 changes: 2 additions & 2 deletions dags/mlcompass/configs/simple_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

import datetime
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner
from dags.vm_resource import TpuVersion, Zone, Project, RuntimeVersion
from dags.common import test_owner
from dags.common.vm_resource import TpuVersion, Zone, Project, RuntimeVersion


def get_simple_config():
Expand Down
2 changes: 1 addition & 1 deletion dags/mlcompass/maxtext_gke.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from airflow import models
from airflow.decorators import task
from airflow.providers.google.cloud.hooks.gcs import GCSHook
from dags import test_owner
from dags.common import test_owner
from xlml.utils import xpk


Expand Down
5 changes: 3 additions & 2 deletions dags/multipod/configs/gke_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

"""Utilities to construct configs for maxtext DAG on GKE."""

from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from xlml.apis.xpk_cluster_config import XpkClusterConfig
from dags import test_owner, gcs_bucket
from dags.vm_resource import TpuVersion, Project, XpkClusters, GpuVersion, CpuVersion
from dags import gcs_bucket
from dags.common.vm_resource import TpuVersion, Project, XpkClusters, GpuVersion, CpuVersion
from typing import Iterable
import datetime

Expand Down
4 changes: 2 additions & 2 deletions dags/multipod/configs/jax_tests_gce_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"""Utilities to construct configs for JAX tests for GCE."""

from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion
import datetime

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
Expand Down
4 changes: 2 additions & 2 deletions dags/multipod/configs/jax_tests_gke_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

"""Utilities to construct configs for JAX tests for GCE."""

from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import gke_config
from dags.vm_resource import XpkClusterConfig
from dags.common.vm_resource import XpkClusterConfig


def get_jax_distributed_initialize_config(
Expand Down
4 changes: 2 additions & 2 deletions dags/multipod/configs/legacy_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from xlml.apis.xpk_cluster_config import XpkClusterConfig
from base64 import b64encode
from collections.abc import Iterable
from dags import test_owner
from dags.common import test_owner
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion, XpkClusters
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion, XpkClusters


def get_legacy_unit_test_config(
Expand Down
5 changes: 3 additions & 2 deletions dags/multipod/configs/maxtext_gce_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

"""Utilities to construct configs for maxtext DAG."""

from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner, gcs_bucket
from dags import gcs_bucket
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion
import datetime

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
Expand Down
2 changes: 1 addition & 1 deletion dags/multipod/configs/maxtext_sweep_gke_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import datetime
from xlml.apis import gcp_config, metric_config, task, test_config
from dags.vm_resource import TpuVersion, XpkClusterConfig
from dags.common.vm_resource import TpuVersion, XpkClusterConfig
import itertools
from typing import List, Iterable, Dict, Any

Expand Down
5 changes: 3 additions & 2 deletions dags/multipod/configs/mxla_collective_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

"""Utilities to construct configs for maxtext DAG."""

from dags.common import test_owner
from xlml.apis import gcp_config, metric_config, task, test_config
from dags import test_owner, gcs_bucket
from dags import gcs_bucket
from dags.multipod.configs import common
from dags.vm_resource import TpuVersion, Project, RuntimeVersion
from dags.common.vm_resource import TpuVersion, Project, RuntimeVersion
import datetime

PROJECT_NAME = Project.CLOUD_ML_AUTO_SOLUTIONS.value
Expand Down
2 changes: 1 addition & 1 deletion dags/multipod/configs/pytorch_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from dags.vm_resource import TpuVersion, Zone, DockerImage
from dags.common.vm_resource import TpuVersion, Zone, DockerImage
from dags.multipod.configs import gke_config
from xlml.apis.xpk_cluster_config import XpkClusterConfig
from xlml.apis import task
Expand Down
2 changes: 1 addition & 1 deletion dags/multipod/jax_functional_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import datetime
from airflow import models
from dags import composer_env
from dags.vm_resource import DockerImage, TpuVersion, Zone, Project, V5_NETWORKS, V5P_SUBNETWORKS, RuntimeVersion, XpkClusters
from dags.common.vm_resource import DockerImage, TpuVersion, Zone, Project, V5_NETWORKS, V5P_SUBNETWORKS, RuntimeVersion, XpkClusters
from dags.multipod.configs import jax_tests_gce_config, jax_tests_gke_config
from dags.multipod.configs.common import SetupMode

Expand Down
Loading

0 comments on commit f061011

Please sign in to comment.