W&B는 기본적으로 미국에 위치한 비공개 Google Cloud Storage 버킷에 아티팩트 파일을 저장합니다. 모든 파일은 저장 상태와 전송 중 모두 암호화됩니다. 민감한 파일의 경우 Private Hosting을 설정하거나 reference artifacts를 사용할 것을 권장합니다. 학습 중 W&B는 로그, 아티팩트, 구성 파일을 다음 로컬 디렉터리에 저장합니다:Documentation Index
Fetch the complete documentation index at: https://translations.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
| File | Default location | To change default location set: |
|---|---|---|
| logs | ./wandb | wandb.init의 dir 또는 WANDB_DIR 환경 변수 |
| artifacts | ~/.cache/wandb | WANDB_CACHE_DIR 환경 변수 |
| configs | ~/.config/wandb | WANDB_CONFIG_DIR 환경 변수 |
| staging artifacts for upload | ~/.cache/wandb-data/ | WANDB_DATA_DIR 환경 변수 |
| downloaded artifacts | ./artifacts | WANDB_ARTIFACT_DIR 환경 변수 |
로컬 아티팩트 캐시 정리
wandb artifact cache cleanup 명령을 실행하십시오.
다음 코드 스니펫은 캐시 크기를 1GB로 제한하는 방법을 보여줍니다. 아래 코드를 터미널에 복사해 붙여넣으십시오: