ray.train.Checkpoint.__init__#

Checkpoint.__init__(path: str | PathLike, filesystem: pyarrow.fs.FileSystem | None = None)[source]#

Construct a Checkpoint.

Parameters:
  • path – A local path or remote URI containing the checkpoint data. If a filesystem is provided, then this path must NOT be a URI. It should be a path on the filesystem with the prefix already stripped.

  • filesystem – PyArrow FileSystem to use to access data at the path. If not specified, this is inferred from the URI scheme.