Skip to content

Commit

Permalink
Pass tokenizer_revision when getting tokenizer in openai serving (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn authored Apr 20, 2024
1 parent 15b8640 commit bc9df15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/entrypoints/openai/serving_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ async def _post_init(self):
self.tokenizer = get_tokenizer(
engine_model_config.tokenizer,
tokenizer_mode=engine_model_config.tokenizer_mode,
tokenizer_revision=engine_model_config.tokenizer_revision,
trust_remote_code=engine_model_config.trust_remote_code,
truncation_side="left")

Expand Down

0 comments on commit bc9df15

Please sign in to comment.