ray.train.backend.BackendConfig#

class ray.train.backend.BackendConfig#

Parent class for configurations of training backend.

DeveloperAPI: This API may change across minor Ray releases.

to_dict() Dict[str, Any][source]#

Returns serializable dictionary representation of the backend config. Subclasses can override this to expose framework-specific configuration.

The fields here are used for state export of the backend config. If a field is not serializable, it should be excluded.