시행착오 루프를 넘어서: 분산 학습을 위한 하이브리드 프로젝션과 자동 튜닝
Beyond the Trial-and-Error Loop: Hybrid Projection and Automated Tuning for Distributed Training
한국어 초록
수백 개의 GPU에 걸친 분산 LLM 학습을 구성하려면 텐서, 파이프라인, 전문가, 컨텍스트, 데이터 병렬화를 마이크로 배치 크기, 재계산, 샤딩, 중첩(overlap)과 함께 공동으로 최적화해야 하며, 이는 활성화 계산의 단 1바이트에 메모리 적법성이 좌우될 수 있는 조합적 공간이다. 현재 팀들은 비용이 큰 다중 노드 시행착오를 통해 이 공간을 탐색하며, 충돌과 차선의 레시피로 GPU 시간을 소모한다. 우리는 두 개의 결합된 구성 요소로 이 루프를 닫는 Primus Projection을 제시한다. 첫째, 측정할 수 있는 것은 측정하고 측정할 수 없는 것은 시뮬레이션하는 하이브리드 프로젝션 엔진이다. 단일 장치만으로도 수행 가능한 GPU 마이크로벤치마크가 연산 커널과 범위 내 통신을 포착하고, 노드 하위 규모에서 축소-측정-확대 워크플로가 범위 밖의 집합 통신, FSDP 중첩, 다중 노드 목표 환경의 전체 파이프라인 스케줄을 해석적으로 복원한다. 순수 시뮬레이션 모드는 전적으로 CPU에서 실행되어 GPU 없이도 실리콘 이전 단계의 계획을 가능하게 한다. 둘째, Primus Tuning Agent는 프로젝션 엔진을 후보당 수십 분이 아닌 수 초가 걸리는 빠른 점수화 오라클로 취급하고, 이를 이용해 구성 공간에 대한 지능적 탐색을 수행한다. 결정론적 시드 플래너는 단일 축을 훑으며, LLM 조사 루프는 플래너가 도달할 수 없는 교차 축 조합을 제안하고, 해석적 메모리 사전 필터는 GPU 시간을 쓰기 전에 실행 불가능한 후보를 기각한다. 두 세대의 GPU에 걸쳐 Llama 3.1(밀집)과 Mixtral 8x22B(MoE)에서 검증한 결과, 모든 프로젝션은 측정된 다중 노드 처리량의 약 10% 이내에 머물며, 프로덕션 규모에서도 정확도가 유지된다. 1,024개 GPU의 DeepSeek V3 671B에서 오차는 4.7%, 256개 GPU의 Qwen3-235B-A22B에서는 1.9%이다. Mixtral 8x22B 사례 연구에서 Primus Tuning Agent는 단일 노드 탐색 30분 이내에, 동일 규모에서 공개된 4노드 BF16 기준 대비 처리량이 +27% 향상되는 구성을 발견한다.
원문 초록
Configuring distributed LLM training across hundreds of GPUs requires jointly optimizing tensor, pipeline, expert, context, and data parallelism alongside micro-batch size, recomputation, sharding, and overlap, a combinatorial space where memory legality can hinge on a single byte of activation accounting. Today, teams navigate it through expensive multi-node trial and error, burning GPU-hours on crashes and suboptimal recipes. We present Primus Projection, which closes this loop with two coupled components. First, a hybrid projection engine that measures what it can and simulates what it cannot: GPU microbenchmarks on as few as a single device capture compute kernels and any in-scope communication; a sub-node downscale-measure-upscale workflow analytically restores out-of-scope collectives, FSDP overlap, and the full pipeline schedule at the multi-node target. A pure simulation mode runs entirely on CPU, enabling pre-silicon planning without any GPU. Second, the Primus Tuning Agent treats the projection engine as a fast scoring oracle (seconds per candidate instead of tens of minutes) and uses it to drive an intelligent search over the configuration space. A deterministic seed planner sweeps single axes; an LLM investigation loop proposes cross-axis combinations the planner cannot reach, with an analytic memory pre-filter that rejects infeasible candidates before any GPU time is spent. Validated on Llama 3.1 (dense) and Mixtral 8x22B (MoE) across two GPU generations, all projections stay within ~10% of measured multi-node throughput, and fidelity holds at production scale: 4.7% error on DeepSeek V3 671B at 1,024 GPUs and 1.9% on Qwen3-235B-A22B at 256 GPUs. In a Mixtral 8x22B case study, the Primus Tuning Agent discovers a configuration delivering +27% throughput over the published 4-node BF16 reference at the same scale, in under 30 minutes of single-node exploration.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2610.19423v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.