Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/146264
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 392bd26 with merge base bb11122 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "topic: not user facing" |
cdd2d28 to
3614776
Compare
845eea9 to
b134bfa
Compare
|
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
|
@mxz297 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot add label "keep-going" |
|
❌ 🤖 pytorchbot command failed: Try |
|
@pytorchbot --help |
PyTorchBot HelpMergeRevertRebaseLabelDr CIcherry-pickCloseusage: @pytorchbot close Close a PR [Can be used on issues] |
|
@pytorchbot label "keep-going" |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
1e297b5 to
067df58
Compare
bde074b to
9405e2f
Compare
|
@mxz297 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
mxz297
left a comment
There was a problem hiding this comment.
BF16 regression is resolved and confirmed FP32 gain. Thanks!
|
@jeffdaily there seems to be some mi300 test failures for the PR. Do you know if these failures are pre-existing? |
|
[AMD Official Use Only - AMD Internal Distribution Only]
How does one find the failing test?
From: Xiaozhu Meng ***@***.***>
Sent: Thursday, April 17, 2025 1:55 PM
To: pytorch/pytorch ***@***.***>
Cc: Hashemi, Hashem ***@***.***>; Mention ***@***.***>
Subject: Re: [pytorch/pytorch] [ROCm] opportunistic fastatomics for ReduceAdd operations for MI300 GPUs (PR #146264)
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
@jeffdaily<https://github.com/jeffdaily> there seems to be some mi300 test failures for the PR. Do you know if these failures are pre-existing?
—
Reply to this email directly, view it on GitHub<#146264 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BF5VWLUBQVQB52BO2X6RFH322AILJAVCNFSM6AAAAABWJZQJAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJUGAYDINRSGI>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
[https://avatars.githubusercontent.com/u/1683713?s=20&v=4]mxz297 left a comment (pytorch/pytorch#146264)<#146264 (comment)>
@jeffdaily<https://github.com/jeffdaily> there seems to be some mi300 test failures for the PR. Do you know if these failures are pre-existing?
—
Reply to this email directly, view it on GitHub<#146264 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BF5VWLUBQVQB52BO2X6RFH322AILJAVCNFSM6AAAAABWJZQJAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJUGAYDINRSGI>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
| return any(arch in effective_arch for arch in arch_list) | ||
|
|
||
| def CDNA3OrLater(): | ||
| return evaluate_gfx_arch_within(["gfx940", "gfx941", "gfx942", "gfx950"]) |
There was a problem hiding this comment.
remove gfx940", "gfx941" as we don't support these anymore
|
There are a lot of failures on the HUD at the moment, so hard to say if these mi300 failures are new. But given the test names like test/test_ops.py::TestCommonCUDA::test_dtypes_scatter_reduce_mean_cuda it would seem this PR is causing some failures on mi300. CC @pragupta |
|
@mxz297 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@mxz297 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: pull / linux-jammy-py3.9-gcc11 / test (docs_test, 1, 1, ephemeral.linux.2xlarge) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
In this approach, we are catching any lane within a wave that is doing fastatomics to the same destination address and computing the sum on the CU. This is leading to 3x improvement in scatter_add performance and 2x improvement in index_select.
scatter_add performance on MI300x:
Using the following reproducer
co-authored by: @amd-hhashemi
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov