Can Hybrid-Parallel Planning Support Alternating Model–Strategy Design? Dependency-Keyed Per-Layer Primitives for Re-Planning
Abstract
Production training of large models alternates between model edits and hybrid-parallel strategy planning. Fixed-configuration planners solve each revision from scratch, while unvalidated reuse across edits risks returning a different plan than full re-search would. We introduce a dependency-keyed per-layer primitive interface for re-planning. Its layer primitives expose communication, memory, and compute estimates that compose into pipeline-stage memory and step time. CONCORD uses this shared representation to select efficient parallel layouts and jointly optimize layer assignment and recomputation under peak-memory constraints. The same templates expose input dependencies for selective invalidation, while value signatures gate reuse by matching current inputs. This enables reuse of valid local evaluations across model edits while rerunning global search and feasibility checks. On production MoE workloads at up to 4096 devices, selected plans achieve 1.14–1.24× training step-time speedup over an expert-tuned Megatron-style baseline, reaching 1.70× on a long-context workload. The complete reuse path combines within-call memoization, cross-edit primitive reuse, and compatible solver warm-start, achieving a median 2.75× planner wall-clock speedup over cache-disabled full search. An independent ablation separates the contributions of these reuse mechanisms. Across all tested model edits, cold and warm searches match in candidate and feasibility counts and top-1 choices, with no observed stale-hit mismatches.