TrialTemplate describes structure of trial template
Name | Type | Description | Notes |
---|---|---|---|
config_map | V1beta1ConfigMapSource | [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")# |
primary_container_name | str | Name of training container where actual model training is running | [optional] |
primary_pod_labels | dict(str, str) | Labels that determines if pod needs to be injected by Katib sidecar container. If PrimaryPodLabels is omitted, metrics collector wraps all Trial's pods. | [optional] |
retain | bool | Retain indicates that trial resources must be not cleanup | [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")# |
trial_parameters | list[V1beta1TrialParameterSpec] | List of parameters that are used in trial template | [optional] |
trial_spec | object | [optional] |