I am using pytorch on a CentOS 7 server. Previously, I have been using pin_memory=True in my code without any error on the same machine.
Restarting the server is currently not possible. So I just settle for pin_memory=False for now.