|
Consider using `hf_transfer` for faster uploads. This solution comes with some limitations. See https: |
|
Traceback (most recent call last): |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status |
|
response.raise_for_status() |
|
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status |
|
raise HTTPError(http_error_msg, response=self) |
|
requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https: |
|
|
|
The above exception was the direct cause of the following exception: |
|
|
|
Traceback (most recent call last): |
|
File "/usr/local/bin/huggingface-cli", line 8, in <module> |
|
sys.exit(main()) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/huggingface_cli.py", line 51, in main |
|
service.run() |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/upload.py", line 191, in run |
|
print(self._upload()) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/upload.py", line 286, in _upload |
|
return self.api.upload_folder( |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn |
|
return fn(*args, **kwargs) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 1286, in _inner |
|
return fn(self, *args, **kwargs) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 4724, in upload_folder |
|
commit_info = self.create_commit( |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn |
|
return fn(*args, **kwargs) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 1286, in _inner |
|
return fn(self, *args, **kwargs) |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 3719, in create_commit |
|
hf_raise_for_status(commit_resp, endpoint_name="commit") |
|
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 371, in hf_raise_for_status |
|
raise HfHubHTTPError(str(e), response=response) from e |
|
huggingface_hub.utils._errors.HfHubHTTPError: 413 Client Error: Payload Too Large for url: https: |
|
|
|
A maximum of 25k LFS files are supported per commit |
|
|