Using Artifacts Without Initiating a Run

Isn’t it possible to use an artifact without calling wandb.init()? There are many occasions in which we need to explore or use an artifact but we don’t want to run any specific experiment, nor we want a new run to be saved on wandb.

Hey @hosein-rezaei, thanks for writing in! You could use our public API like:

import wandb

# Use the API to fetch the artifact
api = wandb.Api()
artifact = api.artifact("user/project/artifact:latest")

# Download the artifact to a local directory
local_path = artifact.download()

To access your artifact without creating a run. Please let me know if this is helpful!