Skip to content
Snippets Groups Projects
Commit 1d151552 authored by Birhanu Belay's avatar Birhanu Belay
Browse files

Add new file

parent 3faa6ce7
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [[ ! -z "${HF_TOKEN}" ]]; then
echo "The HF_TOKEN environment variable is set, logging to Hugging Face."
python3 -c "import huggingface_hub; huggingface_hub.login('${HF_TOKEN}')"
else
echo "The HF_TOKEN environment variable is not set or empty, not logging to Hugging Face."
fi
# Run the provided command
exec python3 -u -m vllm.entrypoints.openai.api_server "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment