Every file takes and returns fp32 tensors, so precision is a file swap — the fp16
pair is 68.2 MB against 133.9 MB. Hiera is attention-heavy, which is why fp16 halves
it cleanly; dynamic int8 was measured too and is not published, since it leaves the
convolutional parts in fp32 and came out at the full 109.2 MB for the encoder.
If size is the binding constraint, look at
EdgeTAM
— same output
contract, 19.7 MB encoder.
Postprocess
: pick argmax(iou) of the 3 mask logits, threshold > 0, upsample
4x (256→1024) to image space. The prompt encoder is embedded in the decoder —
pass raw click coordinates, no separate point-encoding code needed.
Parity vs torch fp32 eager (random input): all 5 outputs corr 1.000000
(worst max_abs_diff 2.2e-05). End-to-end two-.pte chain on a synthetic image:
mask IoU vs torch = 1.0000, iou_scores match to 6 decimals.
Median latency (Mac, reference only — ViT-heavy graphs are known to time poorly
on Mac XNNPACK; device numbers to follow): encoder 2506 ms, decoder 20 ms.
SAM2.1-hiera-tiny-ExecuTorch huggingface.co is an AI model on huggingface.co that provides SAM2.1-hiera-tiny-ExecuTorch's model effect (), which can be used instantly with this mlboydaisuke SAM2.1-hiera-tiny-ExecuTorch model. huggingface.co supports a free trial of the SAM2.1-hiera-tiny-ExecuTorch model, and also provides paid use of the SAM2.1-hiera-tiny-ExecuTorch. Support call SAM2.1-hiera-tiny-ExecuTorch model through api, including Node.js, Python, http.
SAM2.1-hiera-tiny-ExecuTorch huggingface.co is an online trial and call api platform, which integrates SAM2.1-hiera-tiny-ExecuTorch's modeling effects, including api services, and provides a free online trial of SAM2.1-hiera-tiny-ExecuTorch, you can try SAM2.1-hiera-tiny-ExecuTorch online for free by clicking the link below.
mlboydaisuke SAM2.1-hiera-tiny-ExecuTorch online free url in huggingface.co:
SAM2.1-hiera-tiny-ExecuTorch is an open source model from GitHub that offers a free installation service, and any user can find SAM2.1-hiera-tiny-ExecuTorch on GitHub to install. At the same time, huggingface.co provides the effect of SAM2.1-hiera-tiny-ExecuTorch install, users can directly use SAM2.1-hiera-tiny-ExecuTorch installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
SAM2.1-hiera-tiny-ExecuTorch install url in huggingface.co: