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

Commit

Permalink
fix up wandb sync
Browse files Browse the repository at this point in the history
  • Loading branch information
raubitsj committed Aug 26, 2020
1 parent 657190b commit b79e586
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wandb/sdk/wandb_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def _on_final(self):
wandb.termlog("You can sync this run to the cloud by running:")
wandb.termlog(
click.style(
"wandb sync {}".format(self._settings._sync_dir), fg="yellow"
"wandb sync {}".format(self._settings.sync_file), fg="yellow"
)
)

Expand Down
2 changes: 1 addition & 1 deletion wandb/sdk_py27/wandb_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def _on_final(self):
wandb.termlog("You can sync this run to the cloud by running:")
wandb.termlog(
click.style(
"wandb sync {}".format(self._settings._sync_dir), fg="yellow"
"wandb sync {}".format(self._settings.sync_file), fg="yellow"
)
)

Expand Down
5 changes: 4 additions & 1 deletion wandb/sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from six.moves import queue
from six.moves.urllib.parse import quote as url_quote
import wandb
from wandb.interface import interface
from wandb.internal import datastore
from wandb.internal import sender
from wandb.internal import settings_static
Expand Down Expand Up @@ -52,8 +53,10 @@ def run(self):
settings = settings_static.SettingsStatic(sd)
record_q = queue.Queue()
result_q = queue.Queue()
publish_interface = interface.BackendSender(record_q=record_q)
sm = sender.SendManager(
settings=settings, record_q=record_q, result_q=result_q)
settings=settings, record_q=record_q, result_q=result_q,
interface=publish_interface)
ds = datastore.DataStore()
ds.open_for_scan(sync_item)
while True:
Expand Down

0 comments on commit b79e586

Please sign in to comment.