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
1f504aa4
Commit
1f504aa4
authored
Nov 29, 2023
by
baberabb
Browse files
remove unused imports
parent
694dc642
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
lm_eval/models/vllm_causallms.py
lm_eval/models/vllm_causallms.py
+0
-4
No files found.
lm_eval/models/vllm_causallms.py
View file @
1f504aa4
from
collections
import
defaultdict
import
os
from
itertools
import
islice
from
typing
import
List
,
Tuple
,
Optional
,
Literal
,
Union
,
Any
from
transformers
import
AutoTokenizer
from
lm_eval.api.instance
import
Instance
...
...
@@ -10,8 +8,6 @@ from tqdm import tqdm
from
lm_eval.api.registry
import
register_model
from
lm_eval
import
utils
from
ray.util.multiprocessing
import
Pool
import
multiprocessing
try
:
from
vllm
import
LLM
,
SamplingParams
...
...
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