SAM 2.1 Hiera Tiny (ONNX, fp16)

Segment Anything 2.1 (Hiera Tiny) as ONNX for Transformers.js, at every precision the source has. Card Anvil uses it in the browser to select the object under a click or inside a box.

These are unchanged copies of the files in onnx-community/sam2.1-hiera-tiny-ONNX at commit 814a066, at the same paths, kept here so the app loads files that can't change under it.

Card Anvil loads the three config files and the fp16 encoder and decoder (onnx/*_fp16.onnx and their .onnx_data), 78 MB. The other precisions are kept for later:

Precision Files in onnx/ Encoder + decoder
fp32 vision_encoder, prompt_encoder_mask_decoder 155 MB
fp16 (loaded) *_fp16 78 MB
int8 / uint8 / quantized *_int8, *_uint8, *_quantized 61 MB
q4 *_q4 51 MB
bnb4 *_bnb4 49 MB
q4f16 *_q4f16 33 MB

Credits and licence

Licensed under the Apache License 2.0, as the original model is. See LICENSE.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CardAnvilModels/sam2.1-hiera-tiny-ONNX

Quantized
(15)
this model