Skip to content

Commit

Permalink
Pass tokenizer_revision when getting tokenizer in openai serving (v…
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn authored and ZackBradshaw committed Apr 22, 2024
1 parent bc7488e commit a838264
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 a838264

Please sign in to comment.