Command line interface

Command line interface#

Wandb offline syncer. To pass arguments to wandb sync, e.g., --sync-all, use -- before the arguments. For example: wandb-osh --wait 10 -- --sync-all

usage: wandb-osh [-h] [--command-dir COMMAND_DIR] [--wait WAIT]
                 [--timeout TIMEOUT]
                 [wandb_options ...]

Positional Arguments#

wandb_options

Options to be passed on to wandb sync, e.g. --sync-all. When specifying a flag to wandb, please add a -- before the option, e.g., wandb-osh -- --sync-all

Named Arguments#

--command-dir

Command dir: Directory in which the hook creates files to trigger a synchronization.

--wait

Minimal time that has to pass before checking the command dir again.

--timeout

Timeout for wandb sync. If <=0, no timeout.