change to autoround format
Browse filesSigned-off-by: wenhuach <[email protected]>
config.json
CHANGED
@@ -19,11 +19,11 @@
|
|
19 |
"quantization_config": {
|
20 |
"amp": true,
|
21 |
"autoround_version": "0.4.2.dev",
|
|
|
22 |
"batch_size": 8,
|
23 |
"bits": 4,
|
24 |
-
"damp_percent": 0.01,
|
25 |
"data_type": "int",
|
26 |
-
"
|
27 |
"enable_minmax_tuning": true,
|
28 |
"enable_norm_bias_tuning": false,
|
29 |
"enable_quanted_input": true,
|
@@ -34,7 +34,7 @@
|
|
34 |
"lr": 0.001,
|
35 |
"minmax_lr": 0.001,
|
36 |
"nsamples": 512,
|
37 |
-
"quant_method": "
|
38 |
"scale_dtype": "torch.float16",
|
39 |
"seqlen": 2048,
|
40 |
"sym": true,
|
@@ -69,8 +69,7 @@
|
|
69 |
"model.layers.26",
|
70 |
"model.layers.27"
|
71 |
]
|
72 |
-
]
|
73 |
-
"true_sequential": false
|
74 |
},
|
75 |
"rms_norm_eps": 1e-06,
|
76 |
"rope_scaling": null,
|
|
|
19 |
"quantization_config": {
|
20 |
"amp": true,
|
21 |
"autoround_version": "0.4.2.dev",
|
22 |
+
"backend": "auto_round:gptq:exllamav2",
|
23 |
"batch_size": 8,
|
24 |
"bits": 4,
|
|
|
25 |
"data_type": "int",
|
26 |
+
"dataset": "NeelNanda/pile-10k",
|
27 |
"enable_minmax_tuning": true,
|
28 |
"enable_norm_bias_tuning": false,
|
29 |
"enable_quanted_input": true,
|
|
|
34 |
"lr": 0.001,
|
35 |
"minmax_lr": 0.001,
|
36 |
"nsamples": 512,
|
37 |
+
"quant_method": "intel/auto-round",
|
38 |
"scale_dtype": "torch.float16",
|
39 |
"seqlen": 2048,
|
40 |
"sym": true,
|
|
|
69 |
"model.layers.26",
|
70 |
"model.layers.27"
|
71 |
]
|
72 |
+
]
|
|
|
73 |
},
|
74 |
"rms_norm_eps": 1e-06,
|
75 |
"rope_scaling": null,
|
quantize_config.json → quantization_config.json
RENAMED
@@ -48,9 +48,8 @@
|
|
48 |
]
|
49 |
],
|
50 |
"enable_norm_bias_tuning": false,
|
|
|
51 |
"autoround_version": "0.4.2.dev",
|
52 |
-
"quant_method": "
|
53 |
-
"
|
54 |
-
"true_sequential": false,
|
55 |
-
"damp_percent": 0.01
|
56 |
}
|
|
|
48 |
]
|
49 |
],
|
50 |
"enable_norm_bias_tuning": false,
|
51 |
+
"dataset": "NeelNanda/pile-10k",
|
52 |
"autoround_version": "0.4.2.dev",
|
53 |
+
"quant_method": "intel/auto-round",
|
54 |
+
"backend": "auto_round:gptq:exllamav2"
|
|
|
|
|
55 |
}
|