-
Notifications
You must be signed in to change notification settings - Fork 374
ROCm Sparse Marlin Kernels #1206 #1834
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
Merged
Merged
Conversation
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
ROCm build infrastructure
[ROCm] Enable Tiled layout extension and minor changes to setup
Fixes builds for non-rocm.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1834
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Pending, 1 Unrelated FailureAs of commit 15e29f1 with merge base 883dc65 ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Contributor
Author
|
This is a dupe of #1206, just needed to fix some setup.py stuff and didn't have write access to the fork |
drisspg
approved these changes
Mar 4, 2025
liangel-02
pushed a commit
that referenced
this pull request
Aug 25, 2025
* enable build for rocm for fp6_llm * enable tiled layout extension * fix build error related to option * require rocm 6.2 * enable tensor tiled layout extension with successful compilation * clean-up * fix potential memory access issue * fix __nv_bfloat162 init * add comment for MI300x isa * fix build for non-rocm * add sparse_marlin kernel to the build * drop .h from conversion * cp_asyc4_pred_zfill() AMD implementation * implement matching mem utility with amd GCN isa * implement mma util with amd gcn isa * enable rocm path * update copy from global to lds * implement cvta_to_shared() * consolidate code with cvta_to_shared() * lint * add GPU arch check for MI300x * revert change in tensor_core_tile_layout.cu * lint refactor for better readibility * fix setup --------- Co-authored-by: lcskrishna <[email protected]> Co-authored-by: Peter Yeh <[email protected]> Co-authored-by: Peter Y. Yeh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ciflow/rocm
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
module: rocm
sparsity
topic: improvement
Use this tag if this PR is an improvement (doesn't fit into any of the other categories)
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.
Built on top pf #1201. This pull request introduces support for ROCm (Radeon Open Compute) for sparse marling kernel in addition to CUDA, enabling the code to run on AMD GPUs.
The main changes involve conditional compilation to handle differences between CUDA and ROCm, as well as adding ROCm-specific intrinsics for MI300x.
co-author : @lcskrishna
Key changes include:
ROCm Support in
setup.py:Conditional Compilation in CUDA Source Files:
ROCm-specific Implementations:
Next: