misc: replace deprecated variable HUGGING_FACE_HUB_TOKEN with HF_TOKEN (#752)

This commit is contained in:
Yineng Zhang
2024-07-27 04:19:30 +10:00
committed by GitHub
parent 8628ab9c8b
commit 3e455b016e

View File

@@ -65,7 +65,7 @@ Repalce `<secret>` below with your huggingface hub [token](https://huggingface.c
docker run --gpus all \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HUGGING_FACE_HUB_TOKEN=<secret>" \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct --host 0.0.0.0 --port 30000