Push_to_hub failing due to unknown error

I am creating a new model by fine tuning “facebook/bart-large-mnli” using Trainer. After training, when I push to hub using trainer.push_to_hub, I get the below after some time

EOF
error: failed to push some refs to ‘https:/huggingface.co/samaksh-khatri/bart-large-mnli_16082023T154514’

I am initializing the repo before training so I don’t think that’s the issue. Even manually navigating into the clone repo and doing git push doesn’t reveal any specific error, it just says push failed. This is consistent.

Here is a git trace of the command GIT_TRACE = 1 git push (I have removed the HF token from repo url)

I have tried restarting jupyter notebook and trying again but unfortunately this is very persistent.