donut-base-finetuned-docvqa / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
1ca7584
raw
history blame
3.26 kB
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_model": {
"op_types": [
"Unsqueeze",
"Slice",
"Equal",
"MatMul",
"Sqrt",
"Gather",
"Add",
"ReduceMean",
"Softmax",
"Where",
"Expand",
"Shape",
"Range",
"Constant",
"Reshape",
"Erf",
"Mul",
"Cast",
"Transpose",
"Concat",
"Sub",
"Squeeze",
"Div",
"Less",
"Pow",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Unsqueeze",
"Slice",
"MatMul",
"Equal",
"Sqrt",
"Gather",
"Add",
"ReduceMean",
"Softmax",
"Where",
"Conv",
"Expand",
"Shape",
"Range",
"Not",
"Constant",
"Reshape",
"Erf",
"Mul",
"Cast",
"Mod",
"Transpose",
"ScatterND",
"Concat",
"Pad",
"Sub",
"Div",
"Pow",
"ConstantOfShape"
],
"weight_type": "QUInt8"
},
"decoder_model_merged": {
"op_types": [
"Unsqueeze",
"Slice",
"Equal",
"MatMul",
"Sqrt",
"Gather",
"Add",
"ReduceMean",
"Softmax",
"Where",
"Expand",
"Shape",
"Range",
"If",
"Constant",
"Reshape",
"Erf",
"Mul",
"Cast",
"Transpose",
"Concat",
"Squeeze",
"Sub",
"Div",
"Less",
"Pow",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Unsqueeze",
"Equal",
"MatMul",
"Sqrt",
"Gather",
"Add",
"ReduceMean",
"Softmax",
"Where",
"Expand",
"Shape",
"Range",
"Constant",
"Reshape",
"Erf",
"Mul",
"Cast",
"Transpose",
"Concat",
"Sub",
"Div",
"Pow",
"ConstantOfShape"
],
"weight_type": "QInt8"
}
}
}