Starscream:在 AMD Instinct GPU 上利用 GPU 分区重构 LLM 分片
Starscream: Reimagining LLM Sharding on AMD Instinct GPUs with GPU Partitioning
Starscream 提出面向 chiplet 时代的 LLM 分片方案,在 AMD Instinct MI300X 和 MI355X 上利用 GPU 分区能力,在 GPU 间分片之外增加正交的 GPU 内分片维度。该方法基于核形状保持、内存冗余消除和通信开销最小化三项原则,以张量并行为例验证,相比未考虑 chiplet 的基线,注意力最高提速 4 倍,融合 GEMM 提速 1.43 倍。
arXiv:2611.15951v1 Announce Type: cross Abstract: As GPU accelerators grow larger to meet rising compute demands, they exhibit increasingly pronounced non-uniform memory access (NUMA) characteristics that challenge existing LLM frameworks. Chiplet-based architectures provide a practical path to larger GPUs while mitigating manufacturing yield constraints. Modern GPUs such as AMD Instinct MI300X employs such a multi-die design, and further offer GPU partitioning capabilities, partitioning a single physical GPU into multiple logical devices with NUMA-aware memory domains, promising faster kernel launches, and reduced memory access latencies with improved locality. However, current parallelization strategies, designed for homogeneous GPU topologies, when applied under partitioning, extend its unidimensional sharding causing significant performance degradation. Three bottlenecks emerge: (1) memory redundancy; (2) arithmetic intensity collapse; (3) communication overhead from flat collectives. We present Starscream, a rethinking of LLM sharding for the chiplet era. Rather than stretching inter-GPU sharding thinner, Starscream adds intra-GPU sharding along an orthogonal dimension, grounded in three foundational principles: kernel shape preservation, memory redundancy elimination, and communication overhead minimization. These principles form the basis for extending any sharding strategy into the partitioning regime. We demonstrate their effectiveness using tensor parallelism as a case study. On AMD MI300X and MI355X, exploiting partitioning capabilities yields up to 4x speedup for attention and 1.43x for fused GEMMs compared to chiplet-oblivious baselines, demonstrating the effectiveness of chiplet-aware designs. Starscream's principles generalize across sharding strategies and future architectures.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org