syne_tune.constants module

Collects constants to be shared between core code and tuning scripts or benchmarks.

syne_tune.constants.SYNE_TUNE_ENV_FOLDER = 'SYNETUNE_FOLDER'

Environment variable that allows to overides default library folder

syne_tune.constants.SYNE_TUNE_DEFAULT_FOLDER = 'syne-tune'

Name of default library folder used if the env variable is not defined

syne_tune.constants.ST_WORKER_ITER = 'st_worker_iter'

Number of times reporter was called

syne_tune.constants.ST_WORKER_TIMESTAMP = 'st_worker_timestamp'

Time stamp when worker was called

syne_tune.constants.ST_WORKER_TIME = 'st_worker_time'

Time since creation of reporter

syne_tune.constants.ST_WORKER_COST = 'st_worker_cost'

Estimate of dollar cost spent so far

syne_tune.constants.ST_INSTANCE_TYPE = 'st_instance_type'

Instance type to be used for job execution (SageMaker backend)

syne_tune.constants.ST_INSTANCE_COUNT = 'st_instance_count'

Number of instances o be used for job execution (SageMaker backend)

syne_tune.constants.ST_SAGEMAKER_METRIC_TAG = 'tune-metric'

Tag for log lines used in Reporter

syne_tune.constants.ST_CHECKPOINT_DIR = 'st_checkpoint_dir'

Name of config key for checkpoint directory

syne_tune.constants.ST_CONFIG_JSON_FNAME_ARG = 'st_config_json_filename'

Name of config key for config JSON file

syne_tune.constants.ST_REMOTE_UPLOAD_DIR_NAME = 'tuner'

Name for upload_dir in RemoteTuner

syne_tune.constants.ST_RESULTS_DATAFRAME_FILENAME = 'results.csv.zip'

Name for results dataframe stored in StoreResultsCallback

syne_tune.constants.ST_METADATA_FILENAME = 'metadata.json'

Name for metadata file stored in Tuner

syne_tune.constants.ST_TUNER_DILL_FILENAME = 'tuner.dill'

Name for final tuner object file stored in Tuner

syne_tune.constants.ST_DATETIME_FORMAT = '%Y-%m-%d-%H-%M-%S'

Datetime format used in result path names

syne_tune.constants.MAX_METRICS_SUPPORTED_BY_SAGEMAKER = 40

Max number of metrics allowed for estimator

syne_tune.constants.TUNER_DEFAULT_SLEEP_TIME = 5.0

Default value for sleep_time