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

Return to the regular view of this page.

wandb artifact

Usage

wandb artifact [OPTIONS] COMMAND [ARGS]...

Summary

Commands for interacting with artifacts

Options

Option Description

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

Usage

wandb artifact cache [OPTIONS] COMMAND [ARGS]...

Summary

Commands for interacting with the artifact cache

Options

Option Description

Commands

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

1.1 - wandb artifact cache cleanup

Usage

wandb artifact cache cleanup [OPTIONS] TARGET_SIZE

Summary

Clean up less frequently used files from the artifacts cache

Options

Option Description
–remove-temp / –no-remove-temp Remove temp files

2 - wandb artifact get

Usage

wandb artifact get [OPTIONS] PATH

Summary

Download an artifact from wandb

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

Usage

wandb artifact ls [OPTIONS] PATH

Summary

List all artifacts in a wandb project

Options

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

4 - wandb artifact put

Usage

wandb artifact put [OPTIONS] PATH

Summary

Upload an artifact to wandb

Options

Option Description
-n, –name The name of the artifact to push: project/artifact_name
-d, –description A description of this artifact
-t, –type The type of the artifact
-a, –alias An alias to apply to this artifact
–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.
–policy [mutable immutable]