CoolFace
Modelpublic

software-mansion/react-native-executorch-fast-sam

sourceHugging Faceagpl-3.0updated 5d agoView on Hugging Face
0likes925downloads
Model Card

fast-sam

This repository hosts the fast-sam models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Upstream model: FastSAM

Variants

PathBackendPrecision
s/coreml/fast_sam_s_coreml_fp16.ptecoremlfp16
s/xnnpack/fast_sam_s_xnnpack_fp32.ptexnnpackfp32
x/coreml/fast_sam_x_coreml_fp16.ptecoremlfp16
x/xnnpack/fast_sam_x_xnnpack_fp32.ptexnnpackfp32

Unshipped backends

A backend directory carrying a NOTES.md and no .pte was exported and not published. Its note records what went wrong.

Repository structure

config.json                            30 B
s/coreml/config.json                   1.2 kB
s/coreml/fast_sam_s_coreml_fp16.pte    23.1 MB
s/mlx/NOTES.md                         2.0 kB
s/xnnpack/config.json                  1.2 kB
s/xnnpack/fast_sam_s_xnnpack_fp32.pte  45.2 MB
x/coreml/config.json                   1.2 kB
x/coreml/fast_sam_x_coreml_fp16.pte    139 MB
x/mlx/NOTES.md                         2.0 kB
x/xnnpack/config.json                  1.2 kB
x/xnnpack/fast_sam_x_xnnpack_fp32.pte  276 MB

Compatibility

These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.

To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.

To load these files in your own ExecuTorch runtime, read the compatibility note first.