Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored Jun 30, 2024
1 parent 59da917 commit cc020d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vllm/entrypoints/openai/serving_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def request_output_to_embedding_response(
embedding = final_res.outputs.embedding
if encoding_format == "base64":
embedding = base64.b64encode(np.array(embedding))
embedding_data = EmbeddingResponseData(index=idx,
embedding=embedding)
embedding_data = EmbeddingResponseData(index=idx, embedding=embedding)
data.append(embedding_data)

num_prompt_tokens += len(prompt_token_ids)
Expand Down

0 comments on commit cc020d4

Please sign in to comment.