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 and reduce the artifact cache to 5 GB
wandb artifact cache cleanup --remove-temp 5GB

Usage

wandb artifact cache cleanup [OPTIONS] TARGET_SIZE

Options

FlagTypeDescription
--remove-tempBOOLAlso remove temporary files from the cache. Default: False
--helpBOOLShow this message and exit. Default: False