Oh thank you. Apologies I did not look into the examples well enough and did not set eval mode.
A google search shows that eval mode is necessary for reproducible results.
Im getting the expected results now. Thank you very much for the quick help.