Skip to main content
GitHub source

Usage

Usage: cleanup [OPTIONS] TARGET_SIZE

Description

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

Arguments

NameDefaultType
target_sizeSTRNoneTrue

Options

FlagTypeDescription
--remove-tempBOOL FlagAlso remove temporary files from the cache. Default: False