Commit 9df265a
authored
Fix: GPTQ fails with per-channel int4 compression. (#3285)
### Changes
Use `block_compression_config` as input for the scale estimation
algorithm.
### Reason for changes
GPTQ fails with per-channel int4 compression.
### Related tickets
ref: 159891
### Tests
test_call_gptq_with_dataset_scale_estimation_neg_group_size1 parent 045c5c1 commit 9df265a
File tree
2 files changed
+12
-5
lines changed- nncf/quantization/algorithms/weight_compression
- tests/openvino/native/quantization
2 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | | - | |
279 | | - | |
280 | 278 | | |
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
285 | 283 | | |
286 | | - | |
287 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
955 | 963 | | |
956 | 964 | | |
957 | 965 | | |
| |||
0 commit comments