t5-flan-small / quantize_config.json
mboachie's picture
Upload 15 files
9798b79 verified
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_model": {
"op_types": [
"Softmax",
"Gather",
"Reshape",
"Expand",
"MatMul",
"Unsqueeze",
"Sub",
"Add",
"Concat",
"Tanh",
"Neg",
"LessOrEqual",
"Log",
"Div",
"Range",
"Mul",
"Less",
"Pow",
"Min",
"Shape",
"ReduceMean",
"Cast",
"Constant",
"Sqrt",
"ConstantOfShape",
"Transpose",
"Where",
"Tile"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Softmax",
"Gather",
"Reshape",
"MatMul",
"Unsqueeze",
"Sub",
"Add",
"Concat",
"Tanh",
"Log",
"Div",
"Range",
"Mul",
"Less",
"Pow",
"Greater",
"Min",
"Shape",
"ReduceMean",
"Cast",
"Constant",
"Sqrt",
"Transpose",
"ConstantOfShape",
"Where",
"Abs"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Softmax",
"Gather",
"Reshape",
"Expand",
"MatMul",
"Unsqueeze",
"Sub",
"Add",
"Concat",
"Tanh",
"Neg",
"LessOrEqual",
"Log",
"Div",
"Slice",
"Range",
"Mul",
"Less",
"Pow",
"Min",
"Shape",
"ReduceMean",
"Cast",
"Constant",
"Sqrt",
"ConstantOfShape",
"Transpose",
"Where",
"Tile"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Softmax",
"Gather",
"Reshape",
"Expand",
"MatMul",
"Unsqueeze",
"If",
"Sub",
"Add",
"Concat",
"Tanh",
"Neg",
"LessOrEqual",
"Log",
"Div",
"Slice",
"Range",
"Mul",
"Less",
"Pow",
"Min",
"Shape",
"ReduceMean",
"Cast",
"Constant",
"Sqrt",
"ConstantOfShape",
"Transpose",
"Where",
"Tile"
],
"weight_type": "QInt8"
}
}
}