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