Skip to content

Commit 2f1c083

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2461f52 commit 2f1c083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightning/pytorch/callbacks/device_stats_monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class DeviceStatsMonitor(Callback):
3838
Device statistics are logged with keys prefixed as
3939
``DeviceStatsMonitor.{hook_name}/{base_metric_name}`` (e.g.,
4040
``DeviceStatsMonitor.on_train_batch_start/cpu_percent``).
41-
The source of these metrics depends on the ``cpu_stats`` flag
42-
and the active accelerator.
41+
The source of these metrics depends on the ``cpu_stats`` flag
42+
and the active accelerator.
4343
4444
CPU (via ``psutil``): Logs ``cpu_percent``, ``cpu_vm_percent``, ``cpu_swap_percent``.
4545
All are percentages (%).

0 commit comments

Comments
 (0)