初始化项目,由ModelHub XC社区提供模型
Model: Xenova/llama2.c-stories42M Source: Original Platform
This commit is contained in:
107
quantize_config.json
Normal file
107
quantize_config.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"per_channel": false,
|
||||
"reduce_range": false,
|
||||
"per_model_config": {
|
||||
"decoder_with_past_model": {
|
||||
"op_types": [
|
||||
"Unsqueeze",
|
||||
"Transpose",
|
||||
"Neg",
|
||||
"Softmax",
|
||||
"If",
|
||||
"Identity",
|
||||
"Expand",
|
||||
"Where",
|
||||
"Constant",
|
||||
"Mul",
|
||||
"Shape",
|
||||
"Sigmoid",
|
||||
"MatMul",
|
||||
"Div",
|
||||
"Squeeze",
|
||||
"Range",
|
||||
"Sub",
|
||||
"Pow",
|
||||
"Gather",
|
||||
"Concat",
|
||||
"ReduceMean",
|
||||
"ConstantOfShape",
|
||||
"Reshape",
|
||||
"Sqrt",
|
||||
"Cast",
|
||||
"Slice",
|
||||
"Add",
|
||||
"Equal"
|
||||
],
|
||||
"weight_type": "QInt8"
|
||||
},
|
||||
"decoder_model": {
|
||||
"op_types": [
|
||||
"Unsqueeze",
|
||||
"Transpose",
|
||||
"Neg",
|
||||
"Less",
|
||||
"If",
|
||||
"Softmax",
|
||||
"Identity",
|
||||
"Expand",
|
||||
"Where",
|
||||
"Constant",
|
||||
"Mul",
|
||||
"Shape",
|
||||
"Sigmoid",
|
||||
"MatMul",
|
||||
"Div",
|
||||
"Squeeze",
|
||||
"Range",
|
||||
"Sub",
|
||||
"Pow",
|
||||
"Gather",
|
||||
"Concat",
|
||||
"ReduceMean",
|
||||
"ConstantOfShape",
|
||||
"Reshape",
|
||||
"Slice",
|
||||
"Cast",
|
||||
"Sqrt",
|
||||
"Add",
|
||||
"Equal"
|
||||
],
|
||||
"weight_type": "QInt8"
|
||||
},
|
||||
"decoder_model_merged": {
|
||||
"op_types": [
|
||||
"Unsqueeze",
|
||||
"Transpose",
|
||||
"Neg",
|
||||
"Less",
|
||||
"If",
|
||||
"Softmax",
|
||||
"Identity",
|
||||
"Expand",
|
||||
"Where",
|
||||
"Constant",
|
||||
"Mul",
|
||||
"Shape",
|
||||
"Sigmoid",
|
||||
"MatMul",
|
||||
"Div",
|
||||
"Squeeze",
|
||||
"Range",
|
||||
"Sub",
|
||||
"Pow",
|
||||
"Gather",
|
||||
"Concat",
|
||||
"ReduceMean",
|
||||
"ConstantOfShape",
|
||||
"Reshape",
|
||||
"Slice",
|
||||
"Cast",
|
||||
"Sqrt",
|
||||
"Add",
|
||||
"Equal"
|
||||
],
|
||||
"weight_type": "QInt8"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user