Okay, I got it working finally…
The problem was that I didn’t install the nvidia-container-toolkit. Since I’ve never dealt with this sort of stuff at my work (the devops guy did), I’ve never known this was a necessary step to make it work.
Anyway, thank you for your help, but this was never a PyTorch issue it seems.