ml-engineering icon indicating copy to clipboard operation
ml-engineering copied to clipboard

Question About AMD Infinity Fabric P2P Bandwidth and Its Impact on Training

Open wsj040303 opened this issue 3 months ago • 2 comments

from ml-engineering-master\network\README.md

"Other intra-node solutions typically have the same all-to-all and peer-to-peer intra-node bandwidth, so Infinity Fabric appears to be dramatically slower. I suppose that is because these were created mainly for inference, as these slow speeds would dramatically slow down LLM training."

Why do you suggest that AMD’s lower point-to-point bandwidth makes its intra-node interconnect more suitable for inference rather than training? What is the basis for this conclusion? Since both training and multi-GPU inference can involve frequent GPU-to-GPU communication, especially with tensor parallelism, I would like to understand why the lower P2P bandwidth would affect training more significantly or lead to this distinction. Is this conclusion supported by specific benchmarks, workload characteristics, or a particular parallelism strategy?

wsj040303 avatar Aug 24 '26 06:08 wsj040303

That's an excellent question, @wsj040303.

I suppose I wrote that long time again with the assumption of no intra-node comms (like TP or EP) and you're correct it's no longer true for recent inference workloads, where TP>1 is often used, unless the whole node is engaged, which would be more likely for MoE models.

I will correct that now outdated statement.

stas00 avatar Aug 24 '26 17:08 stas00

Does this read true now? https://github.com/stas00/ml-engineering/commit/9f9a33d608d91d610fbc5ce288dd3a6eff78d87b

stas00 avatar Aug 24 '26 17:08 stas00