adle:

I noticed that if I load the model and save in different files at the same code, they will be identical, but if I did it in 2 different runs the files will be different.


You are right and I’m not sure, where these different bits come from.



 adle:

I don’t know much about deterministic operations, would you refer me some links/readings so I can take a bit research on it?


The linked docs gives you a good overview about reproducibility etc.
However, even setting the same seed in both scripts will yield different binary representations and I think it might be related to the pickling itself.