-
Notifications
You must be signed in to change notification settings - Fork 350
add int4preshuffledtensor to safetensors #3063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[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]
**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]
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3063
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 585afe2 with merge base 0064084 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
adding `Int4PreshuffledTensor` to safetensors modified unit test, `python test/prototype/safetensors/test_safetensors_support.py` [ghstack-poisoned]
| ALLOWED_CLASSES = { | ||
| "Float8Tensor": Float8Tensor, | ||
| "Int4Tensor": Int4Tensor, | ||
| "Int4PreshuffledTensor": Int4PreshuffledTensor, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's fine to not support this one actually, since we don't need to distribute this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but I think the test should probably still be added later when the full export path is ready
adding
Int4PreshuffledTensorto safetensors (Float8DynamicActivationInt4WeightConfig)modified unit test,
python test/prototype/safetensors/test_safetensors_support.pyStack from ghstack (oldest at bottom):