> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1917.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Puis-je désactiver wandb lorsque je teste mon code ?

Utilisez `wandb.init(mode="disabled")` ou définissez `WANDB_MODE=disabled` pour que W\&B n'effectue aucune opération (NOOP) lors des tests.

<Note>
  L'utilisation de `wandb.init(mode="disabled")` n'empêche pas W\&B d'enregistrer des artifacts dans `WANDB_CACHE_DIR`.
</Note>

***

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