m2m100_418M / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
0c6fe5c
raw
history blame
3.37 kB
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"decoder_model": {
"op_types": [
"Equal",
"Softmax",
"Less",
"MatMul",
"Shape",
"Mul",
"Constant",
"Squeeze",
"Transpose",
"Range",
"Identity",
"ReduceMean",
"Add",
"Relu",
"Reshape",
"CumSum",
"Sub",
"Expand",
"Gather",
"Where",
"Slice",
"Not",
"Sqrt",
"Pow",
"Concat",
"Unsqueeze",
"Div",
"Cast",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Equal",
"Softmax",
"MatMul",
"Shape",
"Mul",
"Constant",
"Transpose",
"Identity",
"ReduceMean",
"Add",
"Relu",
"Reshape",
"CumSum",
"Sub",
"Expand",
"Gather",
"Where",
"Not",
"Sqrt",
"Pow",
"Concat",
"Unsqueeze",
"Div",
"Cast",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Equal",
"Softmax",
"Less",
"MatMul",
"If",
"Shape",
"Mul",
"Constant",
"Squeeze",
"Transpose",
"Range",
"Identity",
"ReduceMean",
"Add",
"Relu",
"Reshape",
"CumSum",
"Sub",
"Expand",
"Gather",
"Where",
"Slice",
"Not",
"Sqrt",
"Pow",
"Concat",
"Unsqueeze",
"Div",
"Cast",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Equal",
"Softmax",
"MatMul",
"Shape",
"Mul",
"Constant",
"Transpose",
"Identity",
"ReduceMean",
"Add",
"Relu",
"Reshape",
"CumSum",
"Sub",
"Expand",
"Gather",
"Where",
"Not",
"Sqrt",
"Pow",
"Concat",
"Unsqueeze",
"Div",
"Cast",
"ConstantOfShape"
],
"weight_type": "QInt8"
}
}
}