Skip to content

Re-enable TBE backward none and SGD writeback tests on ROCm (#6472) - #6472

Closed
q10 wants to merge 1 commit into
pytorch:mainfrom
q10:export-D125069873
Closed

q10 wants to merge 1 commit into
pytorch:mainfrom
q10:export-D125069873

Conversation

@q10

@q10 q10 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.

Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10

@pytorch-bot

pytorch-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown

Warning: Unknown label ciflow/rocm.
Currently recognized labels are

  • ciflow/binaries

Please add the new label to .github/pytorch-probot.yml

@meta-cla meta-cla Bot added the cla signed label Oct 15, 2026
@meta-codesync

meta-codesync Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

@q10 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D125069873.

@meta-codesync meta-codesync Bot changed the title Re-enable TBE backward none and SGD writeback tests on ROCm (#6451) Re-enable TBE backward none and SGD writeback tests on ROCm (#6472) Oct 15, 2026
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 15, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from 03cdd3e to 9592a71 Compare October 15, 2026 18:15
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 16, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10 q10 closed this Oct 16, 2026
@q10
q10 force-pushed the export-D125069873 branch from 9592a71 to 9b6a47d Compare October 16, 2026 06:34
@q10 q10 reopened this Oct 16, 2026
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 16, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from 9b6a47d to c6fe776 Compare October 16, 2026 17:57
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 17, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch 2 times, most recently from e037952 to a67bdb1 Compare October 19, 2026 23:47
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 19, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 19, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from a67bdb1 to 0450575 Compare October 19, 2026 23:48
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 19, 2026
…6472)

Summary:
Pull Request resolved: pytorch#6472

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.

Pull Request resolved: pytorch#6451

Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from 0450575 to 0075e1d Compare October 19, 2026 23:49
q10 pushed a commit to q10/FBGEMM that referenced this pull request Oct 19, 2026
…6472)

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.


Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from 0075e1d to 33c5ea1 Compare October 19, 2026 23:51
…6472)

Summary:
Pull Request resolved: pytorch#6472

X-link: https://github.com/facebookresearch/FBGEMM/pull/3318

The skips on test_backward_none, test_backward_none_v1, test_backward_sgd_writeback, test_backward_sgd_writeback_first_feature_only and test_backward_sgd_writeback_nobag were meant to apply only to GitHub ROCm runners, but the condition used running_on_github, which is a tuple and therefore always true, so the tests were skipped on every ROCm run.

With the skips removed, four of these tests failed on ROCm because the reference gradients call sparse coalesce on the GPU, which returned garbage for dense sizes above 256 on ROCm. That PyTorch bug is fixed by pytorch/pytorch#199484 and the fix is in PyTorch nightlies from 2026-10-03 onward. FBGEMM kernels were not affected.

This removes the five skip decorators and the now unused running_on_github imports.

Pull Request resolved: pytorch#6451

Reviewed By: spcyppt

Differential Revision: D125069873

Pulled By: q10
@q10
q10 force-pushed the export-D125069873 branch from 33c5ea1 to d495b24 Compare October 19, 2026 23:53
@meta-codesync meta-codesync Bot closed this in 8a2cf5c Oct 20, 2026
@meta-codesync meta-codesync Bot added the Merged label Oct 20, 2026
@meta-codesync

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

@q10 merged this pull request in 8a2cf5c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants