Revert hf_token setting (#226)

Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
chen, suyue
2024-05-30 23:12:03 +08:00
committed by GitHub
parent d659c04a68
commit 7eb402e95b
59 changed files with 92 additions and 92 deletions

View File

@@ -2,15 +2,15 @@
> [NOTE]
> The following values must be set before you can deploy:
> HF_TOKEN
> HUGGINGFACEHUB_API_TOKEN
> You can also customize the "MODEL_ID" and "model-volume"
## Deploy On Xeon
```
cd GenAIExamples/CodeGen/kubernetes/manifests/xeon
export HF_TOKEN="YourOwnToken"
sed -i "s/insert-your-huggingface-token-here/${HF_TOKEN}/g" codegen.yaml
export HUGGINGFACEHUB_API_TOKEN="YourOwnToken"
sed -i "s/insert-your-huggingface-token-here/${HUGGINGFACEHUB_API_TOKEN}/g" codegen.yaml
kubectl apply -f codegen.yaml
```
@@ -18,8 +18,8 @@ kubectl apply -f codegen.yaml
```
cd GenAIExamples/CodeGen/kubernetes/manifests/gaudi
export HF_TOKEN="YourOwnToken"
sed -i "s/insert-your-huggingface-token-here/${HF_TOKEN}/g" codegen.yaml
export HUGGINGFACEHUB_API_TOKEN="YourOwnToken"
sed -i "s/insert-your-huggingface-token-here/${HUGGINGFACEHUB_API_TOKEN}/g" codegen.yaml
kubectl apply -f codegen.yaml
```

View File

@@ -143,7 +143,7 @@ spec:
env:
- name: TGI_LLM_ENDPOINT
value: "http://codegen-tgi:80"
- name: HF_TOKEN
- name: HUGGINGFACEHUB_API_TOKEN
value: "insert-your-huggingface-token-here"
- name: http_proxy
value:

View File

@@ -141,7 +141,7 @@ spec:
env:
- name: TGI_LLM_ENDPOINT
value: "http://codegen-tgi:80"
- name: HF_TOKEN
- name: HUGGINGFACEHUB_API_TOKEN
value: "insert-your-huggingface-token-here"
- name: http_proxy
value: