Measured on-device inference. Every number reproducible; every failure recorded.
hf:facebook/bart-base · embed
81.9M graph parameters (as exported) · 350 graph nodes · attention: mha · norm: layernorm
Constant×88, Add×63, MatMul×48, Mul×28, Reshape×26, Transpose×24, Where×14, LayerNormalization×13
Graph size by weight dtype: fp32 350 nodes, int8 484 nodes, fp32 585 nodes. Quantization inserts quantize/dequantize pairs, so the node count grows even as the artifact shrinks.
Recipes measured more than once on this unit, in separate sessions. This is the weakest useful form of the check — the real one runs the same recipe on two physical units of the same SKU, and we have one machine. Agreement here cannot catch a defect in the methodology that both runs share; it can only catch drift.
| Recipe | sessions | fastest ms | slowest ms | spread |
|---|---|---|---|---|
| unknown · Apple M2 | 8 | 11.37 | 53.42 | 370.01% |
| Recipe | Target | Outcome | p50 ms | cv | size MiB | cosine | FLOP fb (auth) | time fb (run) | partitions |
|---|---|---|---|---|---|---|---|---|---|
| ALL | ALL | success | 2.00 | 3.8% | — | — | — | 0.0% | — |
| ALL | ALL | success | 2.66 | 2.6% | — | — | — | 0.0% | — |
| ALL | ALL | success | 3.74 | 1.7% | — | — | — | 0.0% | — |
| ort-cpu-int8-dyn | CPU | success | 11.36 | 0.2% | 78 | 0.9805 | 0.0% | 0.0% | — |
| unknown | unknown | success | 11.37 | 0.2% | 78 | 0.9805 | 0.0% | 0.0% | — |
| unknown | unknown | success | 11.46 | 0.2% | 79 | 0.9908 | 0.0% | 0.0% | — |
| ort-cpu-int8-perchan | CPU | success | 11.53 | 2.6% | 79 | 0.9908 | 0.0% | 0.0% | — |
| ort-cpu-fp32 | CPU | success | 31.96 | 0.1% | 313 | 1.0000 | 0.0% | 0.0% | — |
| ort-cpu-4thread | CPU | success | 32.00 | 0.1% | 313 | 1.0000 | 0.0% | 0.0% | — |
| unknown | unknown | success | 32.05 | 0.1% | 313 | 1.0000 | 0.0% | 0.0% | — |
| unknown | unknown | success | 32.11 | 0.1% | 313 | 1.0000 | 0.0% | 0.0% | — |
| unknown | unknown | success | 33.07 | 0.2% | 313 | 1.0000 | — | 0.0% | — |
| ort-cpu-dynamic | CPU | success | 33.10 | 0.3% | 313 | 1.0000 | — | 0.0% | — |
| ort-coreml-fp32 | CoreML | success | 38.68 | 1.1% | 313 | 1.0000 | 99.8% | 38.5% | 31 |
| unknown | unknown | success | 38.97 | 0.6% | 313 | 1.0000 | 99.8% | 31.8% | 31 |
| unknown | unknown | success | 41.53 | 2.0% | 313 | 1.0000 | 99.8% | 34.6% | 31 |
| ort-coreml-ane | CoreML | success | 46.43 | 7.2% | 313 | 1.0000 | 99.8% | 38.5% | 31 |
| unknown | unknown | success | 53.42 | 0.5% | 313 | 1.0000 | — | 16.3% | 45 |
| ort-coreml-dynamic | CoreML | success | 58.02 | 13.8% | 313 | 1.0000 | — | 17.2% | 45 |
| ALL | ALL | success | 72.75 | 4.3% | — | — | — | 100.0% | — |
| ALL | ALL | success | 93.00 | 5.6% | — | — | — | 100.0% | — |
| ALL | ALL | success | 108.20 | 12.2% | — | — | — | 100.0% | — |
| ALL | ALL | success | 224.50 | 4.2% | — | — | — | 100.0% | — |
| ALL | ALL | success | 226.91 | 4.8% | — | — | — | 100.0% | — |
| unknown | unknown | lowering failure | — | — | 156 | — | — | — | — |
| ort-coreml-fp16 | CoreML | lowering failure | — | — | 156 | — | — | — | — |
| unknown | unknown | lowering failure | — | — | — | — | — | — | — |
| ort-coreml-mlprogram | CoreML | lowering failure | — | — | — | — | — | — | — |
| ort-cpu-fp16 | CPU | lowering failure | — | — | 156 | — | — | — | — |
| unknown | unknown | lowering failure | — | — | 156 | — | — | — | — |
Kept rather than hidden. A recipe that cannot lower is a fact about the toolchain, and it is what teaches the static filter not to propose it again.
session creation failed: [ONNXRuntimeError] : 1 : FAIL : Load model from artifacts/onnx/facebook__bart-base__qac2c417fcab07239/model.onnx failed:Type Error: Type (tensor(float16)) of output arg (/inner/Cast_output_0) of node (/inner/Cast) does not match expected type (tensor(float)).
session creation failed: [ONNXRuntimeError] : 1 : FAIL : Load model from artifacts/onnx/facebook__bart-base__qe502041bfe932a0c/model.onnx failed:Type Error: Type (tensor(float16)) of output arg (/inner/Cast_output_0) of node (/inner/Cast) does not match expected type (tensor(float)).
the runtime aborted the process (SIGABRT). This is a delegate-level crash, not a Python exception. Last output: l"(%arg1, %0) <{transpose_lhs = false, transpose_rhs = false}> : (tensor<1x128x1xf32>, tensor<768x768xf32>) -> tensor<1x128x768xf32>
/AppleInternal/Library/BuildRoots/b11baf73-9ee0-11ef-b7b4-7aebe1f78c73/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphExecutable.mm:975: failed assertion `original module failed verification'the runtime aborted the process (SIGABRT). This is a delegate-level crash, not a Python exception. Last output: l"(%arg1, %0) <{transpose_lhs = false, transpose_rhs = false}> : (tensor<1x128x1xf32>, tensor<768x768xf32>) -> tensor<1x128x768xf32>
/AppleInternal/Library/BuildRoots/b11baf73-9ee0-11ef-b7b4-7aebe1f78c73/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphExecutable.mm:975: failed assertion `original module failed verification'session creation failed: [ONNXRuntimeError] : 1 : FAIL : Load model from artifacts/onnx/facebook__bart-base__qe502041bfe932a0c/model.onnx failed:Type Error: Type (tensor(float16)) of output arg (/inner/Cast_output_0) of node (/inner/Cast) does not match expected type (tensor(float)).
session creation failed: [ONNXRuntimeError] : 1 : FAIL : Load model from artifacts/onnx/facebook__bart-base__qac2c417fcab07239/model.onnx failed:Type Error: Type (tensor(float16)) of output arg (/inner/Cast_output_0) of node (/inner/Cast) does not match expected type (tensor(float)).
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Snapdragon 8 Elite QRD" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Samsung Galaxy S24" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Samsung Galaxy S23" --compute-unit all
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_int8_dynamic.yaml
# recipe 8874109ac191f342 is no longer in the library
# recipe 0d234a98080811e0 is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_int8_perchannel.yaml
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_fp32.yaml
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_4thread.yaml
# recipe dfd2274bc3b8d084 is no longer in the library
# recipe 01ed12e61ab71105 is no longer in the library
# recipe de6f5f655dba97d1 is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_dynamic.yaml
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_coreml_fp32.yaml
# recipe bc78cddd81cdbb10 is no longer in the library
# recipe 12f53b312e9e575a is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_coreml_ane.yaml
# recipe 03c715d6c22ec9fb is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_coreml_dynamic.yaml
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Google Pixel 7" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Google Pixel 9" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Samsung Galaxy S21" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Samsung Galaxy A53 5G" --compute-unit all
uv run edgefit measure-remote --model hf:facebook/bart-base --device "Google Pixel 3" --compute-unit all
# recipe e281ff992cfddabd is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_coreml_fp16.yaml
# recipe 9fd7903b253cc021 is no longer in the library
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_coreml_mlprogram.yaml
uv run edgefit measure --model hf:facebook/bart-base --recipe recipes/ort_cpu_fp16.yaml
# recipe 48270d6297b00fc1 is no longer in the library