About loading weights to model

I want to know whether Pytorch gives any information if the weights doesn’t fit the model

Yes, PyTorch will raise shape mismatch errors and will fail if additional or unexpected keys are found in the state_dict unless you specify strict=False while loading the state_dict.