mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-10-30 14:46:14 +00:00
* add shellcheck * fix /test/e2e/v1beta1/scripts/run-e2e-experiment.sh * fix test/e2e/v1beta1/scripts/setup-katib.sh * fix pkg/apis/manager/[v1beta1|health]/build.sh * fix scripts/v1beta1/deploy.sh * fix scripts/v1beta1/release.sh * fix scripts/v1beta1/update-images.sh * fix scripts/v1beta1/undeploy.sh * fix hack/update-openapigen.sh * update boilerplate * fix hack/gen-python-sdk/gen-sdk.sh * fix hack/update-codegen.sh * fix hack/update-mockgen.sh * use /usr/bin/env bash * add path to update-boilerplate.sh * fix script to update boilerplate * fix comment
29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
# Copyright 2022 The Kubeflow Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Default value for interval between running processes check
|
|
DEFAULT_POLL_INTERVAL = 1
|
|
# Default value for timeout before invoke error during running processes check
|
|
DEFAULT_TIMEOUT = 0
|
|
# Default value whether wait for all other main process of container exiting
|
|
DEFAULT_WAIT_ALL_PROCESSES = "True"
|
|
# Default value for directory where TF event metrics are reported
|
|
DEFAULT_METRICS_FILE_DIR = "/log"
|
|
# Job finished marker in $$$$.pid file when main process is completed
|
|
TRAINING_COMPLETED = "completed"
|
|
|
|
# UnavailableMetricValue is the value in the DB
|
|
# when metrics collector can't parse objective metric from the training logs.
|
|
UNAVAILABLE_METRIC_VALUE = "unavailable"
|