Repository navigation
[https://nvbugs/7061740][fix] Update Qwen3.5 checkpoint loader test API - #21876
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe Qwen3.5-VL checkpoint-loading test now imports and calls ChangesCheckpoint loader test
Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Merge Risk:
|
sunnyqgg
left a comment
There was a problem hiding this comment.
Thanks for the quick fix. The import and the call now use construct_checkpoint_loader (tensorrt_llm/_torch/pyexecutor/model_loader.py:587), whose keyword-only parameters match the call; the call mirrors the production path in tensorrt_llm/_torch/pyexecutor/py_executor_creator.py:515-524, and nothing else in the tree still references _construct_checkpoint_loader. Release branches are not affected. Counts: 0 blockers, 0 possibly blocking, 2 required, 0 nice to have. Both required items concern the PR page rather than the code, so they are listed here:
- [Required] Draft PR #21856 (auto-waive for this same NVBug) is still open. It adds
full:DGX_H100/unittest/_torch/modeling/test_modeling_qwen3_5_vl.py::test_qwen35_dense_vl_preserves_w4a16_nvfp4_behavior SKIP (https://nvbugs/7061740)totests/integration/test_lists/waives.txt, which skips the very test this PR fixes (tests/integration/test_lists/test-db/l0_h100.yml:125). If it merges before or after this fix, the H100 pre-merge stage keeps skipping a test that now passes until someone removes the line. Please link #21856 in the description and get it closed once this lands; if #21856 merges first, delete that waive line in this PR, since this change fixes the root cause. - [Required] The CodeRabbit QA block in the description says CI coverage of the changed test "needs follow-up" and that "Test results are not available".
test_qwen38_nvfp4_checkpoint_load_applies_hopper_defaultsis@pytest.mark.cpu_only, so it already runs pre-merge on the CPU stage through theunittest/_torch/modelingentry oftests/integration/test_lists/test-db/l0_cpu.yml(line 80): that stage runs with-m cpu_only, andtests/unittest/conftest.py:304collects this file because it carries the marker. The module's GPU tests run throughl0_h100.ymllines 123-125. The PR template asks that a CodeRabbit summary make sense; please replace that block with this coverage (or delete it), and link the passing CPU and H100 pre-merge run once/bot runcompletes.
|
/bot run --disable-fail-fast |
|
PR_Github #83354 [ run ] triggered by Bot. Commit: |
|
Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements. |
|
PR_Github #83354 [ run ] completed with state |
…ests fixed by NVIDIA#21876 test_modeling_qwen3_5_vl.py imported _construct_checkpoint_loader, which NVIDIA#20703 had renamed to construct_checkpoint_loader, so pytest could not collect the module. Every test list entry that collects it failed, and 14 entries were waived under this bug. NVIDIA#21876 switched the test to the new name; remove the waivers. Signed-off-by: Ruocheng Jia <[email protected]>
…ests fixed by NVIDIA#21876 test_modeling_qwen3_5_vl.py imported _construct_checkpoint_loader, which collect the module. Every test list entry that collects it failed, and 14 entries were waived under this bug. NVIDIA#21876 switched the test to the new name; remove the waivers. Signed-off-by: Ruocheng Jia <[email protected]>
…ests fixed by #21876 (#22087) Signed-off-by: Ruocheng Jia <[email protected]>
Root cause
The Qwen3.5-VL modeling test still imported and called the removed private
_construct_checkpoint_loaderhelper after the checkpoint loader API was renamed. Pytest therefore failed while collecting the module before the requested test could run.Fix
Use the current public
construct_checkpoint_loaderAPI in the test.Verification
Fixes https://nvbugs/7061740
Dev Engineer Review
The test now uses the public
construct_checkpoint_loaderAPI instead of the removed private helper. The change is limited to the import and call; no runtime code or public API behavior changes.QA Engineer Review
The modified test setup exercises the Qwen3.8 NVFP4 checkpoint-loader defaults test. The diff does not change test functions, IDs, selectors, or waivers. The test list includes the Qwen3.5-VL test class and the W4A16 NVFP4 behavior test, but not the Qwen3.8 checkpoint-loader defaults test by name. Coverage verdict: needs follow-up to confirm that this test runs in CI. Test results are not available.
Per-File QA Perspective
tests/unittest/_torch/modeling/test_modeling_qwen3_5_vl.py: The changed setup covers checkpoint-loader creation for the Qwen3.8 NVFP4 defaults test. The test file and the W4A16 NVFP4 behavior test appear intests/integration/test_lists/test-db/l0_h100.yml; the checkpoint-loader defaults test does not appear there by name.