Commit Graph

14 Commits

Author SHA1 Message Date
Jiaxiao Zheng fb15223f7e
chore: Add doc strings marking the feature stages for SDK. (#4575)
* add doc strings

* Simplify the docstring

* fix unittest

* recover cli.py

* recover cli.py

* substitute docstring in resource ops with TODOs

* revert stable labels
2020-11-24 00:19:00 -08:00
Alex Latchford 704c8c7660
chore: Clean up KFP SDK docstrings, make formatting a little more consistent (#4218)
* Prepare SDK docs environment so its easier to understand how to build the docs locally so theyre consistent with ReadTheDocs.

* Clean up docstrings for kfp.Client

* Add in updates to the docs for compiler and components

* Update components area to add in code references and make formatting a little more consistent.

* Clean up containers, add in custom CSS to ensure we do not overflow on inline code blocks

* Clean up containers, add in custom CSS to ensure we do not overflow on inline code blocks

* Remove unused kfp.notebook package links

* Clean up a few more errant references

* Clean up the DSL docs some more

* Update SDK docs for KFP extensions to follow Sphinx guidelines

* Clean up formatting of docstrings after Ark-Kuns comments
2020-08-04 00:33:47 +08:00
Alexey Volkov d0b799e4a9
fix(sdk): SDK - Avoiding deprecated ContainerOp methods (#4134)
Switched from `task.set_X` to `task.container.set_X`
2020-07-14 17:02:37 -07:00
Shotaro Kohama e2e30a379c
Add an operator to configure toleration of the GKE GPU node taints (#3671)
* Add an operator to configure toleration of the GKE GPU taints

https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#gpu_pool

* Make sure of the google coding style with yapf

* Change the function name to add_gpu_toleration
2020-05-01 10:32:28 -07:00
Alexey Volkov 839198f502
SDK - Fixed the broken kfp.gcp.use_preemptible_nodepool extension (#3091)
It was generating broken Kubernetes structures that made the workflow fail at submission time.

Fixes https://github.com/kubeflow/pipelines/issues/2847
2020-02-14 17:27:28 -08:00
Yuan (Bob) Gong 589aaa9d35 [Doc] Change sample/component/sdk documentation to not use `use_gcp_secret` (#2782)
* Update use_gcp_secret documentation to point to authenticating pipelines to GCP doc

* Update Local Development Quickstart.ipynb
2020-01-08 17:27:39 -08:00
Andrew Martin e19efdff76 Remove usage of deprecated ContainerOp methods in use_gcp_secret (#2280) 2019-10-01 21:45:07 -07:00
Ning 46026e56ae add support for hard and soft constraint in the preemptible nodepools (#2205)
* add support for hard and soft constraint in the preemptible nodepools

* fix unit tests
2019-09-23 15:19:26 -07:00
Aakash Bajaj 6a7b28f35d gcp cred bug fix for multiple credentials in single pipeline (#1384)
* gcp cred bug fix for multiple credentials in single pipeline

* squash to remove conflict
2019-08-20 01:37:33 -07:00
Alexey Volkov 90214f50e7 SDK - Use different volume names for different secrets (#1379)
* SDK - Use different volume names for different secrets

* Show a DeprecationWarning for now instead of removing the paramater outright.
2019-06-06 19:21:59 -07:00
Ning 6fcab51a44 Add dsl support for preemptible vm/gpus (#1306)
* add dsl support for preemptible vm/gpus

* change name to nodepool to avoid confusion
2019-05-13 19:13:09 -07:00
qimingj 1c689ed70d First step to bring back CMLE sample. (#599)
* First step to bring back CMLE sample.

Set GCP credential for gcloud. Do not export TPU Model because a) Serving does not need TPU. b) Workaround a CMLE 1.9 issue.

* Follow up on CR comments.

* Add comments.
2019-01-02 17:58:44 -08:00
hongye-sun 55e18269c3 support tpu settings in dsl (#491)
* support tpu settings in dsl

* fix issues from review comment
2018-12-06 21:55:36 -08:00
Alexey Volkov 800bd0249b SDK/GCP - Replaced default_gcp_op with task.apply(use_gcp_secret) (#430) 2018-12-03 18:02:30 -08:00