Update vlm_inference.py
Browse files- vlm_inference.py +0 -1
vlm_inference.py
CHANGED
|
@@ -177,7 +177,6 @@ def vlm_infer_stream(
|
|
| 177 |
# sampled from prefill
|
| 178 |
tid = int(next_token.item())
|
| 179 |
if tid in stop_ids:
|
| 180 |
-
# ★ 最小修正:何も出ていないなら1回だけ表示
|
| 181 |
yield "[EOS]"
|
| 182 |
break
|
| 183 |
|
|
|
|
| 177 |
# sampled from prefill
|
| 178 |
tid = int(next_token.item())
|
| 179 |
if tid in stop_ids:
|
|
|
|
| 180 |
yield "[EOS]"
|
| 181 |
break
|
| 182 |
|