Skip to main content

Usage

cleanup [OPTIONS] TARGET_SIZE

Description

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

Arguments

NameDefaultType
target_sizeSTRTrue

Options

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