msluszniak's picture
fix(v0.9.0): switch to size-first layout (s/{xnnpack,coreml}/ + x/{xnnpack,coreml}/)
1791287 verified
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "fast_sam",
"family": "sam",
"size": "x",
"capabilities": [
"instance-segmentation"
],
"backend": "coreml",
"license": "apache-2.0",
"variants": [
{
"file": "fast_sam_x_coreml_fp16.pte",
"precision": "fp16",
"quantized": false,
"default": true,
"size": "x",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
300,
4
],
"dtype": "float32"
},
{
"shape": [
1,
300,
32
],
"dtype": "float32"
},
{
"shape": [
1,
32,
160,
160
],
"dtype": "float32"
}
]
}
}
},
{
"file": "fast_sam_x_coreml_fp32.pte",
"precision": "fp32",
"quantized": false,
"default": false,
"size": "x",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
640,
640
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
300,
4
],
"dtype": "float32"
},
{
"shape": [
1,
300,
32
],
"dtype": "float32"
},
{
"shape": [
1,
32,
160,
160
],
"dtype": "float32"
}
]
}
}
}
]
}