Skip to main content
Upload .wandb files specified by PATHS. This is a beta re-implementation of wandb sync. It is not feature complete, not guaranteed to work, and may change in backward-incompatible ways in any release of wandb. PATHS can include .wandb files, run directories containing .wandb files, and “wandb” directories containing run directories. For example, to sync all runs in a directory: wandb beta sync ./wandb To sync a specific run: wandb beta sync ./wandb/run-20250813_124246-n67z9ude Or equivalently: wandb beta sync ./wandb/run-20250813_124246-n67z9ude/run-n67z9ude.wandb

Usage

wandb beta sync [OPTIONS] [PATHS]...

Arguments

paths

NameDefaultType
pathsNoneFile Path

Options

live

Sync a run while it’s still being logged. This may hang if the process generating the run crashes uncleanly.
FlagDefaultType
--liveFalseBOOL

entity

An entity override to use for all runs being synced.
FlagDefaultType
-e, --entitySTRING

project

A project override to use for all runs being synced.
FlagDefaultType
-p, --projectSTRING

run_id

A run ID override to use for all runs being synced. If setting this and syncing multiple files (with the same entity and project), the files will be synced in order of start time. This is intended to work with syncing multiple resumed fragments of the same run.
FlagDefaultType
--idSTRING

job_type

A job type override for all runs being synced.
FlagDefaultType
--job-typeSTRING

replace_tags

Rename tags using the format ‘old1=new1,old2=new2’.
FlagDefaultType
--replace-tagsSTRING

skip_synced

Skip runs that have already been synced with this command.
FlagDefaultType
--skip-syncedTrueBOOL

dry_run

Print what would happen without uploading anything.
FlagDefaultType
--dry-runFalseBOOL

verbose

Print more information.
FlagDefaultType
-v, --verboseFalseBOOL

n

Max number of runs to sync at a time. When syncing multiple files that are part of the same run, the files are synced sequentially in order of start time regardless of this setting. This happens for resumed runs or when using the —id parameter.
FlagDefaultType
-n5INT

help

Show this message and exit.
FlagDefaultType
--helpFalseBOOL

CLI Help

Usage: beta sync [OPTIONS] [PATHS]...

  Upload .wandb files specified by PATHS.

  This is a beta re-implementation of `wandb sync`. It is not feature
  complete, not guaranteed to work, and may change in backward-incompatible
  ways in any release of wandb.

  PATHS can include .wandb files, run directories containing .wandb files, and
  "wandb" directories containing run directories.

  For example, to sync all runs in a directory:

      wandb beta sync ./wandb

  To sync a specific run:

      wandb beta sync ./wandb/run-20250813_124246-n67z9ude

  Or equivalently:

      wandb beta sync ./wandb/run-20250813_124246-n67z9ude/run-n67z9ude.wandb

Options:
  --live                          Sync a run while it's still being logged.
                                  
                                  This may hang if the process generating the
                                  run crashes uncleanly.
  -e, --entity TEXT               An entity override to use for all runs being
                                  synced.
  -p, --project TEXT              A project override to use for all runs being
                                  synced.
  --id TEXT                       A run ID override to use for all runs being
                                  synced.
                                  
                                  If setting this and syncing multiple files
                                  (with the same entity and project), the
                                  files will be synced in order of start time.
                                  This is intended to work with syncing
                                  multiple resumed fragments of the same run.
  --job-type TEXT                 A job type override for all runs being
                                  synced.
  --replace-tags TEXT             Rename tags using the format
                                  'old1=new1,old2=new2'.
  --skip-synced / --no-skip-synced
                                  Skip runs that have already been synced with
                                  this command.
  --dry-run                       Print what would happen without uploading
                                  anything.
  -v, --verbose                   Print more information.
  -n INTEGER                      Max number of runs to sync at a time.
                                  
                                  When syncing multiple files that are part of
                                  the same run, the files are synced
                                  sequentially in order of start time
                                  regardless of this setting. This happens for
                                  resumed runs or when using the --id
                                  parameter.
  --help                          Show this message and exit.