初始化项目,由ModelHub XC社区提供模型
Model: OPEA/Qwen2.5-0.5B-Instruct-int4-sym-inc Source: Original Platform
This commit is contained in:
25
quantize_config.json
Normal file
25
quantize_config.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"bits": 4,
|
||||
"group_size": 128,
|
||||
"sym": true,
|
||||
"data_type": "int",
|
||||
"enable_quanted_input": true,
|
||||
"enable_minmax_tuning": true,
|
||||
"seqlen": 2048,
|
||||
"batch_size": 8,
|
||||
"scale_dtype": "torch.float16",
|
||||
"lr": 0.001,
|
||||
"minmax_lr": 0.001,
|
||||
"gradient_accumulate_steps": 1,
|
||||
"iters": 1000,
|
||||
"amp": true,
|
||||
"nsamples": 512,
|
||||
"low_gpu_mem_usage": false,
|
||||
"quant_block_list": null,
|
||||
"enable_norm_bias_tuning": false,
|
||||
"autoround_version": "0.4.0.dev",
|
||||
"quant_method": "gptq",
|
||||
"desc_act": false,
|
||||
"true_sequential": false,
|
||||
"damp_percent": 0.01
|
||||
}
|
||||
Reference in New Issue
Block a user