Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablyFaiz committed Sep 3, 2024
1 parent c4b43f3 commit c6211fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rl/llm/engines/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,7 @@ def __init__(self, llm_config: LLMConfig):
super().__init__(llm_config)

def __enter__(self):
self.vllm, self.generate_kwargs = _get_vllm_engine(
self.llm_config, use_async=False
)
self.vllm, self.generate_kwargs = _get_vllm_engine(self.llm_config)
self.tokenizer = self.vllm.get_tokenizer()
return self

Expand Down

0 comments on commit c6211fd

Please sign in to comment.