Following the guide for installing the Cuda library, step 2.5. Install MLNX_OFED says that if you intend to use GPUDirectStorage (GDS), you must install the CUDA package and MLNX_OFED package.
Searching for GPUDirectStorage (GDS), I found that it accelerates data access for GPU. However, I wonder if Pytorch will benefit from installing this.