msluszniak's picture
Add XNNPACK int8 exports
e4dc276 verified
Raw History Blame Contribute Delete
3.01 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "clip_vit_base_patch32",
"family": "clip",
"capabilities": [
"text-embedding",
"image-embedding"
],
"backend": "xnnpack",
"license": "mit",
"variants": [
{
"file": null,
"precision": "fp32",
"methods": {
"image": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
224,
224
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
512
],
"dtype": "float32"
}
]
}
},
"text": {
"forward": {
"inputs": [
{
"shape": [
1,
74
],
"dtype": "int64"
},
{
"shape": [
1,
74
],
"dtype": "int64"
}
],
"outputs": [
{
"shape": [
1,
512
],
"dtype": "float32"
}
]
}
}
},
"components": {
"image": "clip_vit_base_patch32_image_xnnpack_fp32.pte",
"text": "clip_vit_base_patch32_text_xnnpack_fp32.pte"
}
},
{
"file": null,
"precision": "int8",
"methods": {
"image": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
224,
224
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
512
],
"dtype": "float32"
}
]
}
},
"text": {
"forward": {
"inputs": [
{
"shape": [
1,
74
],
"dtype": "int64"
},
{
"shape": [
1,
74
],
"dtype": "int64"
}
],
"outputs": [
{
"shape": [
1,
512
],
"dtype": "float32"
}
]
}
}
},
"components": {
"image": "clip_vit_base_patch32_image_xnnpack_int8.pte",
"text": "clip_vit_base_patch32_text_xnnpack_int8.pte"
}
}
]
}