Skip to content

Commit

Permalink
pass model_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkshing committed Mar 8, 2024
1 parent 1152718 commit 0e01349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evofactory/models/causallm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self, model_path: str, **kwargs):
super().__init__(**kwargs)
from vllm import LLM

self.model = LLM(model=model_path)
self.model = LLM(model=model_path, **self.model_kwargs)
self.post_init()

def post_init(self):
Expand Down

0 comments on commit 0e01349

Please sign in to comment.