Commit Graph

9 Commits

Author SHA1 Message Date
Jin Chi He 628babc66a update kubeflow-fairing commit sha to use job in clusterBuild (#643) 2019-09-20 08:07:00 -07:00
Jin Chi He 78a79e72dc update example to kubeflow-fairing (#637) 2019-09-17 06:36:24 -07:00
Jin Chi He 4f8cf87d4f add testing for xgboost_synthetic (#633) 2019-09-16 15:28:24 -07:00
Jeremy Lewi 5b3016fae9 Fix a bunch of issues with the xgboost_synthetic example (#621)
* Need to add kfmd to requirements.txt because the training code now uses
  kfmd to log data.

* The Dockerfile didn't build with kaniko; it looks like a permission problem
  trying to install python files into the conda directory. The problem appears
  to be fixed by not switching to user root.

* Updte the base docker image to 1.13.

* Remove some references in the notebook to namespace because the fairing
  code should now detect namespace automatically and the notebook will no longer
  be running namespace kubeflow

* When running training in a K8s job; the code will now try to contact the
  metadata server but this can fail if the ISTIO side car hasn't started yet.
  So we need to wait for ISTIO to start; we do this by trying to contact
  the metadata server for up to 3 minutes.

* Add a lot more explanation in the notebook to explain what is happening.

* Related to #619
2019-08-19 16:05:32 -07:00
Zhenghui Wang 22de8cf7c1 Add metadata logging to xgboost-synthetic example (#610)
* meta logging

* lint

* pip install fairing

* update prredict() functuion
2019-08-05 20:45:54 -07:00
Chun-Hsiang Wang 6e5ba488e2 Update readme for xgboost-synthetic and remove outdated yaml file (#605)
* Update readme for xgboost-synthetic and remove outdated yaml file.

* Update the class name to be more general.

* Update readme.

* Set google_application_credentials in the notebook.

* Install fairing from master branch.

* Do not set credentials again.

* Update readme.
2019-07-22 18:20:54 -07:00
Chun-Hsiang Wang fb6cd69def Install pip dependencies and build base image with kaniko (#603)
* Install required pip packages not included in the base package.

* Use Kaniko builder to build the base image first.

* Directly install packages from requirements.txt to be more flexible.
2019-07-18 22:35:12 -07:00
Chun-Hsiang Wang cda6efed27 Include newly trained model in the newly built docker image (#601) (#602) 2019-07-17 19:50:11 -07:00
Chun-Hsiang Wang ac9f2f1238 Add kubecon demo to xgboost_ames_housing directory (#589)
* Add xgboost-ames-housing demo from Kubecon EU 2019.

* fix links in the .ipynb in the xgboost-ames-housing demo

* update to the xgboost demo example from kubecon
- move example to its own directory
- remove unnecessarry files
- modify util and update notebook

* change the names related to kubecon and update readme

* use fairing instead of own fairing_util in the notebook

* remove fairing_util and move the remaining to util instead

* update synthetic data example as comments
- generalize yaml
- remove updating github procedures
- update readme
- rename files

* fix pylint.

* fix pylint.
2019-07-16 10:33:25 -07:00