[None][chore] Remove the duplicate Rubin fused FC12 op registration - #19476
leslie-fang25 merged 1 commit into
Conversation
NVIDIA#19184 synced a second copy of Fc12FusedInputsHelper, the FC12 runner and trtllm::cute_dsl_nvfp4_fc12_fused_rubin from an internal branch whose kernel takes activation_type / situ_beta / situ_linear_beta kwargs. The kernel on main (NVIDIA#18357) does not, so that copy would raise TypeError if it were ever reached. It never is: the NVIDIA#18357 registration later in the module re-registers the same op name and rebinds the same class names, so the second copy is what actually runs. Keep only the working copy. Signed-off-by: Leslie Fang <leslief@nvidia.com>
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/TensorRT-LLM/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe PR removes Rubin NVFP4 fused FC1+FC2 CuteDSL support from the custom operations module, including kernel integration, execution helpers, runtime initialization, operator registration, and fake implementation. ChangesRubin NVFP4 fused FC12 removal
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~15 minutes Change: Bug fix Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
/bot run --disable-fail-fast |
|
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. |
|
@xguannv for vis |
|
PR_Github #74748 [ run ] triggered by Bot. Commit: |
|
PR_Github #74748 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #74798 [ run ] triggered by Bot. Commit: |
|
PR_Github #74798 [ run ] completed with state |
#19184 synced a second copy of Fc12FusedInputsHelper, the FC12 runner and trtllm::cute_dsl_nvfp4_fc12_fused_rubin from an internal branch whose kernel takes activation_type / situ_beta / situ_linear_beta kwargs. The kernel on main (#18357) does not, so that copy would raise TypeError if it were ever reached. It never is: the #18357 registration later in the module re-registers the same op name and rebinds the same class names, so the second copy is what actually runs. Keep only the working copy.
Dev Engineer Review
The change removes the duplicate Rubin NVFP4 fused FC12 registration and retains the working implementation. This removes unsupported
activation_type,situ_beta, andsitu_linear_betaarguments from the retained registration path and prevents duplicate operation and class registration.The source change removes 855 lines from
tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py. Verify that all callers use the retained FC12 implementation and that no caller depends on the removed helper or operator. Test results are unavailable.QA Engineer Review
No test changes.
Per-File QA Perspective
tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py: QA should verify Rubin NVFP4 fused FC12 execution through the retained registration, including operator discovery, supported activation behavior, and SM107 execution. QA should also confirm that no runtime path references the removedcute_dsl_nvfp4_fc12_fused_rubinimplementation or_run_nvfp4_fc12_fused_rubinhelper.Description
Test Coverage
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
If PR introduces API changes, an appropriate PR label is added - either
api-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin the PR title.Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.