Skip to content

Commit

Permalink
[CI] Add awq test case for vllm (#1300)
Browse files Browse the repository at this point in the history
Co-authored-by: sindhuso <sindhuso@3c0630156b9b.ant.amazon.com>
  • Loading branch information
sindhuvahinis and sindhuso committed Nov 9, 2023
1 parent a4b3ac2 commit c367540
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rolling_batch_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,15 @@ jobs:
serve -m test=file:/opt/ml/model/test/
python3 llm/client.py vllm llama2-13b
docker rm -f $(docker ps -aq)
- name: Test llama2-13b awq
working-directory: tests/integration
run: |
rm -rf models
python3 llm/prepare.py vllm llama2-13b-awq
./launch_container.sh deepjavalibrary/djl-serving:$DJLSERVING_DOCKER_TAG $PWD/models deepspeed \
serve -m test=file:/opt/ml/model/test/
python3 llm/client.py vllm llama2-13b
docker rm -f $(docker ps -aq)
- name: Test gpt-neox-20b
working-directory: tests/integration
run: |
Expand Down
5 changes: 5 additions & 0 deletions tests/integration/llm/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,11 @@
"option.dtype": "fp16",
"option.tensor_parallel_degree": 4
},
"llama2-13b-awq": {
"option.model_id": "TheBloke/Llama-2-13B-chat-AWQ",
"option.quantize": "awq",
"option.tensor_parallel_degree": 4
},
"gpt-neox-20b": {
"option.model_id": "s3://djl-llm/gpt-neox-20b",
"option.task": "text-generation",
Expand Down

0 comments on commit c367540

Please sign in to comment.