Skip to content

[CI] Add addmm linalg tests to B200 smoke suite - #192836

Closed
nWEIdia wants to merge 1 commit into
pytorch:mainfrom
nWEIdia:ci/b200-smoke-linalg-addmm
Closed

nWEIdia wants to merge 1 commit into
pytorch:mainfrom
nWEIdia:ci/b200-smoke-linalg-addmm

Conversation

@nWEIdia

@nWEIdia nWEIdia commented Aug 10, 2026 •

Copy link
Copy Markdown
Collaborator

A regression introduced in #191706 was caught internally on GB200 via TestLinalgCUDA.test_addmm_out_distinct_c_and_d, but that test was not included in the ciflow/b200 smoke job. This adds a targeted test_linalg -k "mm or addmv" run to test_python_smoke_b200(), covering test_mm*, test_addmm*, and test_addmv* in test_linalg (~1000 small-tensor parametrized cases) without meaningfully extending the ~1.5-hour smoke job runtime. Note that test_matmul_cuda and test_scaled_matmul_cuda are already included in the smoke suite and cover mm and scaled mm independently.
[Human note: to verify the increase of test time]
Human update:
This PR's smoke test (with keep-going) took 1hr 35 minutes. https://github.com/pytorch/pytorch/actions/runs/31434627639/job/93657733055?pr=192836#logs
Trunk job https://github.com/pytorch/pytorch/actions/runs/31437490081/job/93620093271 took 1hr 30 minutes.

So 5 minute in crease in test time.

Note

This PR was authored with the assistance of an AI assistant.

cc @ptrblck @eqy @tinglvv @atalman @malfet @ngimel

@pytorch-bot

pytorch-bot Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/192836

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (4 Unrelated Failures)

As of commit 5acd1d1 with merge base c6b7d1a (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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.

@ngimel ngimel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think addmm is too narrowly scoped, do we have mm/addmv etc tests we'd want to run? Scaled mm tests we'd want to run?

A regression introduced in pytorch#191706 was caught internally on GB200 via
`TestLinalgCUDA.test_addmm_out_distinct_c_and_d`, but that test was not
included in the `ciflow/b200` smoke job. Add a targeted `test_linalg`
run filtered to `-k "mm or addmv"`, which covers `test_mm*`,
`test_addmm*`, and `test_addmv*` in test_linalg (~1000 small-tensor
parametrized cases) without meaningfully extending the ~1.5-hour smoke
job runtime. `test_matmul_cuda` and `test_scaled_matmul_cuda` are
already included in the smoke suite and cover mm and scaled mm
independently.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@nWEIdia
nWEIdia force-pushed the ci/b200-smoke-linalg-addmm branch from b749d33 to 5acd1d1 Compare August 10, 2026 21:36
@nWEIdia
nWEIdia marked this pull request as ready for review August 10, 2026 21:39
@nWEIdia
nWEIdia requested a review from a team as a code owner August 10, 2026 21:39
@nWEIdia

nWEIdia commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator Author

I think addmm is too narrowly scoped, do we have mm/addmv etc tests we'd want to run? Scaled mm tests we'd want to run?

Ok, we tweaked the filter keywords that should run more tests. Scaled mm tests are already covered.

As a follow-up, I might enable a trunk job that could test the entire linalg on B200. As of now, there are 0 B200 based trunk jobs.

@nWEIdia nWEIdia added the keep-going Don't stop on first failure, keep running tests until the end label Aug 11, 2026
@nWEIdia

nWEIdia commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 11, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: This PR needs a release notes: label
If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Details for Dev Infra team Raised by workflow job

@nWEIdia

nWEIdia commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

ankitbhrdwj pushed a commit to ankitbhrdwj/pytorch that referenced this pull request Aug 12, 2026
A regression introduced in pytorch#191706 was caught internally on GB200 via `TestLinalgCUDA.test_addmm_out_distinct_c_and_d`, but that test was not included in the `ciflow/b200` smoke job. This adds a targeted `test_linalg -k "mm or addmv"` run to `test_python_smoke_b200()`, covering `test_mm*`, `test_addmm*`, and `test_addmv*` in test_linalg (~1000 small-tensor parametrized cases) without meaningfully extending the ~1.5-hour smoke job runtime. Note that `test_matmul_cuda` and `test_scaled_matmul_cuda` are already included in the smoke suite and cover mm and scaled mm independently.
[Human note: to verify the increase of test time]
Human update:
This PR's smoke test (with keep-going) took 1hr 35 minutes. https://github.com/pytorch/pytorch/actions/runs/31434627639/job/93657733055?pr=192836#logs
Trunk job https://github.com/pytorch/pytorch/actions/runs/31437490081/job/93620093271 took 1hr 30 minutes.

**So 5 minute in crease in test time.**

> [!NOTE]
> This PR was authored with the assistance of an AI assistant.

Pull Request resolved: pytorch#192836
Approved by: https://github.com/ngimel, https://github.com/Skylion007

Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
gavinwang269 pushed a commit to gavinwang269/pytorch that referenced this pull request Aug 13, 2026
A regression introduced in pytorch#191706 was caught internally on GB200 via `TestLinalgCUDA.test_addmm_out_distinct_c_and_d`, but that test was not included in the `ciflow/b200` smoke job. This adds a targeted `test_linalg -k "mm or addmv"` run to `test_python_smoke_b200()`, covering `test_mm*`, `test_addmm*`, and `test_addmv*` in test_linalg (~1000 small-tensor parametrized cases) without meaningfully extending the ~1.5-hour smoke job runtime. Note that `test_matmul_cuda` and `test_scaled_matmul_cuda` are already included in the smoke suite and cover mm and scaled mm independently.
[Human note: to verify the increase of test time]
Human update:
This PR's smoke test (with keep-going) took 1hr 35 minutes. https://github.com/pytorch/pytorch/actions/runs/31434627639/job/93657733055?pr=192836#logs
Trunk job https://github.com/pytorch/pytorch/actions/runs/31437490081/job/93620093271 took 1hr 30 minutes.

**So 5 minute in crease in test time.**

> [!NOTE]
> This PR was authored with the assistance of an AI assistant.

Pull Request resolved: pytorch#192836
Approved by: https://github.com/ngimel, https://github.com/Skylion007

Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/b200 ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants