How large is the difference between these runs?
Did you use the same test_transform before storing the state_dict?
If so, I would recommend to use exactly the same input tensor (after processing) for both runs and compare the outputs for both runs.
PS: Variables are deprecated since PyTorch 0.4, so you can use tensors now.