Repository navigation
Conversation
Signed-off-by: Ruodi Lu <ruodil@users.noreply.github.com>
Signed-off-by: Ruodi Lu <ruodil@users.noreply.github.com>
|
/bot run |
|
PR_Github #82224 [ run ] triggered by Bot. Commit: |
|
No actionable comments were generated in the recent review. WalkthroughThe change adds unit tests for CUDA graph defaults and option precedence. The tests cover runtime capacities, explicit graph settings, disabled capture, repeated calls, and YAML versus CLI options. ChangesCUDA Graph Configuration Tests
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk:
|
|
PR_Github #82224 [ run ] completed with state |
Description
Guard CUDA graph defaults against the effective runtime capacity, preserve explicit graph settings and YAML/CLI precedence, and ensure repeated calls do not mutate reusable performance options.
Split the benchmark module coverage out of #21095 so it can be reviewed independently. This PR contains only its tests and any associated CI-list changes.
The production prerequisite #21095 merged into
mainasff1aa0f7d35con 2026-11-03. This test-only PR now includes that fix through a normal merge ofmain(fee6cfd872bc) and has passed current-head L0 CI; Code Owner review remains required.Test Coverage
d79becdba482: all applicable pre-commit hooks passed, including Ruff, formatting, generated-config checks and repository-wide test-list validation;git diff --checkpassed. Independent review found no current API mismatch. The effective diff remains 140 test lines, covering 38 added parametrized cases in seven test functions.d79becdba482): L0 pipeline #67851 completed SUCCESS. This supersedes the earlier local collection limitation caused by the host lackinglibcuda.so.1. Required GitHub checks are passing; Code Owner approval is still required.PR Checklist
Dev Engineer Review
Noneand zero handling, YAML/CLI precedence, and repeated calls that must not mutate reusable performance options.cpu_only. No runtime test result for the current head is available here.QA Engineer Review
tests/unittest/others/test_bench.py, with 38 parametrized cases.test-dbsearch found only an existing entry forunittest/llmapi/test_bench_async.py; listing of this new unit test is not established.Per-File QA Perspective
tests/unittest/others/test_bench.py: Adds CPU-only tests for benchmark runtime CUDA graph defaults, explicit graph settings, and configuration precedence. The inspectedtest-dblist does not show this file; its listing status is not established.