Hyperparameter Tuning (Katib)

Version v0.3 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

Deploying Katib

Katib is a hyperparameter tuning framework, inspired by Google Vizier.

To deploy katib,

ks pkg install kubeflow/katib@master
ks generate katib katib
ks apply ${ENV} -c katib

Using Katib

Create namespace katib as the service launches jobs in this namespace.

kubectl create namespace katib

Currently we are using port-forwarding to access the katib services.

kubectl get pod -n kubeflow  # Find your vizier-core and modedb-frontend pods
kubectl port-forward -n kubeflow [vizier-core pod] 6789:6789 &
kubectl port-forward -n kubeflow [modeldb-frontend pod] 3000:3000 &

Run the client script

go run client-example.go

It should start a study and run two jobs with different parameters.

Go to http://localhost:3000/katib to see the result.