Uh oh!
There was an error while loading. Please reload this page.
[Common] Added Alignment Requirements for CuBLAS heuristics - #845
Merged
Conversation
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
phu0ngng
commented
May 14, 2024
CollaboratorAuthor
/te-ci pytorch |
ptrendx
reviewed
May 14, 2024
Uh oh!
There was an error while loading. Please reload this page.
ptrendx
reviewed
May 14, 2024
Uh oh!
There was an error while loading. Please reload this page.
ptrendx
commented
May 14, 2024
Member
Could we add some test for it? |
deepakn94
commented
May 14, 2024
Contributor
LGTM, thanks. I verified that my failing case now works. |
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
CollaboratorAuthor
Hi, thanks for the feedback. Glad to hear that it works for you now @deepakn94. |
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
phu0ngng
commented
May 17, 2024
CollaboratorAuthor
/te-ci pytorch |
ptrendx
reviewed
May 22, 2024
| } | ||
| } | ||
| uint32_t _getAlignment(uintptr_t address) { |
Member
There was a problem hiding this comment.
nit: You don't need to start this function with _ - it is already with unnamed namespace and not exposed outside this file.
ptrendx
approved these changes
May 22, 2024
ptrendx pushed a commit
that referenced
this pull request
May 22, 2024
* added alignment requirements for CuBLAS heuristics Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com> * minor rewords Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com> * added unit test for gemm with unaligned inputs Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com> * added pytest skip if fp8 is not available Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com> * changed offset so that it has alignment with 128 Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com> --------- Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
This file contains hidden or 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
Sign up for freeto 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.
Type of change
Checklist: