-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support local file upload when creating new pipeline version #2977
Comments
@jingzhang36 I think all work is done here, is that right? Added a PR for api client on version upload below. I believe we can close this issue. |
Does the sdk still need to be updated? I looked through some of the client.py files and couldn't find anything related to this. |
@numerology @Ark-kun Do you know answer to above question? |
I feel using the generated server api client would be ok as long as I can find a way to load a local file to io object and pass to the generated api method. Let me try to make up an example and post it here |
@pselden with kfp 0.2.5, you can do import os Also note: pipelineid and name are both strings. |
To add to above comment, you also need to upgrade |
Thanks. Do you happen to know if this will be added to the CLI as well? Something like |
@jingzhang36 Thank you for sharing this example. Right now the kfp package does not support this version: pipelines/sdk/python/requirements.txt Line 13 in ee525b9
Thank you |
Sorry for the confusion. So if you deploy KFP with version 0.2.5 and use KFP SDK version higher than 0.2.5, it works. |
@numerology I just released kfp-server-api 0.2.5 Line 35 in ee525b9
|
Ah got it. |
Just checking -- this is NOT available in any officially published version of the KFP client sdk right? |
@pselden it's available in 0.2.5 and 0.3.0. but you need to make sure your kfp server is the same version. |
Unfortunately, uploading a new version is crashing. When I run
It throws The same happens when I use the Python SDK
Currently I'm using Kubeflow deployed at Google AI Platform with Does someone else have the same problem? |
I tested with kfp===0.4.0 kfp-server-api===0.3.9 and kfp standalone deployment with 0.5.1 |
I found the error. For those who want to get the pipeline id from its name the following will work.
I'm currently using this for my CI/CD pipeline. |
* add condition checks for False and Unknown Signed-off-by: Tessa Pham <[email protected]> * fix IngressReady condition Signed-off-by: Tessa Pham <[email protected]> --------- Signed-off-by: Tessa Pham <[email protected]>
No description provided.
The text was updated successfully, but these errors were encountered: