Skip to content

Commit 0537032

Browse files
Update examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py
handle suggestion Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent c439991 commit 0537032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ async def generate_stream():
558558
released_kv = True
559559
try:
560560
chunk_str = chunk.decode("utf-8").strip()
561-
except Exception:
561+
except UnicodeDecodeError:
562562
logger.debug(
563563
f"Skipping chunk: {chunk}")
564564
yield chunk

0 commit comments

Comments
 (0)