Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
9ba0bd6a
Unverified
Commit
9ba0bd6a
authored
Oct 08, 2024
by
Michael Goin
Committed by
GitHub
Oct 08, 2024
Browse files
Add `lm-eval` directly to requirements-test.txt (#9161)
parent
2a131965
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
6 deletions
+4
-6
.buildkite/lm-eval-harness/run-lm-eval-gsm-hf-baseline.sh
.buildkite/lm-eval-harness/run-lm-eval-gsm-hf-baseline.sh
+1
-1
.buildkite/lm-eval-harness/run-lm-eval-gsm-vllm-baseline.sh
.buildkite/lm-eval-harness/run-lm-eval-gsm-vllm-baseline.sh
+1
-1
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+0
-3
docs/source/quantization/fp8.rst
docs/source/quantization/fp8.rst
+1
-1
requirements-test.txt
requirements-test.txt
+1
-0
No files found.
.buildkite/lm-eval-harness/run-lm-eval-gsm-hf-baseline.sh
View file @
9ba0bd6a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# We can use this script to compute baseline accuracy on GSM for transformers.
# We can use this script to compute baseline accuracy on GSM for transformers.
#
#
# Make sure you have lm-eval-harness installed:
# Make sure you have lm-eval-harness installed:
# pip install
git+https://github.com/EleutherAI/lm-evaluation-harness.git@9516087b81a61d0e220b22cc1b75be76de23bc10
# pip install
lm-eval==0.4.4
usage
()
{
usage
()
{
echo
``
echo
``
...
...
.buildkite/lm-eval-harness/run-lm-eval-gsm-vllm-baseline.sh
View file @
9ba0bd6a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# We use this for fp8, which HF does not support.
# We use this for fp8, which HF does not support.
#
#
# Make sure you have lm-eval-harness installed:
# Make sure you have lm-eval-harness installed:
# pip install lm-eval==0.4.
3
# pip install lm-eval==0.4.
4
usage
()
{
usage
()
{
echo
``
echo
``
...
...
.buildkite/test-pipeline.yaml
View file @
9ba0bd6a
...
@@ -98,7 +98,6 @@ steps:
...
@@ -98,7 +98,6 @@ steps:
-
vllm/
-
vllm/
commands
:
commands
:
-
pip install -e ./plugins/vllm_add_dummy_model
-
pip install -e ./plugins/vllm_add_dummy_model
-
pip install git+https://github.com/EleutherAI/lm-evaluation-harness.git@a4987bba6e9e9b3f22bd3a6c1ecf0abd04fd5622#egg=lm_eval[api]
-
pytest -v -s entrypoints/llm --ignore=entrypoints/llm/test_lazy_outlines.py --ignore=entrypoints/llm/test_generate.py --ignore=entrypoints/llm/test_generate_multiple_loras.py --ignore=entrypoints/llm/test_guided_generate.py
-
pytest -v -s entrypoints/llm --ignore=entrypoints/llm/test_lazy_outlines.py --ignore=entrypoints/llm/test_generate.py --ignore=entrypoints/llm/test_generate_multiple_loras.py --ignore=entrypoints/llm/test_guided_generate.py
-
pytest -v -s entrypoints/llm/test_lazy_outlines.py
# it needs a clean process
-
pytest -v -s entrypoints/llm/test_lazy_outlines.py
# it needs a clean process
-
pytest -v -s entrypoints/llm/test_generate.py
# it needs a clean process
-
pytest -v -s entrypoints/llm/test_generate.py
# it needs a clean process
...
@@ -278,7 +277,6 @@ steps:
...
@@ -278,7 +277,6 @@ steps:
-
csrc/
-
csrc/
-
vllm/model_executor/layers/quantization
-
vllm/model_executor/layers/quantization
commands
:
commands
:
-
pip install lm-eval
-
export VLLM_WORKER_MULTIPROC_METHOD=spawn
-
export VLLM_WORKER_MULTIPROC_METHOD=spawn
-
bash ./run-tests.sh -c configs/models-small.txt -t
1
-
bash ./run-tests.sh -c configs/models-small.txt -t
1
...
@@ -492,6 +490,5 @@ steps:
...
@@ -492,6 +490,5 @@ steps:
-
csrc/
-
csrc/
-
vllm/model_executor/layers/quantization
-
vllm/model_executor/layers/quantization
commands
:
commands
:
-
pip install lm-eval
-
export VLLM_WORKER_MULTIPROC_METHOD=spawn
-
export VLLM_WORKER_MULTIPROC_METHOD=spawn
-
bash ./run-tests.sh -c configs/models-large.txt -t
4
-
bash ./run-tests.sh -c configs/models-large.txt -t
4
docs/source/quantization/fp8.rst
View file @
9ba0bd6a
...
@@ -106,7 +106,7 @@ Install ``vllm`` and ``lm-evaluation-harness``:
...
@@ -106,7 +106,7 @@ Install ``vllm`` and ``lm-evaluation-harness``:
.. code-block:: console
.. code-block:: console
$ pip install vllm lm
_
eval==0.4.
3
$ pip install vllm lm
-
eval==0.4.
4
Load and run the model in ``vllm``:
Load and run the model in ``vllm``:
...
...
requirements-test.txt
View file @
9ba0bd6a
...
@@ -22,6 +22,7 @@ timm # required for internvl test
...
@@ -22,6 +22,7 @@ timm # required for internvl test
transformers_stream_generator # required for qwen-vl test
transformers_stream_generator # required for qwen-vl test
matplotlib # required for qwen-vl test
matplotlib # required for qwen-vl test
datamodel_code_generator # required for minicpm3 test
datamodel_code_generator # required for minicpm3 test
lm-eval[api]==0.4.4 # required for model evaluation test
# TODO: Add this after fully implementing llava(mantis)
# TODO: Add this after fully implementing llava(mantis)
# git+https://github.com/TIGER-AI-Lab/Mantis.git # required for llava(mantis) test
# git+https://github.com/TIGER-AI-Lab/Mantis.git # required for llava(mantis) test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment