Regardless of the seed, you’ll always get a NaN as the output on one device, while the other device is always working?
If that’s the case, could you run some stress tests on both devices and a memory check, if possible?