Skip to content

Commit

Permalink
fix vllm
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Dec 26, 2024
1 parent e636f73 commit ded4cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/models/vllm/vllm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(
self.precision = _get_dtype(config.dtype, config=self._config)

self.model_info = ModelInfo(model_name=self.model_name, model_sha=self.model_sha)
self.sampling_params = SamplingParams(**config.sampling_params)
self.sampling_params = SamplingParams(**config.generation_parameters.to_vllm_openai_dict())
self.pairwise_tokenization = config.pairwise_tokenization

@property
Expand Down

0 comments on commit ded4cf0

Please sign in to comment.