BARTxiv / quantize_config.json
fcogidi's picture
Add files using upload-large-folder tool
c198480 verified
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_model": {
"op_types": [
"Softmax",
"Sqrt",
"Slice",
"Squeeze",
"Reshape",
"ReduceMean",
"Equal",
"Transpose",
"MatMul",
"Expand",
"Mul",
"ConstantOfShape",
"Pow",
"Less",
"Cast",
"Constant",
"Gather",
"Range",
"Where",
"Unsqueeze",
"Add",
"Concat",
"Shape",
"Div",
"Erf",
"Sub"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Softmax",
"Sqrt",
"Reshape",
"ReduceMean",
"Equal",
"Transpose",
"MatMul",
"Expand",
"Mul",
"ConstantOfShape",
"Pow",
"Cast",
"Constant",
"Gather",
"Range",
"Where",
"Unsqueeze",
"Add",
"Concat",
"Shape",
"Div",
"Erf",
"Sub"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Softmax",
"Sqrt",
"Slice",
"Squeeze",
"Reshape",
"ReduceMean",
"Equal",
"Transpose",
"MatMul",
"Expand",
"Mul",
"ConstantOfShape",
"Pow",
"If",
"Less",
"Cast",
"Constant",
"Gather",
"Range",
"Where",
"Unsqueeze",
"Add",
"Concat",
"Shape",
"Div",
"Erf",
"Sub"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Softmax",
"Sqrt",
"Reshape",
"ReduceMean",
"Equal",
"Transpose",
"MatMul",
"Expand",
"Mul",
"ConstantOfShape",
"Pow",
"Cast",
"Constant",
"Gather",
"Range",
"Where",
"Unsqueeze",
"Add",
"Concat",
"Shape",
"Div",
"Erf",
"Sub"
],
"weight_type": "QInt8"
}
}
}