> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I disable Weights & Biases while testing my code?

To configure Weights & Biases as a no-op for testing, use `wandb.init(mode="disabled")` or set `WANDB_MODE=disabled`.

<Note>
  Even when you use `wandb.init(mode="disabled")`, Weights & Biases still saves artifacts to `WANDB_CACHE_DIR`.
</Note>

***

<Badge stroke shape="pill" color="blue" size="md">[Artifacts](/support/models/tags/artifacts)</Badge>
