← all models

sam2.1-hiera-tiny-mask-decoder__sam2_tiny_mask_decoder_fp16

mask-generation · family: sam2

Sourcehttps://huggingface.co/litert-community/SAM2.1-Hiera-Tiny-Mask-Decoder
Licenseapache-2.0
Model filesam2_tiny_mask_decoder_fp16.tflite — downloaded from the source at runtime; this site hosts no weights

Run it in your browser

—backend actually in use
—live latency p50

Preparing…

Measured sweep results

Every number is labeled with the environment that produced it — headless desktop Chromium is not a user’s phone, and results are only meaningful together with their environment.

BackendStatusFull delegationOutput matchLatency p50 (ms)EnvironmentVerifiedProvenance
wasm_xnnpackpass——396.69mac-studio-m4-max · chromium 151.0.7922.34 headless · macOS · @litertjs/core 2.5.32026-08-13measured
webgpu_mldriftoutput_mismatchyesfail8.33mac-studio-m4-max · chromium 151.0.7922.34 headless · macOS · @litertjs/core 2.5.32026-08-13measured

Full record (failure class, evidence, sweep config): raw sweep JSON · card.json · CARD.md

Build this yourself

One-line prompt for your AI coding assistant (uses the litert-cookbook web skill):

Use the litert-cookbook web skill to build a LiteRT.js browser demo for sam2.1-hiera-tiny-mask-decoder__sam2_tiny_mask_decoder_fp16: load the model from https://huggingface.co/litert-community/SAM2.1-Hiera-Tiny-Mask-Decoder/resolve/main/sam2_tiny_mask_decoder_fp16.tflite (license: apache-2.0) and run it with @litertjs/core.

Reproduce this with an agent

One-line prompt for Claude Code / Gemini CLI — re-runs the same sweep verification for this model, locally:

In the edge-compat repo, verify sam2.1-hiera-tiny-mask-decoder__sam2_tiny_mask_decoder_fp16 with the sweep harness: write /tmp/catalog.csv with the header line model_id,source,input_spec,license,notes and the single row sam2.1-hiera-tiny-mask-decoder__sam2_tiny_mask_decoder_fp16,https://huggingface.co/litert-community/SAM2.1-Hiera-Tiny-Mask-Decoder/resolve/main/sam2_tiny_mask_decoder_fp16.tflite,1x256x64x64:float32;1x2x256:float32;1x64x128x128:float32;1x32x256x256:float32,apache-2.0, — then run: cd web/sweep && npm ci && npm run sweep -- --catalog /tmp/catalog.csv --out out/ — and compare out/sam2.1-hiera-tiny-mask-decoder__sam2_tiny_mask_decoder_fp16.json with the sweep table on this page.