Thanks for the reply.
But this still doesn’t seem to fix it for me.   Are there any other possible sources of randomness in torch that I could try before I try to come up with a minimal example to reproduce the error?