tiny-random-GemmaForCausalLM / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub (#4)
0f7386d verified
{
"fp16": {},
"q8": {
"per_model_config": {
"model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Cos",
"Div",
"Equal",
"Expand",
"Gather",
"Greater",
"Identity",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Sin",
"Slice",
"Softmax",
"Sqrt",
"Tanh",
"Transpose",
"Trilu",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"int8": {
"per_model_config": {
"model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Cos",
"Div",
"Equal",
"Expand",
"Gather",
"Greater",
"Identity",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Sin",
"Slice",
"Softmax",
"Sqrt",
"Tanh",
"Transpose",
"Trilu",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"uint8": {
"per_model_config": {
"model": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Cos",
"Div",
"Equal",
"Expand",
"Gather",
"Greater",
"Identity",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"ScatterND",
"Shape",
"Sin",
"Slice",
"Softmax",
"Sqrt",
"Tanh",
"Transpose",
"Trilu",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
}
},
"per_channel": true,
"reduce_range": true
},
"q4": {
"block_size": 32,
"is_symmetric": true,
"accuracy_level": null
},
"bnb4": {
"block_size": 64,
"quant_type": 1
}
}