Skip to content

Commit

Permalink
Update src/vllm_tgis_adapter/grpc/grpc_server.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Hill <[email protected]>
  • Loading branch information
prashantgupta24 and njhill authored Oct 11, 2024
1 parent 16d1985 commit 1fc31cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vllm_tgis_adapter/grpc/grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ async def Tokenize(
if request.return_offsets:
raise ValueError(
f"{type(tokenizer)} doesn't support "
"return_offsets at the moment. "
"the return_offsets option"
)
token_ids = tokenizer.encode(
prompt=req.text,
Expand Down

0 comments on commit 1fc31cd

Please sign in to comment.