-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into fix-az-a10
- Loading branch information
Showing
31 changed files
with
728 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
envs: | ||
MODEL_NAME: meta-llama/Llama-2-7b-chat-hf | ||
HF_TOKEN: # TODO: Fill with your own huggingface token, or use --env to pass. | ||
|
||
resources: | ||
image_id: docker:vllm/vllm-openai:latest | ||
accelerators: {L4:1, A10G:1, A10:1, A100:1, A100-80GB:1} | ||
ports: | ||
- 8000 | ||
|
||
setup: | | ||
conda deactivate | ||
python3 -c "import huggingface_hub; huggingface_hub.login('${HF_TOKEN}')" | ||
run: | | ||
conda deactivate | ||
echo 'Starting vllm openai api server...' | ||
python -m vllm.entrypoints.openai.api_server \ | ||
--model $MODEL_NAME --tokenizer hf-internal-testing/llama-tokenizer \ | ||
--host 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.