telemetry_node.callbacks#
Module for telemetry callbacks.
These callbacks are used to perform special actions when the telemetry node has been updated.
- class soulsai.distributed.server.telemetry_node.callbacks.TelemetryCallback#
Abstract class for telemetry callbacks.
Callbacks are used to trigger actions when the telemetry node has been updated.
- class soulsai.distributed.server.telemetry_node.callbacks.SaveBest(key: str, channel: str)#
Callback to send a training checkpoint message via Redis when a new best value is found.
This callback is useful to checkpoint the best model iteration during training based on the best value of a given key in the telemetry stats.