distilvit / quantize_config.json
tarekziade's picture
Upload 19 files
9b9dca5 verified
raw history blame
No virus
3.11 kB
{
"per_channel": false,
"reduce_range": false,
"per_model_config": {
"decoder_with_past_model": {
"op_types": [
"Constant",
"Sqrt",
"Reshape",
"Concat",
"Cast",
"Split",
"Transpose",
"Add",
"Slice",
"Range",
"Shape",
"Squeeze",
"Div",
"ConstantOfShape",
"Gather",
"Pow",
"MatMul",
"Gemm",
"Softmax",
"Where",
"Unsqueeze",
"Mul",
"ReduceMean",
"Tanh",
"Sub"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"Constant",
"Sqrt",
"Reshape",
"Concat",
"Cast",
"Split",
"Transpose",
"Add",
"Slice",
"Range",
"Shape",
"Squeeze",
"Div",
"ConstantOfShape",
"Gather",
"Pow",
"MatMul",
"Gemm",
"Softmax",
"Where",
"Unsqueeze",
"Mul",
"ReduceMean",
"Tanh",
"Sub"
],
"weight_type": "QInt8"
},
"encoder_model": {
"op_types": [
"Constant",
"Sqrt",
"Reshape",
"Erf",
"Concat",
"Transpose",
"Add",
"Slice",
"Equal",
"Shape",
"Div",
"ConstantOfShape",
"Gather",
"Pow",
"MatMul",
"Conv",
"Softmax",
"Where",
"Unsqueeze",
"Expand",
"Mul",
"ReduceMean",
"Sub"
],
"weight_type": "QUInt8"
},
"decoder_model_merged": {
"op_types": [
"Constant",
"Sqrt",
"Reshape",
"Concat",
"Cast",
"Split",
"Transpose",
"Add",
"Slice",
"Range",
"Shape",
"Squeeze",
"Div",
"ConstantOfShape",
"Gather",
"Pow",
"MatMul",
"If",
"Gemm",
"Softmax",
"Where",
"Unsqueeze",
"Mul",
"ReduceMean",
"Tanh",
"Sub"
],
"weight_type": "QInt8"
}
}
}