AlgorithmConfig.debugging(*, logger_creator: Optional[Callable[[], ray.tune.logger.logger.Logger]] = <ray.rllib.utils.from_config._NotProvided object>, logger_config: Optional[dict] = <ray.rllib.utils.from_config._NotProvided object>, log_level: Optional[str] = <ray.rllib.utils.from_config._NotProvided object>, log_sys_usage: Optional[bool] = <ray.rllib.utils.from_config._NotProvided object>, fake_sampler: Optional[bool] = <ray.rllib.utils.from_config._NotProvided object>, seed: Optional[int] = <ray.rllib.utils.from_config._NotProvided object>, worker_cls=None) ray.rllib.algorithms.algorithm_config.AlgorithmConfig[source]#

Sets the config’s debugging settings.

  • logger_creator – Callable that creates a ray.tune.Logger object. If unspecified, a default logger is created.

  • logger_config – Define logger-specific configuration to be used inside Logger Default value None allows overwriting with nested dicts.

  • log_level – Set the ray.rllib.* log level for the agent process and its workers. Should be one of DEBUG, INFO, WARN, or ERROR. The DEBUG level will also periodically print out summaries of relevant internal dataflow (this is also printed out once at startup at the INFO level). When using the rllib train command, you can also use the -v and -vv flags as shorthand for INFO and DEBUG.

  • log_sys_usage – Log system resource metrics to results. This requires psutil to be installed for sys stats, and gputil for GPU metrics.

  • fake_sampler – Use fake (infinite speed) sampler. For testing only.

  • seed – This argument, in conjunction with worker_index, sets the random seed of each worker, so that identically configured trials will have identical results. This makes experiments reproducible.


This updated AlgorithmConfig object.