Solved by ptrblck in post #3 
              
              
                Have a look at the Reproducibility docs and in particular set torch.use_deterministic_algorithms(True), which would yield an error, if no deterministic algorithms can be found for your workload.