Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Dec 20, 2024
2 parents 2747c3f + 6bce4fa commit 67e6c04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dvclive/monitor_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def _check_directories_to_monitor(
def _monitoring_loop(self):
while not self._shutdown_event.is_set():
self._metrics = {}
last_metrics = {}
for _ in range(self._num_samples):
try:
last_metrics = self._get_metrics()
Expand Down

0 comments on commit 67e6c04

Please sign in to comment.