dymad.training.execution_services¶
Classes
|
Non-checkpointable runtime policy for one training execution path. |
- class dymad.training.execution_services.ExecutionServices(device, checkpoint_prefix, results_prefix, log_level='info', log_stdout=False)¶
Bases:
objectNon-checkpointable runtime policy for one training execution path.
- apply_to_config(config)¶
- Return type:
dict[str,Any]
- checkpoint_file(file_name)¶
- Return type:
str
-
checkpoint_prefix:
str¶
- configure_logger(name, prefix=None)¶
- Return type:
Logger
-
device:
device¶
- ensure_artifact_dirs()¶
- Return type:
None
- classmethod from_config(config, default_device=None)¶
- Return type:
- classmethod from_driver_config(base_config, config_path, default_device=None)¶
- Return type:
-
log_level:
str= 'info'¶
-
log_stdout:
bool= False¶
- logger_prefix(default_name)¶
- Return type:
str
-
results_prefix:
str¶
- with_device(device)¶
- Return type:
- with_paths(*, checkpoint_prefix=None, results_prefix=None)¶
- Return type: