Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
add stats and metadata(suboptimal solution)
Browse files Browse the repository at this point in the history
  • Loading branch information
raubitsj committed Sep 2, 2020
1 parent 64209b4 commit 29249a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wandb/internal/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ def handle_request_run_start(self, record):
assert run_start
assert run_start.run

if not self._settings._disable_stats and not self._settings._offline:
if not self._settings._disable_stats:
pid = os.getpid()
self._system_stats = stats.SystemStats(pid=pid, interface=self._interface,)
self._system_stats.start()

if not self._settings._disable_meta and not self._settings._offline:
if not self._settings._disable_meta:
run_meta = meta.Meta(settings=self._settings, interface=self._interface,)
run_meta.probe()
run_meta.write()
Expand Down

0 comments on commit 29249a0

Please sign in to comment.