Try to avoid saving/loading the model directly (just save/load the state_dict and create a new model instance), as it could depend on the actually installed PyTorch version and could even be related to the issue you are seeing.
I’m personally not using the workflow of saving the models directly, as it breaks too easily.