The second system was running the same version of Python, but other than that I am not sure.
I also had the same issue on the first system with different versions of PyTorch and Cuda earlier, but I do not remember which exact versions I used, as I have since reinstalled and updated them.
I did not find any hardware issues while running the stress test.