Ray Tune 함수와 Train V2 실행

Ray Tune 함수와 Train V2 실행 An architecture diagram generated by Archify. Tuner · searcher / trial scheduler · Architecture component Tuner searcher / trial scheduler Trial function · construct Trainer + fit() · Architecture component Trial function construct Trainer + fit() Train workers · model / data / collectives · Architecture component Train workers model / data / collectives Persistent checkpoint store · user-authored state / shards · Architecture component Persistent checkpoint store user-authored state / shards TuneReportCallback · metrics + checkpoint path · Architecture component TuneReportCallback metrics + checkpoint path trial config ScalingConfig checkpoint upload report callback rank 0 metrics / path Legend Backend Database

명시적 연동

  • • V2 Trainer instance를 Tuner에 직접 넘기지 않음
  • • Trial마다 고유 Train run 이름과 자원 예산 필요

보고·복구 경계

  • • 2.58.0 V2 report는 모든 worker가 참여하는 barrier
  • • Callback은 checkpoint를 다시 업로드하거나 metric 평균을 계산하지 않음