Skip to main content
Update the description, metadata, and alias of an existing artifact.
When to use wandb.Artifact.save() or wandb.Run.log_artifact()
  • Use Artifact.save() to update an existing artifact without starting a new run.
  • Use wandb.Run.log_artifact() to create a new artifact and associate it with a specific run.
Use the W&B Public API (wandb.Api) to update an artifact outside of a run, or use the wandb.Artifact class while a run is active.
You can’t update the alias of an artifact linked to a collection in the W&B Registry.
The following code example shows how to update the description of an artifact with the wandb.Artifact API: