Skip to content

Commit 5f0743d

Browse files
committed
fix: remove vllm max length
1 parent fa21527 commit 5f0743d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigcodebench/provider/vllm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, name: str, lora_path: str, dataset: str, tp: int, **kwargs) -
4141
local_lora_path,
4242
)
4343

44-
self.llm = LLM(model=name, max_model_len=self.max_new_tokens, enable_lora=True if self.lora_request else False, **kwargs)
44+
self.llm = LLM(model=name, enable_lora=True if self.lora_request else False, **kwargs)
4545
self.llm.set_tokenizer(tokenizer=self.tokenizer)
4646

4747
def is_direct_completion(self) -> bool:

0 commit comments

Comments
 (0)