tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job

Example Airflow DAG for Google Vertex AI service testing Custom Jobs operations.

Module Contents

Functions

TABULAR_DATASET(bucket_name)

Attributes

ENV_ID

PROJECT_ID

REGION

CUSTOM_DISPLAY_NAME

MODEL_DISPLAY_NAME

DAG_ID

RESOURCE_DATA_BUCKET

CUSTOM_GCS_BUCKET_NAME

DATA_SAMPLE_GCS_OBJECT_NAME

CONTAINER_URI

MODEL_SERVING_CONTAINER_URI

REPLICA_COUNT

LOCAL_TRAINING_SCRIPT_PATH

create_bucket

test_run

tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.ENV_ID[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.PROJECT_ID[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.REGION = 'us-central1'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.CUSTOM_DISPLAY_NAME[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.MODEL_DISPLAY_NAME[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.DAG_ID = 'vertex_ai_custom_job_operations'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.RESOURCE_DATA_BUCKET = 'airflow-system-tests-resources'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.CUSTOM_GCS_BUCKET_NAME[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.DATA_SAMPLE_GCS_OBJECT_NAME = 'vertex-ai/california_housing_train.csv'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.TABULAR_DATASET(bucket_name)[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.CONTAINER_URI = 'gcr.io/cloud-aiplatform/training/tf-cpu.2-2:latest'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.MODEL_SERVING_CONTAINER_URI = 'gcr.io/cloud-aiplatform/prediction/tf2-cpu.2-2:latest'[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.REPLICA_COUNT = 1[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.LOCAL_TRAINING_SCRIPT_PATH[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.create_bucket[source]
tests.system.providers.google.cloud.vertex_ai.example_vertex_ai_custom_job.test_run[source]

Was this entry helpful?