-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Represent symmetrically quantized weights in signed data type (#2434)
### Changes Represent symmetrically quantized weights in signed data type with no zero point ### Reason for changes * To detect the quantization type without analyzing zero-point values * Signed data type for symmetrically quantized weights will lead to a smaller footprint, especially in case of grouped quantization. ### Related tickets 130625 ### Tests Updated: `tests/torch/ptq/test_weights_compression.py` and `tests/openvino/native/quantization/test_weights_compression.py` Merge after: openvinotoolkit/openvino#24457 Model | Backend | Metric name | Metric value | Metric diff | Num int4 | Num int8 | RAM MiB | Compr. time | Total time -- | -- | -- | -- | -- | -- | -- | -- | -- | -- tinyllama_data_aware_awq_scale_estimation | OV | Similarity | 0.84048 | -0.15952 | 94 | 124 | 35560 | 0:06:31 | 0:08:36 tinyllama_data_aware_awq_scale_estimation_stateful | OV | Similarity | 0.84048 | -0.15952 | 94 | 124 | 36612 | 0:06:12 | 0:07:40 tinyllama_data_aware_awq_stateful | OV | Similarity | 0.85259 | -0.14741 | 94 | 124 | 34824 | 0:01:50 | 0:03:17 tinyllama_data_aware | OV | Similarity | 0.83853 | -0.16147 | 94 | 124 | 30604 | 0:01:25 | 0:03:30 tinyllama_data_aware_gptq | OV | Similarity | 0.82187 | -0.17813 | 94 | 124 | 39624 | 0:25:09 | 0:27:10 tinyllama_data_free | OV | Similarity | 0.72057 | -0.27943 | 114 | 84 | 6671 | 0:00:42 | 0:02:46 tinyllama_int8_data_free | TORCH | Similarity | 0.95624 | -0.04376 | 0 | 312 | 30161 | 0:00:09 | 0:02:54
- Loading branch information
Showing
16 changed files
with
378 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.