All parameters should be loaded properly, if you don’t see any error message.
The optimizer’s state_dict might be necessary to continue your training, if your optimizer uses internal states, e.g. Adam uses running estimates of the parameters.
If you don’t restore the optimizer, you might see a loss spike when continuing the training.