mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
5.5 KiB
5.5 KiB
Kubeflow Katib SDK
Python SDK for Kubeflow Katib
Requirements.
Python >= 3.8
Katib Python SDK follows Python release cycle for supported Python versions.
Installation & Usage
pip install
pip install kubeflow-katib
Then import package:
from kubeflow import katib
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Publish new SDK version to PyPi
Our SDK is located in kubeflow-katib PyPi package.
Katib Python SDK is published as part of the Katib patch releases.
You can check the release process here.
For each Katib patch release, we upload a new SDK version to the PyPi.
The SDK version is equal to the Katib version.
Getting Started
Please follow the examples to learn more about Katib SDK.
Documentation for API Endpoints
| Class | Method | Description |
|---|---|---|
| KatibClient | create_experiment | Create the Katib Experiment |
| KatibClient | get_experiment | Get the Katib Experiment |
| KatibClient | get_suggestion | Get the Katib Suggestion |
| KatibClient | delete_experiment | Delete the Katib Experiment |
| KatibClient | list_experiments | List all Katib Experiments |
| KatibClient | get_experiment_status | Get the Experiment current status |
| KatibClient | is_experiment_succeeded | Check if Experiment has succeeded |
| KatibClient | list_trials | List all Experiment's Trials |
| KatibClient | get_success_trial_details | Get the Trial details that have succeeded for an Experiment |
| KatibClient | get_optimal_hyperparameters | Get the current optimal Trial from the Experiment |
Documentation For Models
- V1beta1AlgorithmSetting
- V1beta1AlgorithmSpec
- V1beta1CollectorSpec
- V1beta1ConfigMapSource
- V1beta1EarlyStoppingRule
- V1beta1EarlyStoppingSetting
- V1beta1EarlyStoppingSpec
- V1beta1Experiment
- V1beta1ExperimentCondition
- V1beta1ExperimentList
- V1beta1ExperimentSpec
- V1beta1ExperimentStatus
- V1beta1FeasibleSpace
- V1beta1FileSystemPath
- V1beta1FilterSpec
- V1beta1GraphConfig
- V1beta1Metric
- V1beta1MetricStrategy
- V1beta1MetricsCollectorSpec
- V1beta1NasConfig
- V1beta1ObjectiveSpec
- V1beta1Observation
- V1beta1Operation
- V1beta1OptimalTrial
- V1beta1ParameterAssignment
- V1beta1ParameterSpec
- V1beta1SourceSpec
- V1beta1Suggestion
- V1beta1SuggestionCondition
- V1beta1SuggestionList
- V1beta1SuggestionSpec
- V1beta1SuggestionStatus
- V1beta1Trial
- V1beta1TrialAssignment
- V1beta1TrialCondition
- V1beta1TrialList
- V1beta1TrialParameterSpec
- V1beta1TrialSource
- V1beta1TrialSpec
- V1beta1TrialStatus
- V1beta1TrialTemplate
Documentation For Authorization
All endpoints do not require authorization.
Author
prem0912