Skip to content

Fix rowwise_scaled_linear_sparse_cutlass test#3768

Open
andrewor14 wants to merge 1 commit into
mainfrom
fix_rowwise_scaled_linear_sparse_cutlass_test
Open

Fix rowwise_scaled_linear_sparse_cutlass test#3768
andrewor14 wants to merge 1 commit into
mainfrom
fix_rowwise_scaled_linear_sparse_cutlass_test

Conversation

@andrewor14

Copy link
Copy Markdown
Contributor

Summary:

pytest test/test_ops_rowwise_scaled_linear_sparse_cutlass.py

This gives

E       RuntimeError: The size of tensor a (4) must match the size of tensor b (65) at non-singleton dimension 1

Seems like it's caused by #3759. We just need to update the test.

Test Plan:

pytest test/test_ops_rowwise_scaled_linear_sparse_cutlass.py

**Summary:**

```
pytest test/test_ops_rowwise_scaled_linear_sparse_cutlass.py
```

This gives

```
E       RuntimeError: The size of tensor a (4) must match the size of tensor b (65) at non-singleton dimension 1
```

Seems like it's caused by #3759.
We just need to update the test.

**Test Plan:**

```
pytest test/test_ops_rowwise_scaled_linear_sparse_cutlass.py
```
@pytorch-bot

pytorch-bot Bot commented Jan 29, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 809ec3d with merge base 35fc480 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@andrewor14 andrewor14 requested a review from jerryzh168 January 29, 2026 21:15
@andrewor14 andrewor14 marked this pull request as ready for review January 29, 2026 21:15
@andrewor14 andrewor14 added the module: not user facing Use this tag if you don't want this PR to show up in release notes label Jan 29, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 29, 2026
@jerryzh168

Copy link
Copy Markdown
Contributor

should we add the test run to CI?

@andrewor14

andrewor14 commented Jan 29, 2026

Copy link
Copy Markdown
Contributor Author

I think there are reasons why it wasn't added to CI, maybe because it needs special hardware or something? I'll let @jcaip do that when he gets back

@jerryzh168

Copy link
Copy Markdown
Contributor

I think there are reasons why it wasn't added to CI, maybe because it needs special hardware or something? I'll let @jcaip do that when he gets back

I think you can probably add to H100 test, but I'm also enabling the v2 version using this op in my PR any ways: https://github.com/pytorch/ao/pull/3727/changes#diff-bd400f440bccb67a4d23b5cc5c3ce843a1a6219354e25d69cd167827f62e415b

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants