pix2struct-chartqa-base / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
3bd612e verified
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"encoder_model": {
"op_types": [
"Reshape",
"Slice",
"Sqrt",
"Unsqueeze",
"Where",
"Add",
"Div",
"Pow",
"Cast",
"ReduceMean",
"ConstantOfShape",
"Sub",
"MatMul",
"Equal",
"Tanh",
"Gather",
"Max",
"Softmax",
"Concat",
"Mul",
"Constant",
"Shape",
"Transpose"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Reshape",
"Sqrt",
"Unsqueeze",
"Less",
"Where",
"LessOrEqual",
"Add",
"Min",
"Log",
"Div",
"Pow",
"Range",
"Cast",
"ReduceMean",
"ConstantOfShape",
"Sub",
"MatMul",
"Tile",
"Expand",
"Tanh",
"Gather",
"Softmax",
"Neg",
"Concat",
"Mul",
"Constant",
"Shape",
"Transpose"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Reshape",
"Slice",
"Sqrt",
"Unsqueeze",
"Less",
"Where",
"LessOrEqual",
"Add",
"Min",
"Log",
"Div",
"Pow",
"Range",
"Cast",
"ReduceMean",
"ConstantOfShape",
"Sub",
"MatMul",
"Tile",
"Expand",
"Tanh",
"Gather",
"Softmax",
"Neg",
"Concat",
"Mul",
"Constant",
"Shape",
"Transpose"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Reshape",
"Slice",
"Sqrt",
"Unsqueeze",
"Less",
"Where",
"LessOrEqual",
"Add",
"Min",
"Log",
"Div",
"Pow",
"Range",
"Cast",
"ReduceMean",
"ConstantOfShape",
"Sub",
"MatMul",
"Tile",
"Expand",
"Tanh",
"Gather",
"Softmax",
"Neg",
"Concat",
"Mul",
"Constant",
"If",
"Shape",
"Transpose"
],
"weight_type": "QInt8"
}
}
}