> ## 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.

# Où les Artifacts sont-ils téléchargés et comment puis-je contrôler leur emplacement ?

Par défaut, W\&B télécharge les Artifacts dans le dossier `artifacts/`. Pour modifier cet emplacement :

* Passez le chemin à [`wandb.Artifact().download`](/fr/models/ref/python/public-api/api) :

  ```python theme={null}
  wandb.Artifact().download(root="<path_to_download>")
  ```

* Définissez la variable d'environnement `WANDB_ARTIFACT_DIR` [Variables d'environnement](/fr/models/track/environment-variables) :

  ```python theme={null}
  import os
  os.environ["WANDB_ARTIFACT_DIR"] = "<path_to_download>"
  ```

***

<Badge stroke shape="pill" color="orange" size="md">[Artifacts](/fr/support/models/tags/artifacts)</Badge><Badge stroke shape="pill" color="orange" size="md">[Variables d’environnement](/fr/support/models/tags/environment-variables)</Badge>
