-
Notifications
You must be signed in to change notification settings - Fork 348
add int4tensor support for safetensors #3056
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]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3056
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f7b8068 with merge base 0064084 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
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.
looks good, we can add all the configs we want to first, and then can follow up with a PR trying to enable for all TorchAOBaseTensor I think
please include at least a |
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.
need to extend the code to work with optional tensor attributes
[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]
Summary
adding
Int4Tensor
support for safetensors (Int4WeightOnlyConfig
)Test plan
modified unit test to include
Int4WeightOnlyConfig
python test/prototype/safetensors/test_safetensors_support.py
Stack from ghstack (oldest at bottom):