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 <nickhill@us.ibm.com>
  • Loading branch information
prashantgupta24 and njhill committed Oct 12, 2024
1 parent fa6d8ce commit fa9b930
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 fa9b930

Please sign in to comment.