Skip to content
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

KubeFlow Pipeline example notebook is half way updated for 0.1.4 #520

Closed
post2web opened this issue Dec 12, 2018 · 6 comments
Closed

KubeFlow Pipeline example notebook is half way updated for 0.1.4 #520

post2web opened this issue Dec 12, 2018 · 6 comments

Comments

@post2web
Copy link

The notebook: KubeFlow Pipeline Using TFX OSS Components.ipynb is updated to have .apply(gcp.use_gcp_secret('user-gcp-sa')) to every container but all other content is written for 0.1.3-rc.2 release.

To me, this notebook is the most useful reference for the pipeline creation and execution process and it is currently broken.

Simply updating the pip3 install kfp to 0.1.4 do not fix the issues with that notebook.

@gaoning777
Copy link
Contributor

What is the error? Does it happen during compile time or runtime?
Do you mind posting the exact errors? Thanks

@post2web
Copy link
Author

The first error would come from:

import kfp.gcp as gcp

ModuleNotFoundError: No module named 'kfp.gcp'

because KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.3-rc.2/kfp.tar.gz'

There will be more errors on every .apply(gcp.use_gcp_secret('user-gcp-sa'))

After changing KFP_PACKAGE to use 0.1.4, the pipeline compiles. The run starts when I deploy it to a cluster with pipelines 0.1.4 but get authentification errors from within the containers. This is probably because I haven't set anything for the gcp.use_gcp_secret. A hint on how to set this up will be much appreciated.

The pipeline compiles and runs as expected when I remove all .apply(gcp.use_gcp_secret('user-gcp-sa')) references from the notebook and run it on 0.1.3-rc.2 piplenes cluster.

@hongye-sun
Copy link
Contributor

hongye-sun commented Dec 12, 2018 via email

@post2web
Copy link
Author

Yes, the above are errors raised after restarting of the kernel. To test:

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.3-rc.2/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
import kfp.gcp as gcp

will raise ModuleNotFoundError: No module named 'kfp.gcp'

@hongye-sun
Copy link
Contributor

hongye-sun commented Dec 12, 2018 via email

@Nick-Harvey
Copy link

Nick-Harvey commented Dec 14, 2018

For anyone who stumbles upon this between now and the sample getting updated, simply replace KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.3-rc.2/kfp.tar.gz' to KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.4/kfp.tar.gz'

HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this issue Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants