{ | |
"fp16": {}, | |
"q8": { | |
"per_model_config": { | |
"model": { | |
"op_types": [ | |
"Add", | |
"BatchNormalization", | |
"Constant", | |
"Conv", | |
"Div", | |
"Erf", | |
"Flatten", | |
"Gemm", | |
"GlobalAveragePool", | |
"Identity", | |
"Mul", | |
"ReduceMean", | |
"Relu", | |
"Sigmoid", | |
"Sub" | |
], | |
"weight_type": "QUInt8" | |
} | |
}, | |
"per_channel": false, | |
"reduce_range": false | |
}, | |
"int8": { | |
"per_model_config": { | |
"model": { | |
"op_types": [ | |
"Add", | |
"BatchNormalization", | |
"Constant", | |
"Conv", | |
"Div", | |
"Erf", | |
"Flatten", | |
"Gemm", | |
"GlobalAveragePool", | |
"Identity", | |
"Mul", | |
"ReduceMean", | |
"Relu", | |
"Sigmoid", | |
"Sub" | |
], | |
"weight_type": "QInt8" | |
} | |
}, | |
"per_channel": false, | |
"reduce_range": false | |
}, | |
"uint8": { | |
"per_model_config": { | |
"model": { | |
"op_types": [ | |
"Add", | |
"BatchNormalization", | |
"Constant", | |
"Conv", | |
"Div", | |
"Erf", | |
"Flatten", | |
"Gemm", | |
"GlobalAveragePool", | |
"Identity", | |
"Mul", | |
"ReduceMean", | |
"Relu", | |
"Sigmoid", | |
"Sub" | |
], | |
"weight_type": "QUInt8" | |
} | |
}, | |
"per_channel": false, | |
"reduce_range": false | |
}, | |
"q4": { | |
"block_size": 32, | |
"is_symmetric": true, | |
"accuracy_level": null | |
}, | |
"bnb4": { | |
"block_size": 64, | |
"quant_type": 1 | |
} | |
} |