Skip to content

Commit

Permalink
Display all simple chat output instantly & update GPU demo video (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqingbao authored Jan 3, 2025
1 parent 359c9a1 commit 605c785
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def chatloop(system_prompt: str, stream: bool, max_tokens: int):
console.print(Rule(title="Candle-vLLM:", align="left", style="cyan"))
# Handle streaming response
msg = ""
with Live(console=console, auto_refresh=False) as live:
with Live(console=console, auto_refresh=False, vertical_overflow="visible") as live:
for chunk in response:
content = chunk.choices[0].delta.content
if content != None:
Expand Down
Binary file modified res/LLaMa3.1-8B-Chatbot-A100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 605c785

Please sign in to comment.