It would be great if there would be a full list of operations that might not get reproducible even by enabling cudnn.detereministic flag.
I am using torch.nn.CTCLoss
with cpu the results are reproducible but with gpu and following setting the results from two experiments slowly get diverging. I just want to make sure there is no way for me to get reproducible training (loss values, parameter values) as long as I am using ctc loss.
torch.manual_seed(seed)
torch.cuda.manual_seed_all(seed)
import numpy as np
np.random.seed(seed)
import os
os.environ["PYTHONHASHSEED"] = "0"
import random
random.seed(seed)
cudnn.deterministic = True
cudnn.benchmark = False
Thanks