-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dev] Add test case for bfloat16 and int4 gemm with mma #65
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ate CUDA type printing for better clarity
…consistency and clarity; add apply_simplify function to simplify PrimFunc or IRModule.
…remove unnecessary whitespace in multiple files.
…to use 'tilelang.language' for consistency
…_tilelang_kernel_gemm_mma_intrinsic.py
…r result validation in test_tilelang_kernel_gemm_mma_intrinsic.py
…at Peking University
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces new functionality for supporting
bfloat16
data type in matrix multiplication tests using the TileLang library. The most important changes include the addition of a new test file, modifications to existing test functions, and updates to the data type mapping.Support for
bfloat16
data type:testing/python/kernel/test_tilelang_kernel_bf16_gemm_mma.py
: Added a new test file to include comprehensive tests forbfloat16
data type in matrix multiplication. This file contains functions to generate swizzle layouts, perform matrix multiplication using Tensor Core intrinsics, and validate the correctness of the results.Enhancements to existing tests:
testing/python/kernel/test_tilelang_kernel_gemm_mma_intrinsic.py
: Updated thetl_matmul
function to includebfloat16
as a supported input data type.testing/python/kernel/test_tilelang_kernel_gemm_mma_intrinsic.py
: Added a new test case to thetest_assert_tl_matmul
function to validate matrix multiplication withbfloat16
input andfloat32
output.