mirror of https://github.com/kubeflow/examples.git
Fix xgboost_synthetic notebook for Kubeflow 1.1. (#811)
* Fairing needs to be upgraded to fairing 1.0.1 Related to kubeflow/gcp-blueprints#78
This commit is contained in:
parent
db27136c67
commit
8bc13cc6fe
|
@ -11,7 +11,6 @@ import subprocess
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.32/kfp.tar.gz'
|
KFP_PACKAGE = 'https://storage.googleapis.com/ml-pipeline/release/0.1.32/kfp.tar.gz'
|
||||||
FAIRING_PACKAGE = 'git+git://github.com/kubeflow/fairing.git@9b0d4ed4796ba349ac6067bbd802ff1d6454d015' # pylint: disable=line-too-long
|
|
||||||
|
|
||||||
def notebook_setup():
|
def notebook_setup():
|
||||||
# Install the SDK
|
# Install the SDK
|
||||||
|
@ -22,8 +21,6 @@ def notebook_setup():
|
||||||
subprocess.check_call(["pip3", "install", "--user", "-r", "requirements.txt"])
|
subprocess.check_call(["pip3", "install", "--user", "-r", "requirements.txt"])
|
||||||
logging.info("pip installing KFP %s", KFP_PACKAGE)
|
logging.info("pip installing KFP %s", KFP_PACKAGE)
|
||||||
subprocess.check_call(["pip3", "install", "--user", KFP_PACKAGE, "--upgrade"])
|
subprocess.check_call(["pip3", "install", "--user", KFP_PACKAGE, "--upgrade"])
|
||||||
logging.info("pip installing fairing %s", FAIRING_PACKAGE)
|
|
||||||
subprocess.check_call(["pip3", "install", "--user", FAIRING_PACKAGE])
|
|
||||||
|
|
||||||
logging.info("Configure docker credentials")
|
logging.info("Configure docker credentials")
|
||||||
subprocess.check_call(["gcloud", "auth", "configure-docker", "--quiet"])
|
subprocess.check_call(["gcloud", "auth", "configure-docker", "--quiet"])
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
fire
|
fire
|
||||||
gitpython
|
gitpython
|
||||||
google-cloud-storage
|
google-cloud-storage
|
||||||
|
git+git://github.com/kubeflow/fairing.git@v1.0.1
|
||||||
joblib
|
joblib
|
||||||
kubeflow-metadata==0.3.1
|
kubeflow-metadata==0.3.1
|
||||||
numpy
|
numpy
|
||||||
|
|
Loading…
Reference in New Issue