Skip to content

schola.scripts.ray.settings.ResumeSettings

Class Definition

class schola.scripts.ray.settings.ResumeSettings(resume_from=None)

Bases: object

Dataclass for resume settings used in the RLlib training process. This class defines the parameters for resuming training from a saved checkpoint. This allows you to continue training from a previously saved model checkpoint instead of starting from scratch. This is useful for long training jobs or if you want to experiment with different hyperparameters without losing progress.

Parameters

resume_from

Type: str | None

Attributes

name

Type: str

resume_from

Type: str | None
Default: None

Path to a checkpoint to resume training from. This allows you to continue training from a previously saved model checkpoint instead of starting from scratch. This is useful for long training jobs or if you want to experiment with different hyperparameters without losing progress. If set to None, training will start from scratch.

Methods

__init__

__init__(resume_from=None)

Return type: None

populate_arg_group

classmethod populate_arg_group(args_group)