Skip to main content
Reduce the local artifact cache size. Remove less frequently used files until the cache is at or below the TARGET_SIZE. TARGET_SIZE accepts human-readable formats (for example, 10GB or 500MB). Examples: Reduce the artifact cache to 10 GB
wandb artifact cache cleanup 10GB
Remove temporary files
wandb artifact cache cleanup --remove-temp 5GB

Usage

wandb artifact cache cleanup [OPTIONS] TARGET_SIZE

Options

remove_temp

Also remove temporary files from the cache.
FlagDefaultType
--remove-tempFalseBOOL

help

Show this message and exit.
FlagDefaultType
--helpFalseBOOL

CLI Help

Usage: artifact cache cleanup [OPTIONS] TARGET_SIZE

  Reduce the local artifact cache size.

  Remove less frequently used files until the cache is at or below the
  TARGET_SIZE. TARGET_SIZE accepts human-readable formats (for example, 10GB
  or 500MB).

  Examples:

  Reduce the artifact cache to 10 GB

  ```bash wandb artifact cache cleanup 10GB ```

  Remove temporary files

  ```bash wandb artifact cache cleanup --remove-temp 5GB ```

Options:
  --remove-temp / --no-remove-temp
                                  Also remove temporary files from the cache.
  --help                          Show this message and exit.