kubeflow / pipelines

Machine Learning Pipelines for Kubeflow
https://www.kubeflow.org/docs/components/pipelines/
Apache License 2.0
3.5k stars 1.58k forks source link

what replaces `aiplatform.CustomContainerTrainingJobRunOp` in `google-cloud-pipeline-components` V2? #10681

Closed raihan1khan closed 3 months ago

raihan1khan commented 3 months ago

Environment

Original issue occur from this components, what replaces aiplatform.CustomContainerTrainingJobRunOp in google-cloud-pipeline-components V2

Example - https://github.com/GoogleCloudPlatform/fraudfinder/blob/main/vertex_ai/06_formalization.ipynb

custom training job component - script

train_model_op = vertex_ai_components.CustomContainerTrainingJobRunOp(
    display_name=JOB_NAME,
    model_display_name=MODEL_NAME,
    container_uri=IMAGE_URI,
    staging_bucket=bucket_name,
    dataset=dataset_create_op.outputs["dataset"],
    base_output_dir=bucket_name,
    args=ARGS,
    replica_count=replica_count,
    machine_type=machine_type,
    training_fraction_split=train_split,
    validation_fraction_split=val_split,
    test_fraction_split=test_split,
    model_serving_container_image_uri=MODEL_SERVING_IMAGE_URI,
    project=project_id,
    location=region,
).after(dataset_create_op)

Steps to reproduce

Expected result

Materials and Reference


Impacted by this bug? Give it a 👍.

rimolive commented 3 months ago

Please open a Discussion thread for asking questions. Issues are for bug fixes and feature requests.

/close

google-oss-prow[bot] commented 3 months ago

@rimolive: Closing this issue.

In response to [this](https://github.com/kubeflow/pipelines/issues/10681#issuecomment-2044571570): >Please open a [Discussion thread](https://github.com/kubeflow/pipelines/discussions) for asking questions. Issues are for bug fixes and feature requests. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
raihan1khan commented 3 months ago

@rimolive - i did opened a discussion question can you please take a look