본문 바로가기
원문
Google Developers Blog·· 8일 전AI 점수47

MaxText에서 Streaming DiLoCo를 활용한 도시 간 분산 LLM 학습

Distributed LLM Training Across Metros: Streaming DiLoCo in MaxText

AI 요약

Google은 오픈소스 JAX 기반 LLM 학습 프레임워크 MaxText에서 Streaming DiLoCo를 구현한 방식을 해설했다. WAN을 통해 떨어진 데이터센터에서 학습할 때, 전체 파라미터를 일정 간격으로 한꺼번에 동기화하는 대신 모델을 나눈 프래그먼트를 매 스텝 조금씩 동기화하여 통신량이 급증하는 것을 피한다. MaxText에서는 P = Nlayers + 1개의 프래그먼트로 나누고, Δh = max(1, round(H/P))스텝마다 하나씩 동기화한다.

출처: Google Developers Blog · developers.googleblog.com