@albanD  Thanks. I have read it. So do you mean the backward of torch.gather uses some operations like atomicAdd that are undetermined anyway? If so, why using torch.gather once can get determined results?