gigl.src.common.vertex_ai_launcher#

Shared functionality for launching Vertex AI jobs for training and inference.

Attributes#

Functions#

build_vertex_ai_job_name(job_name, component)

Build the Vertex AI CustomJob display name from a raw GiGL job name.

launch_graph_store_enabled_job(...)

Launch a graph store enabled job on Vertex AI with separate storage and compute pools.

launch_single_pool_job(vertex_ai_resource_config, ...)

Launch a single pool job on Vertex AI.

Module Contents#

gigl.src.common.vertex_ai_launcher.build_vertex_ai_job_name(job_name, component)[source]#

Build the Vertex AI CustomJob display name from a raw GiGL job name.

Parameters:
Returns:

The component-prefixed Vertex AI CustomJob display name.

Raises:

ValueError – If component is not a launchable Vertex AI component.

Return type:

str

gigl.src.common.vertex_ai_launcher.launch_graph_store_enabled_job(vertex_ai_graph_store_config, job_name, task_config_uri, resource_config_uri, compute_commmand, compute_runtime_args, storage_command, storage_args, resource_config_wrapper, cpu_docker_uri, cuda_docker_uri, component)[source]#

Launch a graph store enabled job on Vertex AI with separate storage and compute pools.

Parameters:
Return type:

None

gigl.src.common.vertex_ai_launcher.launch_single_pool_job(vertex_ai_resource_config, job_name, task_config_uri, resource_config_uri, process_command, process_runtime_args, resource_config_wrapper, cpu_docker_uri, cuda_docker_uri, component, vertex_ai_region)[source]#

Launch a single pool job on Vertex AI.

Parameters:
Return type:

None

gigl.src.common.vertex_ai_launcher.logger[source]#