Cannot upload large file to huggingface
I was trying to runfrom huggingface_hub import HfApiapi = HfApi()api.upload_file(path_or_fileobj=“…/new_model/text_encoder/pytorch_model.bin”,path_in_repo=“new_model/text_encoder”,repo_id=“…”,repo_type=“model”)and then got the following error:raise ConnectionError(err, request=request)requests.exceptions.ConnectionError: (‘Connection aborted.’, ConnectionResetError(54, ‘Connection reset by peer’))The above exception was the direct cause of the following exception:
2023-06-14T13:06:51Z
waitting for answer too