I am trying to span an inference endpoint for Falcon 40B.
However I want to have a custom handling of the model and its output.
So I duplicated the repo into my account and created the handler.py file.
However before even the logs start being generated, I am getting an error as following:
Exit code: 1. Reason: 1487, in _hf_hub_download_to_local_dir
_download_to_tmp_and_move(
File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1884, in _download_to_tmp_and_move
http_get(
File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 459, in http_get
r = _request_wrapper(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 396, in _request_wrapper
hf_raise_for_status(response)
File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 367, in hf_raise_for_status
raise HfHubHTTPError(message, response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError:
403 Forbidden: None.
Cannot access content at: https://cdn-lfs.hf.co/repos/bf/e9/...
If you are trying to create or update content,make sure you have a token with the `write` role.
Last status 1
Unable to download repo correctly after 6 attempts
Any though why this might be happening as spanning Falcon 40B itself worked out.
N.B: The repo is owned by my account.