-
Notifications
You must be signed in to change notification settings - Fork 35
blockwise fp8 gemm integration for gfx942 and gfx950 #658
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
Open
asdfvg123
wants to merge
33
commits into
dev
Choose a base branch
from
yeonsoo/blockwise_fp8_gemm_hipkittens_optim
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
8335488
enable blockwise FP8 quantization on rocm
asdfvg123 6226301
enable blockwise FP8 C++ tests on ROCm, fix wave64 bugs, remove redun…
asdfvg123 bdf905e
fix constexpr chain, arch guard
asdfvg123 676d1f0
guard kThreadsPerWarp for wave32, derive fp8 max on AMD host
asdfvg123 f8a0fc5
revert unnecessary guard, add license
asdfvg123 231e381
use non-sync __shfl on ROCm, drop kFullWarpMask
asdfvg123 e158d3e
fix fp32 LDS overflow in vector blockwise on gfx942
asdfvg123 70c35df
drop WarpSyncMask, use __shfl_xor reduce, guard gfx1250 wave32, minor…
asdfvg123 7ede21d
use explicit gfx942/host guard
asdfvg123 8895166
fix guard
asdfvg123 da49b3c
Merge remote-tracking branch 'origin/dev' into yeonsoo/blockwise_fp8
asdfvg123 64f92a6
use shared rocm_subwarp_allreduce for warp amax reduction
asdfvg123 21c4f10
guard blockwise fp8 GEMM
asdfvg123 96ab7d0
add hipkittens blockwise fp8 GEMM for gfx942
asdfvg123 b542efc
revert the blockwise fp8 gemm guard
asdfvg123 1a5c4a5
optimize kernel
asdfvg123 039ff90
Merge remote-tracking branch 'origin/dev' into yeonsoo/blockwise_fp8
asdfvg123 0c4e2dd
rename submodule
asdfvg123 53787a5
Merge branch 'yeonsoo/blockwise_fp8' into yeonsoo/blockwise_fp8_gemm_…
asdfvg123 0803cc4
integrate gfx950 blockwise fp8 gemm
asdfvg123 812fb91
refactor gemm dispatch, optimize kernel
asdfvg123 29b2605
refactor dispatch for gfx942
asdfvg123 a07f0b3
refactor code
asdfvg123 37f1e2f
refactor code
asdfvg123 34720d5
support e5m2, fp32 output, add 1d1d kernel
asdfvg123 9c8a379
refactor code
asdfvg123 1f14306
refactor code
asdfvg123 8224e6b
Merge remote-tracking branch 'origin/dev' into yeonsoo/blockwise_fp8_…
asdfvg123 3b3bb80
handle gemm skips
asdfvg123 65af26b
add hipkittens cdna3 branch submodule
asdfvg123 a9f2129
refactor code
asdfvg123 2199903
drop orphan composable_kernel submodule gitlink in hipkittens_cdna3 s…
asdfvg123 e7241e8
guard fix
asdfvg123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Submodule hipkittens_cdna3
added at
17d808
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submodule points to a personal user fork on an unreleased branch — must be relocated before merge.
url = https://github.com/asdfvg123/HipKittens.gitis a personal repo, not a canonical one. The sibling3rdparty/hipkittenscorrectly points atHazyResearch/HipKittens.git. Anyone cloning ROCm/TransformerEngine will failgit submodule update --initthe moment this repo goes private or gets renamed. It also blocks reproducible ROCm CI wheel builds (this submodule is now in the init list in.github/workflows/rocm-wheels-build.yml).yeonsoo/cdna3_fp8is likewise a personal in-flight branch; the CDNA3 kittens sources need to land in a persistent upstream branch (HazyResearch or a ROCm-owned mirror) and this URL/branch should be updated before merge.