class documentation

class ResourceBasedTunerConfig: (source)

View In Hierarchy

Options for a ResourceBasedTuner or a ResourceBasedSlotSupplier.

Warning

The resource based tuner is currently experimental.

Class Variable target_cpu_usage A value between 0 and 1 that represents the target (system) CPU usage. This can be set to 1.0 if desired, but it's recommended to leave some headroom for other processes.
Class Variable target_memory_usage A value between 0 and 1 that represents the target (system) memory usage. It's not recommended to set this higher than 0.8, since how much memory a workflow may use is not predictable, and you don't want to encounter OOM errors.
target_cpu_usage: float = (source)

A value between 0 and 1 that represents the target (system) CPU usage. This can be set to 1.0 if desired, but it's recommended to leave some headroom for other processes.

target_memory_usage: float = (source)

A value between 0 and 1 that represents the target (system) memory usage. It's not recommended to set this higher than 0.8, since how much memory a workflow may use is not predictable, and you don't want to encounter OOM errors.