Skip to main content
Reduce the local artifact cache size. Remove the least recently accessed files first until the cache is at or below the TARGET_SIZE. TARGET_SIZE accepts human-readable formats (for example, 10GB or 500MB). For example, to reduce the artifact cache to 10 GB:
$ wandb artifact cache cleanup 10GB
To remove temporary files and reduce the artifact cache to 5 GB:
$ wandb artifact cache cleanup --remove-temp 5GB

Usage

wandb artifact cache cleanup TARGET_SIZE [OPTIONS]

Arguments

ArgumentDescriptionRequired
TARGET_SIZENo description availableYes

Options

OptionDescription
--remove-tempAlso remove temporary files from the cache. (default: False)