Skip to main content

Usage

Description

Upload existing local W&B run data to the cloud. MIGRATION NOTE: This command is being gradually rerouted to wandb beta sync. Some options are only allowed in legacy mode, and others only in beta mode. See option descriptions for info. Sync offline or incomplete runs from the local wandb directory to the W&B server. If PATH is provided, sync runs at that path. If no path is given, search for a ./wandb directory, then a wandb/ subdirectory. Run without arguments to print a summary of synced and unsynced runs without uploading anything. When syncing a specific path, include TensorBoard event files by default. When using --sync-all, disable TensorBoard by default (use --sync-tensorboard to enable it). PATH is a .wandb file or a run directory that contains a .wandb file. A typical path looks like: ./wandb/run-YYYYMMDD_HHMMSS-RUN_ID/run-RUN_ID.wandb where run-YYYYMMDD_HHMMSS-RUN_ID is the run directory and run-RUN_ID.wandb is the .wandb file. YYYYMMDD_HHMMSS is the timestamp of when the run was created and RUN_ID is the unique ID of the run. For example, to show a summary of local runs and their sync status:
To sync run ID abcd1234 that is locally saved locally in the ./wandb/run-20170617_000000-abcd1234 directory:
To sync run abcd1234 by its local .wandb filepath (./wandb/run-20170617_000000-abcd1234/run-abcd1234.wandb):
To sync all unsynced runs in the local wandb directory:
To delete local data for runs that have already been synced:
To delete synced runs older than 48 hours without a confirmation prompt:

Arguments

Options