huggingface_hub.errors.HfHubHTTPError:

It’s more likely to happen when the load is high, but uploading a model shouldn’t be that heavy, so I wonder if the server is acting up…
It’s possible to avoid this by saving the pretrained model with ‘save_pretrained’ instead of ‘push_to_hub’ and uploading it with git, etc., but you might need to raise an issue on github to get it resolved.