Skip to content

Commit

Permalink
update kfp installation instructions for a number of gcp components (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amygdala authored Oct 7, 2020
1 parent dd1e3d8 commit 7e4d9f4
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 60 deletions.
3 changes: 1 addition & 2 deletions components/gcp/bigquery/query/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/bigquery/query/to_CSV/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ Note: The following sample code works in an IPython notebook or directly in Pyth
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/bigquery/query/to_gcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ Note: The following sample code works in an IPython notebook or directly in Pyth
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/bigquery/query/to_table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Note: The following sample code works in an IPython notebook or directly in Pyth
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataflow/launch_python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ The steps to use the component in a pipeline are:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataflow/launch_python/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataflow/launch_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataflow/launch_template/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/create_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/create_cluster/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/delete_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/delete_cluster/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_hadoop_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_hadoop_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_hive_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_hive_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_pig_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_pig_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_pyspark_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_pyspark_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_spark_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow Pipeline's SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_spark_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_sparksql_job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/dataproc/submit_sparksql_job/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/batch_predict/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/batch_predict/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ Follow these steps to use the component in a pipeline:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using KFP SDK
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/deploy/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/train/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ The steps to use the component in a pipeline are:
```python
%%capture --no-stderr

KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'
!pip3 install $KFP_PACKAGE --upgrade
!pip3 install kfp --upgrade
```

2. Load the component using the Kubeflow pipeline's SDK:
Expand Down
3 changes: 1 addition & 2 deletions components/gcp/ml_engine/train/sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@
"source": [
"%%capture --no-stderr\n",
"\n",
"KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.14/kfp.tar.gz'\n",
"!pip3 install $KFP_PACKAGE --upgrade"
"!pip3 install kfp --upgrade"
]
},
{
Expand Down

0 comments on commit 7e4d9f4

Please sign in to comment.