ray.rllib.utils.metrics.metrics_logger.MetricsLogger.compile#

MetricsLogger.compile() Dict[source]#

Compiles all current values and throughputs into a single dictionary.

This method combines the results of all stats and throughputs into a single dictionary, with throughput values having a “_throughput” suffix. This is useful for getting a complete snapshot of all metrics and their throughputs in one call.

Returns:

A nested dictionary containing both the current values and throughputs for all metrics. The structure matches self.stats, with throughput values having “_throughput” suffix in their keys.