Repository navigation
Conversation
`test_conv_cuda_graph_new_shape` (from #201481) fails on the rocm-preview mi350 job for its transposed fp16 variants. Only `grad_weight` differs, and it is not the capture: replaying the same graph twice gives different results, and so do two eager calls. From ROCm 10.2 (MIOpen 3.6.2), MIOpen's default config for these small fp16 weight-gradient convs is the global split-K variant of `ConvAsmImplicitGemmGTCDynamicWrwXdlopsNHWC`, whose reduction order is not fixed; ROCm 10.1 picked a non-split config of the same solver, which happened to be exact. The test compares two runs of a conv it never asked to be deterministic, at the fp16 default tolerance. Passing `deterministic=True` to `cudnn.flags` makes MIOpen use a deterministic solver (CK `ConvHipImplicitGemmGroupWrwXdlops`), so replay, eager immediate and eager Find agree bit for bit. The capture failure #201481 fixes does not depend on deterministic, so the test still catches it. Loosening the tolerance instead would need about atol 0.2 for fp16 `grad_weight`. Test Plan: on MI355X (gfx950), at the same commit, ROCm 10.2.0a20261014 and 10.3.0a20261027 fail 3 of 12 variants before this change and pass 12/12 after (3 runs each); ROCm 10.1 passes both before and after; against a torch without #201481 the changed test fails with the capture error. ``` python test/nn/test_convolution.py -k test_conv_cuda_graph_new_shape -v ``` Authored with Claude.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/202451
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 8b17e2a with merge base 109544c ( 🟡 GREEN LIGHT - OUTDATED (earlier commit) - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@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: 15 jobs have failed, first few of them are: .github/workflows/tsan.yml / linux-jammy-py3.14t-clang21-tsan / build, trunk / dynamo-unittest / dynamo-build (3.15) / build, trunk / dynamo-unittest / dynamo-build (3.11) / build, trunk / dynamo-unittest / dynamo-build (3.13) / build, trunk / dynamo-unittest / dynamo-build (3.12) / build Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -i |
Merge failedReason: New commits were pushed while merging. Please rerun the merge command. Details for Dev Infra teamRaised by workflow job |
|
@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 |
) ## Linked issue or supporting maintainer Follow-up to pytorch#201481 (author has write access). ## BC-breaking? No ## Summary (human written only) Test-only follow-up to pytorch#201481: pin the new graph-capture conv test to deterministic MIOpen solvers so it stops failing on the ROCm preview image. Details below. ## Agent details (if applicable) `test_conv_cuda_graph_new_shape` (from pytorch#201481) fails on the rocm-preview mi350 job for its transposed fp16 variants. Only `grad_weight` differs, and it is not the capture: replaying the same graph twice gives different results, and so do two eager calls. From ROCm 10.2 (MIOpen 3.6.2), MIOpen's default config for these small fp16 weight-gradient convs is the global split-K variant of `ConvAsmImplicitGemmGTCDynamicWrwXdlopsNHWC`, whose reduction order is not fixed; ROCm 10.1 picked a non-split config of the same solver, which happened to be exact. The test compares two runs of a conv it never asked to be deterministic, at the fp16 default tolerance. Passing `deterministic=True` to `cudnn.flags` makes MIOpen use a deterministic solver (CK `ConvHipImplicitGemmGroupWrwXdlops`), so replay, eager immediate and eager Find agree bit for bit. The capture failure pytorch#201481 fixes does not depend on deterministic, so the test still catches it. Loosening the tolerance instead would need about atol 0.2 for fp16 `grad_weight`. Test Plan: on MI355X (gfx950), at the same commit, ROCm 10.2.0a20261014 and 10.3.0a20261027 fail 3 of 12 variants before this change and pass 12/12 after (3 runs each); ROCm 10.1 passes both before and after; against a torch without pytorch#201481 the changed test fails with the capture error. ``` python test/nn/test_convolution.py -k test_conv_cuda_graph_new_shape -v ``` Authored with Claude. Pull Request resolved: pytorch#202451 Approved by: https://github.com/jbschlosser
) ## Linked issue or supporting maintainer Follow-up to pytorch#201481 (author has write access). ## BC-breaking? No ## Summary (human written only) Test-only follow-up to pytorch#201481: pin the new graph-capture conv test to deterministic MIOpen solvers so it stops failing on the ROCm preview image. Details below. ## Agent details (if applicable) `test_conv_cuda_graph_new_shape` (from pytorch#201481) fails on the rocm-preview mi350 job for its transposed fp16 variants. Only `grad_weight` differs, and it is not the capture: replaying the same graph twice gives different results, and so do two eager calls. From ROCm 10.2 (MIOpen 3.6.2), MIOpen's default config for these small fp16 weight-gradient convs is the global split-K variant of `ConvAsmImplicitGemmGTCDynamicWrwXdlopsNHWC`, whose reduction order is not fixed; ROCm 10.1 picked a non-split config of the same solver, which happened to be exact. The test compares two runs of a conv it never asked to be deterministic, at the fp16 default tolerance. Passing `deterministic=True` to `cudnn.flags` makes MIOpen use a deterministic solver (CK `ConvHipImplicitGemmGroupWrwXdlops`), so replay, eager immediate and eager Find agree bit for bit. The capture failure pytorch#201481 fixes does not depend on deterministic, so the test still catches it. Loosening the tolerance instead would need about atol 0.2 for fp16 `grad_weight`. Test Plan: on MI355X (gfx950), at the same commit, ROCm 10.2.0a20261014 and 10.3.0a20261027 fail 3 of 12 variants before this change and pass 12/12 after (3 runs each); ROCm 10.1 passes both before and after; against a torch without pytorch#201481 the changed test fails with the capture error. ``` python test/nn/test_convolution.py -k test_conv_cuda_graph_new_shape -v ``` Authored with Claude. Pull Request resolved: pytorch#202451 Approved by: https://github.com/jbschlosser
Linked issue or supporting maintainer
Follow-up to #201481 (author has write access).
BC-breaking?
No
Summary (human written only)
Test-only follow-up to #201481: pin the new graph-capture conv test to deterministic MIOpen solvers so it stops failing on the ROCm preview image. Details below.
Agent details (if applicable)
test_conv_cuda_graph_new_shape(from #201481) fails on the rocm-preview mi350 job for its transposed fp16 variants. Onlygrad_weightdiffers, and it is not the capture: replaying the same graph twice gives different results, and so do two eager calls. From ROCm 10.2 (MIOpen 3.6.2), MIOpen's default config for these small fp16 weight-gradient convs is the global split-K variant ofConvAsmImplicitGemmGTCDynamicWrwXdlopsNHWC, whose reduction order is not fixed; ROCm 10.1 picked a non-split config of the same solver, which happened to be exact. The test compares two runs of a conv it never asked to be deterministic, at the fp16 default tolerance.Passing
deterministic=Truetocudnn.flagsmakes MIOpen use a deterministic solver (CKConvHipImplicitGemmGroupWrwXdlops), so replay, eager immediate and eager Find agree bit for bit. The capture failure #201481 fixes does not depend on deterministic, so the test still catches it. Loosening the tolerance instead would need about atol 0.2 for fp16grad_weight.Test Plan: on MI355X (gfx950), at the same commit, ROCm 10.2.0a20261014 and 10.3.0a20261027 fail 3 of 12 variants before this change and pass 12/12 after (3 runs each); ROCm 10.1 passes both before and after; against a torch without #201481 the changed test fails with the capture error.
Authored with Claude.
cc @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang