Skip to content

Commit

Permalink
Update vllm_causallms.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin authored May 25, 2024
1 parent 5ee54c4 commit ae299be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lm_eval/models/vllm_causallms.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
try:
import ray
from vllm import LLM, SamplingParams
from vllm.lora.request import LoRARequest
from vllm.transformers_utils.tokenizer import get_tokenizer

if parse_version(version("vllm")) > parse_version("0.3.0"):
from vllm.lora.request import LoRARequest
except ModuleNotFoundError:
pass

Expand Down

0 comments on commit ae299be

Please sign in to comment.