trocr-base-handwritten / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
5b3db74
{
"per_channel": false,
"reduce_range": false,
"per_model_config": {
"decoder_model_merged": {
"op_types": [
"Pow",
"If",
"Add",
"Shape",
"Cast",
"Unsqueeze",
"Range",
"ReduceMean",
"Sqrt",
"Reshape",
"Slice",
"Div",
"Constant",
"ConstantOfShape",
"Squeeze",
"Softmax",
"Transpose",
"Erf",
"Equal",
"Sub",
"Expand",
"Mul",
"Where",
"Gather",
"MatMul",
"Less",
"Concat"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Pow",
"Add",
"Shape",
"Cast",
"Unsqueeze",
"Range",
"ReduceMean",
"Sqrt",
"Reshape",
"Slice",
"Div",
"Constant",
"ConstantOfShape",
"Squeeze",
"Softmax",
"Transpose",
"Erf",
"Equal",
"Sub",
"Expand",
"Mul",
"Where",
"Gather",
"MatMul",
"Less",
"Concat"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Pow",
"Add",
"Shape",
"Unsqueeze",
"ReduceMean",
"Sqrt",
"Reshape",
"Slice",
"Div",
"Constant",
"ConstantOfShape",
"Softmax",
"Transpose",
"Erf",
"Equal",
"Sub",
"Expand",
"Mul",
"Where",
"Gather",
"MatMul",
"Conv",
"Concat"
],
"weight_type": "QUInt8"
},
"decoder_with_past_model": {
"op_types": [
"Pow",
"Add",
"Shape",
"Cast",
"Unsqueeze",
"Range",
"ReduceMean",
"Sqrt",
"Reshape",
"Div",
"Constant",
"ConstantOfShape",
"Softmax",
"Transpose",
"Erf",
"Equal",
"Sub",
"Expand",
"Mul",
"Where",
"Gather",
"MatMul",
"Concat"
],
"weight_type": "QInt8"
}
}
}