This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

wandb artifact

Commands for interacting with artifacts

Usage

wandb artifact COMMAND [ARGS]...

Commands

Command Description
cache Commands for interacting with the artifact cache
get Download an artifact from wandb
ls List all artifacts in a wandb project
put Upload an artifact to wandb

1 - wandb artifact cache

Commands for interacting with the artifact cache

Usage

wandb artifact cache COMMAND [ARGS]...

Commands

Command Description
cleanup Clean up less frequently used files from the artifacts cache

1.1 - wandb artifact cache cleanup

Clean up less frequently used files from the artifacts cache

Usage

wandb cleanup TARGET_SIZE [OPTIONS]

Arguments

Argument Description Required
TARGET_SIZE No description available Yes

Options

Option Description
--remove-temp Remove temp files (default: False)

2 - wandb artifact get

Download an artifact from wandb

Usage

wandb get PATH [OPTIONS]

Arguments

Argument Description Required
PATH No description available Yes

Options

Option Description
--root The directory you want to download the artifact to
--type The type of artifact you are downloading

3 - wandb artifact ls

List all artifacts in a wandb project

Usage

wandb ls PATH [OPTIONS]

Arguments

Argument Description Required
PATH No description available Yes

Options

Option Description
--type, -t The type of artifacts to list

4 - wandb artifact put

Upload an artifact to wandb

Usage

wandb put PATH [OPTIONS]

Arguments

Argument Description Required
PATH No description available Yes

Options

Option Description
--name, -n The name of the artifact to push: project/artifact_name
--description, -d A description of this artifact
--type, -t The type of the artifact (default: dataset)
--alias, -a An alias to apply to this artifact (default: [’latest’])
--id The run you want to upload to.
--resume Resume the last run from your current directory.
--skip_cache Skip caching while uploading artifact files. (default: False)
--policy Set the storage policy while uploading artifact files. (default: mutable)