mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
docs: alter hf token substitution
This commit is contained in:
parent
6735344604
commit
1a065c7d63
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ kind create cluster --image kindest/node:v1.32.0 --name llama-stack-test
|
||||||
|
|
||||||
First set your hugging face token as an environment variable.
|
First set your hugging face token as an environment variable.
|
||||||
```
|
```
|
||||||
export HF_TOKEN=<your_hf_token>
|
export HF_TOKEN=$(echo -n "your-hf-token" | base64)
|
||||||
```
|
```
|
||||||
|
|
||||||
Now create a Kubernetes PVC and Secret for downloading and storing Hugging Face model:
|
Now create a Kubernetes PVC and Secret for downloading and storing Hugging Face model:
|
||||||
|
@ -38,7 +38,7 @@ metadata:
|
||||||
name: hf-token-secret
|
name: hf-token-secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
token: $(echo -n "$HF_TOKEN" | base64)
|
token: $HF_TOKEN
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue