Skip to content

Fix stale Int4Tensor assertions in gemma4_31b CUDA pipeline tests#20230

Merged
Gasoonjia merged 1 commit into
mainfrom
g4-fix-int4-coalesced-test
Jun 12, 2026
Merged

Fix stale Int4Tensor assertions in gemma4_31b CUDA pipeline tests#20230
Gasoonjia merged 1 commit into
mainfrom
g4-fix-int4-coalesced-test

Conversation

@Gasoonjia

Copy link
Copy Markdown
Contributor

Packing converts Int4Tensor weights to CudaCoalescedInt4Tensor because the CUDA int4 kernel is registered only on the coalesced type, which is intentionally not a subclass of Int4Tensor. Update test_int4_weights_preserved and test_load_converts_weights to assert CudaCoalescedInt4Tensor.

Packing converts Int4Tensor weights to CudaCoalescedInt4Tensor because the
CUDA int4 kernel is registered only on the coalesced type, which is
intentionally not a subclass of Int4Tensor. Update test_int4_weights_preserved
and test_load_converts_weights to assert CudaCoalescedInt4Tensor.
@pytorch-bot

pytorch-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 4 New Failures, 2 Pending

As of commit e184a21 with merge base b47e588 (image):

NEW FAILURES - The following jobs have failed:

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

@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 Jun 12, 2026
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

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

@Gasoonjia Gasoonjia merged commit c5bf380 into main Jun 12, 2026
283 of 289 checks passed
@Gasoonjia Gasoonjia deleted the g4-fix-int4-coalesced-test branch June 12, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/cuda CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants