musicgen-small-js / quantize_config.json
osanseviero's picture
osanseviero HF staff
Upload 20 files
23335c7 verified
raw
history blame contribute delete
No virus
4.57 kB
{
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"build_delay_pattern_mask": {
"op_types": [
"Equal",
"Shape",
"Concat",
"ScatterND",
"Gather",
"Range",
"Expand",
"Mul",
"ReduceMin",
"Reshape",
"Transpose",
"Where",
"Add",
"NonZero",
"Cast",
"GreaterOrEqual",
"Sub",
"Not",
"Slice",
"Unsqueeze",
"Trilu",
"Constant",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"text_encoder": {
"op_types": [
"MatMul",
"Shape",
"Div",
"Concat",
"Sqrt",
"Abs",
"Gather",
"Range",
"Mul",
"Less",
"Log",
"Min",
"Reshape",
"Transpose",
"Where",
"Add",
"ReduceMean",
"Cast",
"Pow",
"Sub",
"Unsqueeze",
"Softmax",
"Relu",
"Greater",
"Constant",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"decoder_model_merged": {
"op_types": [
"MatMul",
"Shape",
"Equal",
"Div",
"Concat",
"Sqrt",
"If",
"Gather",
"Range",
"Expand",
"Mul",
"Erf",
"Less",
"Reshape",
"Transpose",
"Where",
"Add",
"ReduceMean",
"Cast",
"Pow",
"Squeeze",
"Sub",
"Slice",
"Unsqueeze",
"Softmax",
"Constant",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"decoder_model": {
"op_types": [
"MatMul",
"Shape",
"Equal",
"Div",
"Concat",
"Sqrt",
"Gather",
"Range",
"Expand",
"Mul",
"Erf",
"Less",
"Reshape",
"Transpose",
"Where",
"Add",
"ReduceMean",
"Cast",
"Pow",
"Squeeze",
"Sub",
"Slice",
"Unsqueeze",
"Softmax",
"Constant",
"ConstantOfShape"
],
"weight_type": "QInt8"
},
"encodec_decode": {
"op_types": [
"Shape",
"Div",
"Concat",
"Gather",
"LSTM",
"Conv",
"Reshape",
"Transpose",
"ConvTranspose",
"Add",
"Cast",
"Elu",
"Squeeze",
"Sub",
"Split",
"Pad",
"Slice",
"Unsqueeze",
"Constant",
"ConstantOfShape",
"Ceil"
],
"weight_type": "QUInt8"
},
"decoder_with_past_model": {
"op_types": [
"Equal",
"Shape",
"Div",
"MatMul",
"Concat",
"Sqrt",
"Gather",
"Range",
"Expand",
"Mul",
"Erf",
"Reshape",
"Transpose",
"Where",
"Add",
"ReduceMean",
"Cast",
"Pow",
"Sub",
"Unsqueeze",
"Softmax",
"Constant",
"ConstantOfShape"
],
"weight_type": "QInt8"
}
}
}