Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
05326b04
"sims/vscode:/vscode.git/clone" did not exist on "015109d66894ff81b7e3f04aacfda13989680a35"
Commit
05326b04
authored
Nov 27, 2023
by
baberabb
Browse files
skip vllm test (requires CUDA)
parent
b2282739
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.github/workflows/unit_tests.yml
.github/workflows/unit_tests.yml
+1
-1
tests/models/test_vllm.py
tests/models/test_vllm.py
+1
-0
No files found.
.github/workflows/unit_tests.yml
View file @
05326b04
...
...
@@ -63,7 +63,7 @@ jobs:
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install -e '.[testing,anthropic,
vllm,
sentencepiece]' --extra-index-url https://download.pytorch.org/whl/cpu
pip install -e '.[testing,anthropic,sentencepiece]' --extra-index-url https://download.pytorch.org/whl/cpu
# Install optional git dependencies
# pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
...
...
tests/models/test_vllm.py
View file @
05326b04
...
...
@@ -8,6 +8,7 @@ import torch
@
pytest
.
mark
.
skip
(
reason
=
"requires CUDA"
)
class
TEST_VLLM
:
vllm
=
pytest
.
importorskip
(
"vllm"
)
try
:
from
lm_eval.models.vllm_causallms
import
VLLM
...
...
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