I have a pretty standard model. I need it to be reproducible, so I use a random seed. But when I insert a multinomial operation anywhere in the training code, e.g.,
torch.ones(10).multinomial(num_samples=2, replacement=False)
It changes the output/performance of the model.