You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
120
120
121
121
### Removed
122
122
123
+
- Removed the deprecated `flush_logs_every_n_steps` argument from the `Trainer` constructor ([#13074](https://github.com/PyTorchLightning/pytorch-lightning/pull/13074))
124
+
125
+
123
126
- Removed the deprecated `process_position` argument from the `Trainer` constructor ([13071](https://github.com/PyTorchLightning/pytorch-lightning/pull/13071))
Copy file name to clipboardExpand all lines: docs/source/visualize/logging_advanced.rst
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,20 +49,19 @@ To change this behaviour, set the *log_every_n_steps* :class:`~pytorch_lightning
49
49
Modify flushing frequency
50
50
=========================
51
51
52
-
Metrics are kept in memory for N steps to improve training efficiency. Every N steps, metrics flush to disk. To change the frequency of this flushing, use the *flush_logs_every_n_steps* Trainer argument.
52
+
Some loggers keep logged metrics in memory for N steps and only periodically flush them to disk to improve training efficiency.
53
+
Every logger handles this a bit differently. For example, here is how to fine-tune flushing for the TensorBoard logger:
53
54
54
55
.. code-block:: python
55
56
56
-
#faster training, high memory
57
-
Trainer(flush_logs_every_n_steps=500)
57
+
#Default used by TensorBoard: Write to disk after 10 logging events or every two minutes
0 commit comments