Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add awq test case for vllm #1300

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading