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

# Comment puis-je désactiver W&B lorsque je teste mon code ?

Pour configurer W\&B pour qu'il n'effectue aucune opération pendant les tests, utilisez `wandb.init(mode="disabled")` ou définissez `WANDB_MODE=disabled`.

<Note>
  Même lorsque vous utilisez `wandb.init(mode="disabled")`, W\&B enregistre toujours des artefacts dans `WANDB_CACHE_DIR`.
</Note>

***

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