-
Notifications
You must be signed in to change notification settings - Fork 100
Description
I have a problem when i deploy the lab. The pod "vllm-inference-service-predictor-xxxx" has a container "download-model" with the following error :
"Traceback (most recent call last):
File "", line 5, in
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f
return f(*args, **kwargs)
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/utils/_deprecation.py", line 31, in inner_f
return f(*args, **kwargs)
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/_login.py", line 126, in login
_login(token, add_to_git_credential=add_to_git_credential)
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/_login.py", line 404, in _login
token_info = whoami(token)
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/opt/app-root/lib64/python3.9/site-packages/huggingface_hub/hf_api.py", line 1791, in whoami
raise HTTPError(error_message, request=e.request, response=e.response) from e
requests.exceptions.HTTPError: Invalid user token. The token from HF_TOKEN environment variable is invalid. Note that HF_TOKEN takes precedence over hf auth login."
So i checked the huggingface-secret but the value for the key hftoken is 'None'.
In my file configuration, following the lab tutorial, i confirmed that i've added my hf token in the "values-secret-rag-llm-gitops.yaml"
secrets:
- name: hfmodel
fields:- name: hftoken
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
- name: hftoken
- name: mssql
fields:- name: sa-pass
value: null
onMissingValue: generate
description: mssql password for sa user
- name: sa-pass
- name: azuresql
fields:- name: user
value: adminuser
description: server admin user for azure sql - name: password
value: null
onMissingValue: generate
description: server admin password for azure sql - name: server
value: rag-llm-gitops.database.windows.net
description: server hostname
- name: user