ray.rllib.core.rl_module.rl_module.RLModule.save_to_checkpoint#

RLModule.save_to_checkpoint(checkpoint_dir_path: str | Path) None[source]#

Saves the module to a checkpoint directory.

Parameters:

checkpoint_dir_path – The directory to save the checkpoint to.

Raises:

ValueError – If dir_path is not an absolute path.