W&B는 Amazon SageMaker와 통합되어 하이퍼파라미터를 자동으로 읽고, 분산 실행되는 Runs를 그룹화하며, 체크포인트에서 실행을 재개할 수 있도록 지원합니다.Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-weave-caching.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
인증 (Authentication)
W&B는 트레이닝 스크립트 상대 경로에서secrets.env라는 파일을 찾아 wandb.init()이 호출될 때 해당 내용을 환경 변수로 로드합니다. 실험을 시작하는 데 사용하는 스크립트에서 wandb.sagemaker_auth(path="source_dir")를 호출하여 secrets.env 파일을 생성할 수 있습니다. 이 파일은 반드시 .gitignore에 추가해 주세요!
기존 Estimator 사용하기
SageMaker에서 사전 구성된 Estimator 중 하나를 사용하는 경우, 소스 디렉토리에 wandb가 포함된requirements.txt를 추가해야 합니다.
psutil을 직접 설치해야 합니다: