Skip to main content
Synchronize W&B run data to the cloud. If PATH is provided, sync runs found at the given path. If a path is not specified, search for ./wandb first, then search for a wandb/ subdirectory. To sync a specific run: wandb sync ./wandb/run-20250813_124246-n67z9ude Or equivalently: wandb sync ./wandb/run-20250813_124246-n67z9ude/run-n67z9ude.wandb

Usage

wandb sync [PATH] [OPTIONS]

Arguments

ArgumentDescriptionRequired
PATHNo description availableNo

Options

OptionDescription
--idUpload to an existing run ID.
--project, -pSet the project to upload the run to.
--entity, -eSet the entity to scope the project to.
--job_typeSet the job type to group related runs.
--sync-tensorboardSync TensorBoard tfevent files. On by default for specific paths, off for —sync-all.
--include-globsInclude only runs matching these glob patterns (comma-separated).
--exclude-globsExclude runs matching these glob patterns (comma-separated).
--include-onlineInclude runs created in online mode.
--include-offlineInclude runs created in offline mode.
--include-syncedInclude runs that are already synced.
--mark-syncedMark runs as synced after upload. (default: True)
--sync-allSync all unsynced runs in the local wandb directory. (default: False)
--cleanDelete local data for runs that are already synced. (default: False)
--clean-old-hoursDelete only synced runs older than this many hours (use with —clean). (default: 24)
--clean-forceSkip the confirmation prompt if —clean is specified. (default: False)
--showSet the number of runs to show in the summary. (default: 5)
--appendAppend data to an existing run instead of creating a new run. (default: False)
--skip-consoleSkip uploading console logs. (default: False)
--replace-tagsRename tags during sync. Use ‘old=new’ pairs separated by commas.