gpt2 / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
2b6f8ca
raw
history blame
2.4 kB
{
"per_channel": false,
"reduce_range": false,
"per_model_config": {
"decoder_model": {
"op_types": [
"Pow",
"Sqrt",
"Softmax",
"Shape",
"Concat",
"Gather",
"ReduceMean",
"Div",
"MatMul",
"Slice",
"Transpose",
"Mul",
"Sub",
"Constant",
"ConstantOfShape",
"Tanh",
"Reshape",
"Where",
"Squeeze",
"Split",
"Range",
"Cast",
"Add",
"Gemm",
"Unsqueeze"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"Pow",
"Sqrt",
"Softmax",
"Shape",
"Concat",
"Gather",
"ReduceMean",
"Div",
"MatMul",
"Slice",
"Transpose",
"Mul",
"Sub",
"Constant",
"ConstantOfShape",
"Tanh",
"Reshape",
"Where",
"Squeeze",
"If",
"Range",
"Split",
"Cast",
"Add",
"Gemm",
"Unsqueeze"
],
"weight_type": "QInt8"
},
"decoder_with_past_model": {
"op_types": [
"Pow",
"Sqrt",
"Softmax",
"Shape",
"Concat",
"Gather",
"ReduceMean",
"Div",
"MatMul",
"Slice",
"Transpose",
"Mul",
"Sub",
"Constant",
"ConstantOfShape",
"Tanh",
"Reshape",
"Where",
"Squeeze",
"Split",
"Range",
"Cast",
"Add",
"Gemm",
"Unsqueeze"
],
"weight_type": "QInt8"
}
}
}