Skip to content

Commit

Permalink
del request.n
Browse files Browse the repository at this point in the history
  • Loading branch information
CjhHa1 committed Apr 7, 2024
1 parent 1317cc7 commit d5386a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions colossalai/inference/server/chat_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ async def chat_completion_stream_generator(self, request, request_dict, result_g
data = choice_data.model_dump_json(exclude_unset=True)
yield f"data: {data}\n\n"

# Send response for each token for each request.n (index)
[""] * n
[0] * n
result = await result_generator
choice_data = DeltaMessage(content=result.output)
data = choice_data.model_dump_json(exclude_unset=True, exclude_none=True)
Expand Down

0 comments on commit d5386a4

Please sign in to comment.