Skip to content

Conversation

@AviralGoelAMD
Copy link
Collaborator

@AviralGoelAMD AviralGoelAMD commented Oct 29, 2025

Proposed changes

Unit tests are added to maintain the integrity of work done in #3115.
We also split the list of unit tests for grouped_gemm_quant into three cpp files (filter by quant_mode) to reduce compilation time.

Checklist

Please put an x into the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally
  • I have added the test to REGRESSION_TESTS list defined at the top of CMakeLists.txt in tests/CMakeLists.txt, IF the test takes more than 30 seconds to run.
  • I have added inline documentation which enables the maintainers with understanding the motivation
  • I have removed the stale documentation which is no longer relevant after this pull request
  • (If this change is user-facing) I have added release notes which provide the end users with a brief summary of the improvement from this pull request
  • I have run clang-format on all changed files
  • This PR is dependent on feat(quant_grouped_gemm): add bquant with preshuffleB support to grouped_gemm example #3115.

Discussion

If this is a relatively large or complex change, feel free to start a discussion by explaining why you chose the solution you did and what alternatives you considered

kyle-256 and others added 30 commits October 16, 2025 02:23
Calculate has_hot_loop, num_loop, and tail_number on device side for each
GEMM problem instead of using default values. This fixes incorrect results
when different problems in the group have different K dimensions.
@tenpercent
Copy link
Contributor

what's the impact on build and test time?

@AviralGoelAMD
Copy link
Collaborator Author

AviralGoelAMD commented Oct 29, 2025

what's the impact on build and test time?

build time reduces from 9m 55s to to 3 m 42 s.

Test time is not impacted as they run sequentially.

@ThomasNing ThomasNing changed the title test(grouped_gemm): add unit tests for grouped_gemm bqaunt with preshuffleB true test(grouped_gemm): add unit tests for grouped_gemm bquant with preshuffleB true Oct 30, 2025
@ThomasNing
Copy link
Contributor

We could create a new one for pure test after the example PR is merged.

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.

5 participants