Skip to content

[CI] test: Give test_vision_chunked_prefill's llava preprocessing more time - #48443

Merged
DarkSharpness merged 1 commit into
sgl-project:mainfrom
DarkSharpness:ci-vision-chunked-prefill-timeout
Nov 5, 2026
Merged

DarkSharpness merged 1 commit into
sgl-project:mainfrom
DarkSharpness:ci-vision-chunked-prefill-timeout

Conversation

@DarkSharpness

@DarkSharpness DarkSharpness commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

(auto generated by Claude)

test/registered/vlm/test_vision_chunked_prefill.py fails on 1-gpu-large runners with slower CPUs (h100-computable-*), on main as well as on PRs (main scheduled run 41736410757; PR runs on #48174 and #48217).

Cause. llava's per-image CPU preprocessing in LlavaImageProcessor._process_single_image is bounded by REQUEST_TIMEOUT, 10 s by default. With a batch of video frames on a slow host it goes past that, so the request fails with a 500:

File ".../multimodal/processors/llava.py", line 154, in _process_single_image
    process_future = await asyncio.wait_for(
TimeoutError
AssertionError: {"object":"error","message":"Internal server error: ","type":"InternalServerError","param":null,"code":500}

After that, every relaunch in the file's retries fails with [Errno 98] ... ('127.0.0.1', 13000): address already in use until the file hits its 1800 s timeout. Phase 2 also hides a failed launch behind UnboundLocalError: cannot access local variable 'no_chunked_server_pid'.

Fix.

Test-only change; no runtime code changes.

🤖 Generated with Claude Code


CI States

Latest PR Test (Base): 🚫 Run #41896388421
Latest PR Test (Extra): ❌ Run #41896388131
Latest PR Test (AMD ROCm 10): ❌ Run #41896388304

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

…e time

> (auto generated by Claude)

llava's per-image CPU preprocessing is bounded by REQUEST_TIMEOUT (10 s by default). On CI hosts with slower CPUs, a batch of video frames goes past it, the request fails with a 500, and the test fails. Launch the test's servers with REQUEST_TIMEOUT=60, and start the non-chunked server outside its try block so a failed launch is reported as such rather than as an UnboundLocalError.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@DarkSharpness

Copy link
Copy Markdown
Collaborator Author

/rerun-test test/registered/vlm/test_vision_chunked_prefill.py

@github-actions github-actions Bot added the Multi-modal multi-modal language model label Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🚀 1-gpu-h100 (1 test): ✅ View workflow run

cd test/ && python3 registered/vlm/test_vision_chunked_prefill.py

@DarkSharpness DarkSharpness added the run-ci CI: run the baseline test suite on this PR label Nov 4, 2026

@BBuf BBuf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[BBuf Review Agent] LGTM. Let's wait for the registered vision test CI.

@nvpohanh

nvpohanh commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

[by Claude Code] I've started babysitting the NVIDIA CI of this PR. I'll check it every 30 minutes. Once base-b-test-1-gpu-large (2), the shard that runs test/registered/vlm/test_vision_chunked_prefill.py, finishes with that test passing and the required checks are green, I'll merge this PR, because it unblocks other PRs that fail on this test on the slower H100 runners (for example #47899). If a relevant job fails, I may rerun it or post a note here.

Anyone can stop me at any time: just post a comment asking me to stop (for example, stop babysitting). I'll stop at my next check, within 30 minutes, and take no further action on this PR.

@DarkSharpness
DarkSharpness merged commit 9556068 into sgl-project:main Nov 5, 2026
210 of 233 checks passed
@DarkSharpness
DarkSharpness deleted the ci-vision-chunked-prefill-timeout branch November 5, 2026 08:42
nvpohanh added a commit to mattteochen/sglang that referenced this pull request Nov 5, 2026
Picks up sgl-project#48443 (llava REQUEST_TIMEOUT for test_vision_chunked_prefill) and sgl-project#47619's re-tiering of test_vision_openai_server_a.py to extra-a, which address the unrelated CI failure https://github.com/sgl-project/sglang/actions/runs/41097580594/job/126989270916

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Multi-modal multi-modal language model run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants