Measured on-device inference. Every number reproducible; every failure recorded.
hf:martin-ha/toxic-comment-model · classify
67.0M graph parameters (as exported) · 564 graph nodes · attention: mha · norm: layernorm
Constant×183, Add×62, Unsqueeze×61, MatMul×48, Reshape×27, Concat×26, Mul×26, Transpose×24
Graph size by weight dtype: fp32 342 nodes, fp16 343 nodes, int8 486 nodes, fp32 564 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 | 10 | 11.37 | 53.93 | 374.36% |
| Recipe | Target | Outcome | p50 ms | cv | size MiB | cosine | FLOP fb (auth) | time fb (run) | partitions |
|---|---|---|---|---|---|---|---|---|---|
| ALL | ALL | success | 2.26 | 3.5% | — | — | — | 0.0% | — |
| ALL | ALL | success | 2.62 | 1.5% | — | — | — | 0.0% | — |
| ALL | ALL | success | 3.74 | 1.1% | — | — | — | 0.0% | — |
| ort-cpu-int8-dyn | CPU | success | 11.35 | 0.3% | 64 | 1.0000 | 0.0% | 0.0% | — |
| unknown | unknown | success | 11.37 | 0.1% | 64 | 1.0000 | 0.0% | 0.0% | — |
| ort-cpu-int8-perchan | CPU | success | 11.43 | 0.1% | 64 | 1.0000 | 0.0% | 0.0% | — |
| unknown | unknown | success | 11.52 | 0.2% | 64 | 1.0000 | 0.0% | 0.0% | — |
| ort-cpu-fp32 | CPU | success | 31.97 | 0.7% | 255 | 1.0000 | — | 0.0% | — |
| unknown | unknown | success | 32.00 | 0.3% | 255 | 1.0000 | — | 0.0% | — |
| ort-cpu-4thread | CPU | success | 32.00 | 0.3% | 255 | 1.0000 | — | 0.0% | — |
| unknown | unknown | success | 32.09 | 0.1% | 255 | 1.0000 | — | 0.0% | — |
| ort-cpu-dynamic | CPU | success | 33.16 | 0.2% | 256 | 1.0000 | — | 0.0% | — |
| unknown | unknown | success | 33.37 | 0.2% | 256 | 1.0000 | — | 0.0% | — |
| ort-coreml-fp16 | CoreML | success | 35.50 | 0.2% | 128 | 1.0000 | — | 100.0% | — |
| unknown | unknown | success | 35.54 | 0.2% | 128 | 1.0000 | — | 0.0% | — |
| ort-cpu-fp16 | CPU | success | 35.55 | 0.3% | 128 | 1.0000 | — | 0.0% | — |
| unknown | unknown | success | 35.65 | 0.2% | 128 | 1.0000 | — | 100.0% | — |
| ort-coreml-ane | CoreML | success | 37.92 | 4.2% | 255 | 1.0000 | — | 39.6% | 32 |
| ort-coreml-fp32 | CoreML | success | 38.45 | 4.7% | 255 | 1.0000 | — | 40.3% | 32 |
| unknown | unknown | success | 39.51 | 3.6% | 255 | 1.0000 | — | 37.1% | 32 |
| unknown | unknown | success | 41.23 | 4.4% | 255 | 1.0000 | — | 38.8% | 32 |
| ort-coreml-dynamic | CoreML | success | 51.75 | 0.5% | 256 | 1.0000 | — | 19.3% | 45 |
| unknown | unknown | success | 53.93 | 0.8% | 256 | 1.0000 | — | 22.8% | 45 |
| ALL | ALL | success | 91.83 | 9.1% | — | — | — | 100.0% | — |
| ALL | ALL | success | 91.88 | 6.3% | — | — | — | 100.0% | — |
| ALL | ALL | success | 109.25 | 11.2% | — | — | — | 100.0% | — |
| ALL | ALL | success | 220.64 | 5.0% | — | — | — | 100.0% | — |
| ALL | ALL | success | 236.29 | 6.3% | — | — | — | 100.0% | — |
| unknown | unknown | lowering failure | — | — | — | — | — | — | — |
| ort-coreml-mlprogram | CoreML | lowering failure | — | — | — | — | — | — | — |
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.
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'uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Snapdragon 8 Elite QRD" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Samsung Galaxy S24" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Samsung Galaxy S23" --compute-unit all
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_int8_dynamic.yaml
# recipe 8c11df0af5628081 is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_int8_perchannel.yaml
# recipe a9cbb3efc7d5779f is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_fp32.yaml
# recipe 5d4307e8d8b29be9 is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_4thread.yaml
# recipe b65bc764aaf66e4a is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_dynamic.yaml
# recipe 9d160f2de995f9e0 is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_coreml_fp16.yaml
# recipe d4d7059281332866 is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_cpu_fp16.yaml
# recipe caf2e243f674fe7f is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_coreml_ane.yaml
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_coreml_fp32.yaml
# recipe 9c96e8c6f44bf3fc is no longer in the library
# recipe df96524e1d1b528a is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_coreml_dynamic.yaml
# recipe 332688f680191a2b is no longer in the library
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Google Pixel 7" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Google Pixel 9" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Samsung Galaxy S21" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Google Pixel 3" --compute-unit all
uv run edgefit measure-remote --model hf:martin-ha/toxic-comment-model --device "Samsung Galaxy A53 5G" --compute-unit all
# recipe fdcfa8bf22c61340 is no longer in the library
uv run edgefit measure --model hf:martin-ha/toxic-comment-model --recipe recipes/ort_coreml_mlprogram.yaml