AI & ML
MemX: Memory-Aware Automatic Parallelism for Cross-Vendor Heterogeneous GPU Training
arXiv cs.DC0 views
arXiv:2610.41525v1 Announce Type: new Abstract: Cross-vendor heterogeneous GPU clusters are increasingly used for large-scale model training. However, their GPUs differ substantially in compute power, memory capacity, and interconnect characteristics. Existing automatic parallelism training systems usually minimize iteration time while treating memory as a hard constraint, almost failing in resolving the compute--memory asymmetry of cross-vendor clusters regardless correlation between memory and throughput. In this paper, we present MemX, a new memory-aware automatic parallelism system that jointly optimizes iteration time, peak memory usage, and cross-GPU memory balance. MemX consists of a weighted-product objective function, heterogeneous recomputation strategies, a minimal-set profiler, interpolation-based data augmentation, a dual-output XGBoost predictor, and a hash-signature prediction cache, in order to accelerate search of large-scale auto-parallel best configurations at lower cost. We implement MemX on Megatron-LM and evaluate it against four automatic parallelism baselines on two heterogeneous clusters. MemX achieves the lowest prediction Mean Absolute Percentage Error (MAPE) of 12.17% and is the only method that identifies the real Top-1 configuration under both time-based and memory-balance rankings. In terms of search cost and search space, MemX searches 31,240 configurations in 26.5 seconds, while an end-to-end profiling baseline is extrapolated to require about 17 days at the same scale. The simulation study that extends the measured 20-GPU data to 40-GPU and 60-GPU clusters further illustrates the effectiveness of MemX at larger scales.
Source:https://arxiv.org/abs/2610.41525PreviousHiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic WorkloadsNextWhere KV-Cache Error Lives in Looped Language Models: A Diagnostic Study of Ouro and Huginn
Related posts
How to Calculate In-Hand Salary from CTC in India (Budget FY 2026-27 Breakdown)
0dev.to
Amp Spaces: One Agent to Coordinate Them All — What Changes When You Stop Managing Threads
0dev.to
AI Agents Now Design and Run Your Robot-Powered Lab. The Molecules They Engineer Deserve Better Than a Flat Screen.
0dev.to

When AI Does All the Work, What Is the Meaning of Human Life? Beyond the Wage-Labor Identity
0dev.to
Three traps when an AI assistant reads congressional stock trade disclosures
0dev.to
Students Can Get Zed Pro Free for 1 Year
0dev.to