runtime error
thon3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1645, in get_hf_file_metadata r = _request_wrapper( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 372, in _request_wrapper response = _request_wrapper( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 396, in _request_wrapper hf_raise_for_status(response) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 321, in hf_raise_for_status raise GatedRepoError(message, response) from e huggingface_hub.utils._errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6694e8f7-2e2f1b325109c9bc07e1a3fe;3a84af4c-0db4-4a1f-ac0b-21f625479102) Cannot access gated repo for url https://huggingface.co/meta-llama/Llama-2-13b-chat-hf/resolve/main/config.json. Access to model meta-llama/Llama-2-13b-chat-hf is restricted. You must be authenticated to access it. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 40, in <module> model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", load_in_4bit=True) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 488, in from_pretrained resolved_config_file = cached_file( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/utils/hub.py", line 404, in cached_file raise EnvironmentError( OSError: You are trying to access a gated repo. Make sure to request access at https://huggingface.co/meta-llama/Llama-2-13b-chat-hf and pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`.
Container logs:
Fetching error logs...