Skip to content

Only convert to int4 preshuffled tensor in H100#3245

Merged
jerryzh168 merged 1 commit into
mainfrom
minor-fix-for-conversion
Oct 25, 2025
Merged

Only convert to int4 preshuffled tensor in H100#3245
jerryzh168 merged 1 commit into
mainfrom
minor-fix-for-conversion

Conversation

@jerryzh168

Copy link
Copy Markdown
Contributor

Summary:
A minor fix for convert_to_packed_tensor_based_on_current_hardware to only convert the Int4Tensor to Int4PreshuffledTensor when we are on H100 GPU

Test Plan:
pytest test/prototype/test_tensor_conversion.py

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:
A minor fix for `convert_to_packed_tensor_based_on_current_hardware` to only
convert the Int4Tensor to Int4PreshuffledTensor when we are on H100 GPU

Test Plan:
pytest test/prototype/test_tensor_conversion.py

Reviewers:

Subscribers:

Tasks:

Tags:
@pytorch-bot

pytorch-bot Bot commented Oct 24, 2025

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 2a7e792 with merge base e9c7bea (image):
💚 Looks good so far! There are no failures yet. 💚

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 Oct 24, 2025
@jerryzh168 jerryzh168 added module: not user facing Use this tag if you don't want this PR to show up in release notes topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories) labels Oct 24, 2025
@jerryzh168 jerryzh168 merged commit f303f4c into main Oct 25, 2025
19 of 21 checks passed
namgyu-youn pushed a commit to namgyu-youn/ao that referenced this pull request Nov 21, 2025
Summary:
A minor fix for `convert_to_packed_tensor_based_on_current_hardware` to only
convert the Int4Tensor to Int4PreshuffledTensor when we are on H100 GPU

Test Plan:
pytest test/prototype/test_tensor_conversion.py

Reviewers:

Subscribers:

Tasks:

Tags:
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 topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants