nanoLLaVA / quantize_config.json
Xenova's picture
Xenova HF staff
Upload folder using huggingface_hub
4ec4246 verified
raw
history blame
6.14 kB
{
"fp16": {},
"q8": {
"per_model_config": {
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Equal",
"Expand",
"Gather",
"Less",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"Shape",
"Sigmoid",
"Slice",
"Softmax",
"Sqrt",
"Squeeze",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"embed_tokens": {
"op_types": [
"Gather"
],
"weight_type": "QInt8"
},
"vision_encoder": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"Conv",
"Div",
"Erf",
"Gather",
"MatMul",
"Mul",
"Pow",
"ReduceMean",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze"
],
"weight_type": "QUInt8"
}
},
"per_channel": false,
"reduce_range": false
},
"int8": {
"per_model_config": {
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Equal",
"Expand",
"Gather",
"Less",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"Shape",
"Sigmoid",
"Slice",
"Softmax",
"Sqrt",
"Squeeze",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QInt8"
},
"embed_tokens": {
"op_types": [
"Gather"
],
"weight_type": "QInt8"
},
"vision_encoder": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"Conv",
"Div",
"Erf",
"Gather",
"MatMul",
"Mul",
"Pow",
"ReduceMean",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze"
],
"weight_type": "QInt8"
}
},
"per_channel": false,
"reduce_range": false
},
"uint8": {
"per_model_config": {
"decoder_model_merged": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"ConstantOfShape",
"Div",
"Equal",
"Expand",
"Gather",
"Less",
"MatMul",
"Mul",
"Neg",
"Pow",
"Range",
"ReduceMean",
"Reshape",
"Shape",
"Sigmoid",
"Slice",
"Softmax",
"Sqrt",
"Squeeze",
"Sub",
"Transpose",
"Unsqueeze",
"Where"
],
"weight_type": "QUInt8"
},
"embed_tokens": {
"op_types": [
"Gather"
],
"weight_type": "QUInt8"
},
"vision_encoder": {
"op_types": [
"Add",
"Cast",
"Concat",
"Constant",
"Conv",
"Div",
"Erf",
"Gather",
"MatMul",
"Mul",
"Pow",
"ReduceMean",
"Reshape",
"Shape",
"Slice",
"Softmax",
"Sqrt",
"Sub",
"Tanh",
"Transpose",
"Unsqueeze"
],
"weight_type": "QUInt8"
}
},
"per_channel": false,
"reduce_range": false
},
"q4": {
"block_size": 32,
"is_symmetric": true,
"accuracy_level": null
},
"bnb4": {
"block_size": 64,
"quant_type": 1
}
}