Is there a way to disable writing to result.json?

How severe does this issue affect your experience of using Ray?

  • Low: It annoys or frustrates me for a moment.

By default, RLlib uses this JsonLogger and logs trial results in the file result.json. This file can become really large at the end (some GB) and writing to it after each iteration seems to be time-consuming. Is there a way to disable this logging process or at least reduce it?

NOTE: I use plain RLlib for my training trials, no Tune.

Hi @klausk55 ,

Have a look at this logging example.
Essentially, your config can contain

"logger_config": {
             # Use the tune.logger.NoopLogger class for no logging.
             "type": "ray.tune.logger.NoopLogger",
         },

To get rid of logging.

2 Likes