Assuming you are using the same input as well as the same parameters in the model and also disable any randomness, it would come down to the determinism of the used operations.
Take a look at the Reproducibility docs to see how deterministic ops can be selected (if available).