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