msluszniak's picture
Add QNN exports (fp16/int8, v69-v81)
74db80a verified
Raw History Blame Contribute Delete
12.7 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "whisper_tiny",
"family": "whisper",
"capabilities": [
"speech-to-text"
],
"backend": "qnn",
"license": "apache-2.0",
"variants": [
{
"file": "whisper_tiny_qnn_fp16_v69.pte",
"precision": "fp16",
"quantized": false,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_fp16_v73.pte",
"precision": "fp16",
"quantized": false,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_fp16_v75.pte",
"precision": "fp16",
"quantized": false,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_fp16_v79.pte",
"precision": "fp16",
"quantized": false,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_fp16_v81.pte",
"precision": "fp16",
"quantized": false,
"default": true,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_int8_v69.pte",
"precision": "int8",
"quantized": true,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_int8_v73.pte",
"precision": "int8",
"quantized": true,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_int8_v75.pte",
"precision": "int8",
"quantized": true,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_int8_v79.pte",
"precision": "int8",
"quantized": true,
"default": false,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
},
{
"file": "whisper_tiny_qnn_int8_v81.pte",
"precision": "int8",
"quantized": true,
"default": true,
"methods": {
"decode": {
"inputs": [
{
"shape": [
1,
1
],
"dtype": "int64"
},
{
"shape": [
1
],
"dtype": "int64"
},
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1,
51865
],
"dtype": "float32"
}
]
},
"encode": {
"inputs": [
{
"shape": [
480000
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
1500,
3072
],
"dtype": "float32"
}
]
}
}
}
]
}