mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
* docs: update new algorithm service details * feat: trial augmentation strategy * feat: pbt suggestion service * feat: PbtTemplate and associated test image * feat: introduce annotation field to trial specifications * feat: trial assignment changes to support annotations from suggestion - Add new Annotation types to suggestion_types.go - Add Annotation object and update Trial parser in trial.py * feat: update pbt suggestion to use new Annotation api - Suggestion uses exact match to track spawned trials - Trials that get transmitted, but not created (or added to experiment) are added back to the respawn pool (population_size consistency) * chore: gofmt and black run across PBT changes * feedback: remove tf summary export, change default print unit, reduce range to be percentage compatible. * feedback: move PBT template to example. * feedback: changes to inject_webhook and utils. - Rename mutateVolume to mutateMetricsCollectorVolume - Add addContainerVolumeMount - Add getPrimaryContainerIndex * feedback: change suggestion mutation mount variable name and add to consts * feedback: Add trial_names to GetSuggestionsReply and change suggestion path to <experiment>/<trial> * feedback: removed unnecessary checks and moved to async pbt implementation * feedback: update trial name override location and change annotations override to labels. * feedback: add pbt to github workflow * feedback: move labels to ParameterAssignments in GetSuggestionsReply and cleanup pbt.yaml. * feedback: remove operator changes * feedback: GHA updates * feedback: new formatting changes * feedback: add suggestion-pbt to gh-actions build-load.sh. * fix: missing pbt->simple-pbt name changes, add simple-pbt to update-images.sh update yaml function (causing failing gha). * feedback: add pointer to website from main readme for pbt
2.0 KiB
2.0 KiB
V1beta1TrialSpec
TrialSpec is the specification of a Trial.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| early_stopping_rules | list[V1beta1EarlyStoppingRule] | Rules for early stopping techniques. Each rule should be met to early stop Trial. | [optional] |
| failure_condition | str | Condition when trial custom resource is failed. Condition must be in GJSON format, ref https://github.com/tidwall/gjson. For example for BatchJob: status.conditions.#(type=="Failed")# | #(status=="True")# |
| labels | dict(str, str) | Labels that provide additional metadata for services (e.g. Suggestions tracking) | [optional] |
| metrics_collector | V1beta1MetricsCollectorSpec | [optional] | |
| objective | V1beta1ObjectiveSpec | [optional] | |
| parameter_assignments | list[V1beta1ParameterAssignment] | Key-value pairs for hyperparameters and assignment values. | [optional] |
| primary_container_name | str | Name of training container where actual model training is running | [optional] |
| primary_pod_labels | dict(str, str) | Label that determines if pod needs to be injected by Katib sidecar container | [optional] |
| retain_run | bool | Whether to retain the trial run object after completed. | [optional] |
| run_spec | object | [optional] | |
| success_condition | str | Condition when trial custom resource is succeeded. Condition must be in GJSON format, ref https://github.com/tidwall/gjson. For example for BatchJob: status.conditions.#(type=="Complete")# | #(status=="True")# |