gigl.orchestration.kubeflow.utils.log_metrics_to_ui#
- gigl.orchestration.kubeflow.utils.log_metrics.log_metrics_to_ui(task_config_uri: str, component_name: str, base_image: str) BaseComponent #
Publishes metrics for components to the Vertex AI Pipeline UI. Args:
task_config_uri (str): URI to the task config. component (str): Name of the component to log metrics for. base_image: The Docker image to be used as the base image for the component.
- Returns:
kfp.components.BaseComponent: The component to log metrics.