After enabling support for shared volumes in LiftWing (T421105), we successfully got multi-GPU tensor-parallelism working for the gpt-oss-safeguard-20b isvc (P89899#363595). This improved performance compared to single-GPU setup.
While the performance improved, using shared CPU memory (SHM) for GPU-to-GPU communication creates a massive bandwidth bottleneck. Performance would be significantly faster if we could use direct GPU-to-GPU communication (P2P).
During our multi-GPU deployment, we noticed that direct P2P communication is currently blocked by the host node's kernel configuration:
NCCL WARN Missing "iommu=pt" from kernel command line which can lead to system instablity or hang!
see detailed vLLM/NCCL logs in: P89899#363595
We did some digging and found that the solution to this issue is adding iommu=pt to the Linux kernel GRUB boot parameters.
Here is AMD ROCm's documentation that shows steps on how to fix this issue:
1.https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/install-faq.html#issue-5-application-hangs-on-multi-gpu-systems
2.https://instinct.docs.amd.com/projects/amdgpu-docs/en/latest/conceptual/iommu.html
3.https://instinct.docs.amd.com/projects/amdgpu-docs/en/latest/system-optimization/mi300x.html#grub-settings