-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a run of the newest pipeline version by default using Python SDK #3418
Comments
#3339 |
I thought it default should run latest version, in such case, Jiyong should not hit the issue, right? |
Right. I expected that it will run latest version, but it didn't. |
I assume without the version_ID in the create_run, it should pick up latest version. Jing may didn't aware this ticket. Let me ping her via hangout. Meanwhile, I think #3339 is OK to go as no conflict to allow execute a specific version. |
While creating run from pipeline version, we can use client.runs.create_run (instead of client.run_pipeline). The former is automatically synced to the latest backend api interface (while the latter requires manual update to keep up with backend api interface) When using client.runs.create_run, we use resource_references field to specify the pipeline version we want to use to create the run. Let me make an example for you and report back |
Existing KFP API doesn't use updated pipeline, and we should use the new API to create a run. context: kubeflow/pipelines#3418 PiperOrigin-RevId: 304570681
Existing KFP API doesn't use updated pipeline, and we should use the new API to create a run. context: kubeflow/pipelines#3418 PiperOrigin-RevId: 304570681
Existing KFP API doesn't use the updated pipeline, and we should use the new API to create a run for the updated pipeline. context: kubeflow/pipelines#3418 PiperOrigin-RevId: 304570681
Existing KFP API doesn't use the updated pipeline, and we should use the new API to create a run for the updated pipeline. context: kubeflow/pipelines#3418 PiperOrigin-RevId: 304570681
Existing KFP API doesn't use the updated pipeline, and we should use the new API to create a run for the updated pipeline. context: kubeflow/pipelines#3418 PiperOrigin-RevId: 305788276
/close |
@Bobgy: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
If passing I was planning on using the same I was planning on setting |
What steps did you take:
All actions were done using Python SDK (with TFX cli).
client.upload_pipeline()
API.client.pipeline_uploads.upload_pipeline_version()
API.client.run_pipeline()
API. I used pipeline_id which was returned from 1 because pipeline_id is not changed even when a new version is uploaded.What happened:
What did you expect to happen:
Environment:
GCP - Cloud AI Platform Pipelines. Installed from marketplace.
KFP version: 0.2.5
KFP SDK version: 0.3.0
Anything else you would like to add:
When we select a pipeline from the web frontend UI, the most recent version is selected by default. So I thought that the most recent version of pipeline will be selected when I create a run using CLI.
/kind bug
The text was updated successfully, but these errors were encountered: