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
08074cf9
Unverified
Commit
08074cf9
authored
Nov 27, 2023
by
Hailey Schoelkopf
Committed by
GitHub
Nov 27, 2023
Browse files
Update vllm_causallms.py
parent
581dd9ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lm_eval/models/vllm_causallms.py
lm_eval/models/vllm_causallms.py
+6
-4
No files found.
lm_eval/models/vllm_causallms.py
View file @
08074cf9
...
...
@@ -7,11 +7,13 @@ import copy
from
tqdm
import
tqdm
from
lm_eval.api.registry
import
register_model
from
lm_eval
import
utils
try
:
from
vllm
import
LLM
,
SamplingParams
except
ModuleNotFoundError
:
pass
eval_logger
=
utils
.
eval_logger
...
...
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