HyperDriveErrorStrings クラス

HyperDrive SDK 全体で使用されるエラー文字列のコレクション。

継承
builtins.object
HyperDriveErrorStrings

コンストラクター

HyperDriveErrorStrings()

属性

DICT_VALIDATION_INVALID_ARGUMENT

DICT_VALIDATION_INVALID_ARGUMENT = 'Invalid arguments received for {method} method'

DISTRIBUTION_VALIDATION_FAILURE

DISTRIBUTION_VALIDATION_FAILURE = 'Failed to validate a parameter distribution due to {err}'

FOUND_CHILD_RUN_NOT_IN_TERMINAL_STATE

FOUND_CHILD_RUN_NOT_IN_TERMINAL_STATE = "All resume_child_runs should be in a terminal state. Found a run with state '{state}'."

HYPERDRIVE_RUN_CANCELLATION_FAILED

HYPERDRIVE_RUN_CANCELLATION_FAILED = 'Exception occurred while cancelling HyperDrive run. Please try again later.'

HYPERDRIVE_RUN_CREATION_FAILED

HYPERDRIVE_RUN_CREATION_FAILED = 'Exception occurred while creating the HyperDrive run: [{err}]. Please try again later.'

INVALID_COMPUTE_TARGET

INVALID_COMPUTE_TARGET = 'Automated hyperparameter tuning is not supported for types DatabricksCompute and local.'

INVALID_CONFIG_SETTING

INVALID_CONFIG_SETTING = '{obj} expects {condition}'

INVALID_KEY_IN_DICT

INVALID_KEY_IN_DICT = 'Could not find {key} in {dict}'

INVALID_RUN_HOST

INVALID_RUN_HOST = 'The new run should have the same host as {type}'

MISSING_CHOICE_VALUES

MISSING_CHOICE_VALUES = 'Please specify an input for choice.'

NOT_IMPLEMENTED

NOT_IMPLEMENTED = '{feature} is not implemented for HyperDrive run'

REHYDRATE_POLICY_NOT_FOUND

REHYDRATE_POLICY_NOT_FOUND = 'Unknown policy {policy}.'

REHYDRATE_UNKNOWN_SAMPLING

REHYDRATE_UNKNOWN_SAMPLING = 'Failed to rehydrate run due to unknown sampling method.'

RESUME_CHILD_RUNS_COME_FROM_TOO_MANY_PARENT_RUNS

RESUME_CHILD_RUNS_COME_FROM_TOO_MANY_PARENT_RUNS = 'resume_child_runs should not come from more than {max_num} unique parents. {found} unique parents were found.'

RESUME_CHILD_RUNS_CONTAINS_DUPLICATE

RESUME_CHILD_RUNS_CONTAINS_DUPLICATE = 'resume_child_runs cannot contain duplicate runs.'

RESUME_CHILD_RUN_WITHOUT_PARENT_RUN

RESUME_CHILD_RUN_WITHOUT_PARENT_RUN = 'Every run in resume_child_runs should have a parent run.'

UNEXPECTED_TYPE

UNEXPECTED_TYPE = 'Expected type {exp} for {obj} but got {actual}'

WARM_START_RUNS_DONT_MATCH

WARM_START_RUNS_DONT_MATCH = '{obj} should be the same for all runs. {additional_info}'