[https://nvbugs/6160629][fix] Add both test filenames to EXCLUDE_TEST_FILES in `examples/auto_deploy/llmc/cr - #13943
Conversation
…e package test_quant_fusion.py uses the fuse_fp8_linear transform, which is registered in fuse_quant.py. That module imports tensorrt_llm.quantization.utils.fp8_utils at module level and is silently skipped in standalone mode, so the transform never registers and test_fuse_quant_rewrites_fp8_linear hits KeyError: 'fuse_fp8_linear'. Sibling tests in the same file have a trtllm_ops_available guard and are already skipped correctly. test_finegrained_fp8_swiglu.py imports utils.util.skip_pre_blackwell (not shipped in the standalone _utils_test directory) and exercises fuse_finegrained_fp8_swiglu which also requires TRT-LLM runtime, so its collection fails in standalone. Add both files to EXCLUDE_TEST_FILES alongside the existing TRT-LLM-kernel exclusions. Signed-off-by: tensorrt-cicd <90828364+tensorrt-cicd@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR adds two test file exclusions to the standalone package creation script, preventing tests that depend on unavailable transforms or utilities from being included in the standalone build. Each exclusion is documented with an inline comment. ChangesStandalone Package Test Exclusions
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@bmarimuthu-nv : please review |
|
/bot run |
|
PR_Github #47553 [ run ] triggered by Bot. Commit: |
|
PR_Github #47553 [ run ] completed with state
|
|
/bot run |
|
PR_Github #47770 [ run ] triggered by Bot. Commit: |
|
@bmarimuthu-nv : can you please push a commit that also unwaives the tests. Looks like all of single gpu transforms are waived at the moment! https://sourcegraph.com/r/github.com/NVIDIA/TensorRT-LLM/-/blob/tests/integration/test_lists/waives.txt?L403 |
|
PR_Github #47770 [ run ] completed with state
|
|
@suyoggupta PTAL fixed in #14011 |
Summary
ModuleNotFoundError: utils.util) and 2 failures (KeyError: fuse_fp8_linearbecause fuse_quant.py fails to importtensorrt_llm.quantization.utils.fp8_utils).EXCLUDE_TEST_FILESinexamples/auto_deploy/llmc/create_standalone_package.py, matching the pattern used for other TRT-LLM-kernel-dependent tests; verified with a full run of the outer standalone wrapper.Test plan
Links
Summary by CodeRabbit