Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inferencerConfig:
inferenceBatchSize: 512
command: python -m examples.link_prediction.homogeneous_inference
sharedConfig:
shouldSkipAutomaticTempAssetCleanup: false
shouldSkipAutomaticTempAssetCleanup: True
shouldSkipInference: false
# Model Evaluation is currently only supported for tabularized SGS GiGL pipelines. This will soon be added for in-mem SGS GiGL pipelines.
shouldSkipModelEvaluation: true
Expand Down
10 changes: 0 additions & 10 deletions python/gigl/orchestration/kubeflow/kfp_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,18 +149,8 @@ def run(
"template_or_frozen_config_uri": task_config_uri.uri,
"resource_config_uri": resource_config_uri.uri,
}
# We need to provide *some* notification emails, other wise the cleanup component will fail.
# Ideally, we'd be able to provide None and have it handle it, but for whatever reason
# that's not supported atm. Passing in None gives the below error:
# Notification email "recipients" parameter must specify at least one recipient.
if notification_emails:
run_keyword_args["notification_emails"] = notification_emails
else:
run_keyword_args["notification_emails"] = [
get_resource_config(
resource_config_uri=resource_config_uri
).service_account_email
]
if stop_after is not None:
run_keyword_args["stop_after"] = stop_after

Expand Down
4 changes: 3 additions & 1 deletion python/gigl/orchestration/kubeflow/kfp_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from gigl.common import LocalUri
from gigl.common.logger import Logger
from gigl.common.types.resource_config import CommonPipelineComponentConfigs
from gigl.env.pipelines_config import get_resource_config
from gigl.orchestration.kubeflow.utils.glt_backend import (
check_glt_backend_eligibility_component,
)
Expand Down Expand Up @@ -247,7 +248,8 @@ def pipeline(
resource_config_uri: str,
start_at: str = GiGLComponents.ConfigPopulator.value,
stop_after: Optional[str] = None,
notification_emails: Optional[List[str]] = None,
# We need to provide *some* notification emails, other wise the cleanup component will fail.
notification_emails: List[str] = ["kmonte@snap.com"],
):
with kfp.dsl.ExitHandler(
VertexNotificationEmailOp(recipients=notification_emails),
Expand Down