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
24f4e8d7
Commit
24f4e8d7
authored
Nov 22, 2023
by
baberabb
Browse files
(temp) fix import
parent
f2890cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lm_eval/models/vllm_causallms.py
lm_eval/models/vllm_causallms.py
+6
-1
No files found.
lm_eval/models/vllm_causallms.py
View file @
24f4e8d7
...
@@ -7,7 +7,12 @@ import copy
...
@@ -7,7 +7,12 @@ import copy
from
tqdm
import
tqdm
from
tqdm
import
tqdm
from
lm_eval.api.registry
import
register_model
from
lm_eval.api.registry
import
register_model
from
lm_eval
import
utils
from
lm_eval
import
utils
from
vllm
import
LLM
,
SamplingParams
# TODO: Fix this once complete
try
:
from
vllm
import
LLM
,
SamplingParams
except
ModuleNotFoundError
:
pass
@
register_model
(
"vllm"
)
@
register_model
(
"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