Skip to content

Commit

Permalink
Use 'fork' as W&B start method
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-snd committed Sep 24, 2022
1 parent d0ebee4 commit 7f23cce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/trecover/train/collab/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def __init__(self,
id=wandb_id,
dir=wandb_registry,
resume='allow',
anonymous='never'
anonymous='never',
settings=wandb.Settings(start_method='fork')
)

self._peer_status()
Expand Down
3 changes: 2 additions & 1 deletion src/trecover/train/collab/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def __init__(self,
id=wandb_id,
dir=wandb_registry,
resume='allow',
anonymous='never'
anonymous='never',
settings=wandb.Settings(start_method='fork')
)

def stream(self) -> Generator[Tuple[int, List[Panel]], None, None]:
Expand Down

0 comments on commit 7f23cce

Please sign in to comment.