Skip to content

Conversation

liangel-02
Copy link
Contributor

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

adding Int4TilePackedTo4dTensor to safetensors (Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d"))

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]
Copy link

pytorch-bot bot commented Sep 25, 2025

🔗 Helpful Links

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

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 7d1c5f5 with merge base 4013764 (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 Sep 25, 2025
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: cb75133
Pull Request resolved: #3064
@liangel-02 liangel-02 added the topic: new feature Use this tag if this PR adds a new feature label Sep 25, 2025
liangel-02 added a commit that referenced this pull request Sep 25, 2025
ghstack-source-id: 755127e
Pull Request resolved: #3064
adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
…afetensors"

adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
@liangel-02 liangel-02 changed the base branch from gh/liangel/3/base to main September 25, 2025 19:39
…afetensors"

adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
…afetensors"

adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
adding `Int4TilePackedTo4dTensor` to safetensors (`Int4WeightOnlyConfig(int4_packing_format="tile_packed_to_4d")`)

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




[ghstack-poisoned]
@liangel-02 liangel-02 merged commit fd06151 into main Sep 26, 2025
34 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