Skip to main content

Can I turn off wandb when testing my code?

Use wandb.init(mode=“disabled”) or set WANDB_MODE=disabled to configure W&B as a no-operation (NOOP) for testing purpose …

How can I fetch these Version IDs and ETags in W&B?

If an artifact reference is logged with W&B and versioning is enabled on the buckets, the version IDs appear in the Amaz …

How can I find the artifacts logged or consumed by a run? How can I find the runs that produced or consumed an artifact?

W&B tracks artifacts logged by each run and those used by each run to construct an artifact graph. This graph is a bipar …

How do I best log models from runs in a sweep?

One effective approach for logging models in a sweep involves creating a model artifact for the sweep. Each version repr …

How do I find an artifact from the best run in a sweep?

To retrieve artifacts from the best performing run in a sweep, use the following code:

How do I log an artifact to an existing run?

Occasionally, it is necessary to mark an artifact as the output of a previously logged run. In this case, reinitialize t …

How do I save code?‌

Use save_code=True in wandb.init to save the main script or notebook that launches the run. To save all code for a run, …

How do I set a retention or expiration policy on my artifact?

To manage artifacts that contain sensitive data or to schedule the deletion of artifact versions, set a TTL (time-to-liv …

How much storage does each artifact version use?

Only files that change between two artifact versions incur storage costs. Consider an image artifact named animals that …

Is it possible to recover an artifact after it has been deleted with a run?

When deleting a run, a prompt asks whether to delete the associated artifacts. Choosing this option permanently removes …

Using artifacts with multiple architectures and runs?

There are various methods to version a model. Artifacts provide a tool for model versioning tailored to specific needs. …

Where are artifacts downloaded, and how can I control that?

By default, artifacts download to the artifacts/ folder. To change the location: Pass it to wandb.Artifact().download: S …

Who has access to my artifacts?

Artifacts inherit access permissions from their parent project: In a private project, only team members can access artif …