Skip to content

[None][test] Add coverage for scaled_mm - #19347

Draft
StanleySun639 wants to merge 1 commit into
NVIDIA:mainfrom
StanleySun639:gap-fixer/job-86-draft-120-check-77
Draft

StanleySun639 wants to merge 1 commit into
NVIDIA:mainfrom
StanleySun639:gap-fixer/job-86-draft-120-check-77

Conversation

@StanleySun639

Copy link
Copy Markdown
Collaborator

@coderabbitai summary

Description

Adds test coverage for the following behaviors.

  • tests/unittest/_torch/thop/parallel/test_fp8_block_scale_gemm.py::test_cute_dsl_scaled_mm_rejects_mixed_clusters verifies: scaled_mm raises TypeError with message 'scaled_mm only supports the base Sm107BlockScaledPersistentDenseGemmKernel' when the passed gemm_obj is not exactly Sm107BlockScaledPersistentDenseGemmKernel (e.g. the MixedClustersKernel subclass), because the subclass argument order differs.

Test Coverage

  • Test case: unittest/_torch/thop/parallel/test_fp8_block_scale_gemm.py::test_cute_dsl_scaled_mm_rejects_mixed_clusters
  • Jenkins log: Jenkins #77SUCCESS

Gap Fixer Validation

  • Patch review: Passed with no unresolved must-fix findings.
  • Analyzed source snapshot: 7b1bedbbbd94
  • Gap Fixer run: Job #86

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-compatible or api-breaking. For api-breaking, include BREAKING in 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.

Signed-off-by: Stanley Sun <stsun@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant