Skip to content

Conversation

liangel-02
Copy link
Contributor

@liangel-02 liangel-02 commented Sep 25, 2025

adding IntxUnpackedToInt8Tensor‎ to safetensors (IntxWeightOnlyConfig)

modified unit test, python test/prototype/safetensors/test_safetensors_support.py

Stack from ghstack (oldest at bottom):

**Summary**
adding `Int4Tensor` support for safetensors (`Int4WeightOnlyConfig`)

**Test plan**
modified unit test to include `Int4WeightOnlyConfig`
`python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
**Summary**
adding `Int4Tensor` support for safetensors (`Int4WeightOnlyConfig`)

**Test plan**
modified unit test to include `Int4WeightOnlyConfig`
`python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
**Summary**
adding `Int4Tensor` support for safetensors (`Int4WeightOnlyConfig`)

**Test plan**
modified unit test to include `Int4WeightOnlyConfig`
`python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
**Summary**
adding `Int4Tensor` support for safetensors (`Int4WeightOnlyConfig`)

**Test plan**
modified unit test to include `Int4WeightOnlyConfig`
`python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `Int4PreshuffledTensor` to safetensors 

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
@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 Sep 25, 2025
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: 51d6a48
Pull Request resolved: #3065
Copy link

pytorch-bot bot commented Sep 25, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 4ebc5cd with merge base fd06151 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@liangel-02 liangel-02 added the topic: new feature Use this tag if this PR adds a new feature label Sep 25, 2025
Copy link
Contributor

@jerryzh168 jerryzh168 left a comment

Choose a reason for hiding this comment

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

thanks, please add a test for Int8DynamicActivationIntxWeightConfig as well

adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: 6e87bec
Pull Request resolved: #3065
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: 956bb30
Pull Request resolved: #3065
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: 7f1fbe3
Pull Request resolved: #3065
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
liangel-02 added a commit that referenced this pull request Sep 26, 2025
ghstack-source-id: d74d535
Pull Request resolved: #3065
@liangel-02 liangel-02 changed the base branch from gh/liangel/4/base to main September 26, 2025 14:31
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
adding `IntxUnpackedToInt8Tensor‎` to safetensors (`IntxWeightOnlyConfig`)

modified unit test, `python test/prototype/safetensors/test_safetensors_support.py`




[ghstack-poisoned]
liangel-02 added a commit that referenced this pull request Sep 26, 2025
ghstack-source-id: fe092a0
Pull Request resolved: #3065
@liangel-02 liangel-02 merged commit 7dd7183 into main Sep 26, 2025
41 of 42 checks passed
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. topic: new feature Use this tag if this PR adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants