Skip to content

Instantly share code, notes, and snippets.

@zaccharieramzi
Created January 7, 2022 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaccharieramzi/3e1abc67aefac106ede2883c56ac8e1a to your computer and use it in GitHub Desktop.
Save zaccharieramzi/3e1abc67aefac106ede2883c56ac8e1a to your computer and use it in GitHub Desktop.
#!/bin/bash
offline_runs="$1/offline-run*"
while :
do
for ofrun in $offline_runs
do
wandb sync $ofrun;
done
sleep 5m
done
@zaccharieramzi
Copy link
Author

A script to synchronize all offline wandb runs with a sleep.
This doesn't use --sync-all atm because of wandb/wandb#3111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment