Revert hf_token setting (#226)
Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user