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

OptionDescription

Commands

CommandDescription
cacheCommands for interacting with the artifact cache
getDownload an artifact from wandb
lsList all artifacts in a wandb project
putUpload an artifact to wandb

1 - wandb artifact cache

Usage

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

Summary

Commands for interacting with the artifact cache

Options

OptionDescription

Commands

CommandDescription
cleanupClean 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

OptionDescription
--remove-temp / --no-remove-tempRemove temp files

2 - wandb artifact get

Usage

wandb artifact get [OPTIONS] PATH

Summary

Download an artifact from wandb

Options

OptionDescription
--rootThe directory you want to download the artifact to
--typeThe 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

OptionDescription
-t, --typeThe type of artifacts to list

4 - wandb artifact put

Usage

wandb artifact put [OPTIONS] PATH

Summary

Upload an artifact to wandb

Options

OptionDescription
-n, --nameThe name of the artifact to push: project/artifact_name
-d, --descriptionA description of this artifact
-t, --typeThe type of the artifact
-a, --aliasAn alias to apply to this artifact
--idThe run you want to upload to.
--resumeResume the last run from your current directory.
--skip_cacheSkip caching while uploading artifact files.
--policy [mutable|immutable]Set the storage policy while uploading artifact files.