HyperParameterTuningResourceConfig
The configuration of resources, including compute instances and storage volumes for use in training jobs launched by hyperparameter tuning jobs. HyperParameterTuningResourceConfig
is similar to ResourceConfig
, but has the additional InstanceConfigs
and AllocationStrategy
fields to allow for flexible instance management. Specify one or more instance types, count, and the allocation strategy for instance selection.
HyperParameterTuningResourceConfig
supports the capabilities of ResourceConfig
with the exception of KeepAlivePeriodInSeconds
. Hyperparameter tuning jobs use warm pools by default, which reuse clusters between training jobs.
Types
Properties
The strategy that determines the order of preference for resources specified in InstanceConfigs
used in hyperparameter optimization.
A list containing the configuration(s) for one or more resources for processing hyperparameter jobs. These resources include compute instances and storage volumes to use in model training jobs launched by hyperparameter tuning jobs. The AllocationStrategy
controls the order in which multiple configurations provided in InstanceConfigs
are used.
The number of compute instances of type InstanceType
to use. For distributed training, select a value greater than 1.
The instance type used to run hyperparameter optimization tuning jobs. See descriptions of instance types for more information.
A key used by Amazon Web Services Key Management Service to encrypt data on the storage volume attached to the compute instances used to run the training job. You can use either of the following formats to specify a key.
The volume size in GB for the storage volume to be used in processing hyperparameter optimization jobs (optional). These volumes store model artifacts, incremental states and optionally, scratch space for training algorithms. Do not provide a value for this parameter if a value for InstanceConfigs
is also specified.