CoolFace
Modelpublic

software-mansion/react-native-executorch-clip-vit-base-patch32

sourceHugging Facemitupdated 11d agoView on Hugging Face
0likes8.8kdownloads
Model Card

clip-vit-base-patch32

This repository hosts the clip-vit-base-patch32 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Upstream model: clip-vit-base-patch32

Variants

PathComponentBackendPrecision
coreml/clip_vit_base_patch32_image_coreml_fp16.pteimagecoremlfp16
coreml/clip_vit_base_patch32_text_coreml_fp16.ptetextcoremlfp16
mlx/clip_vit_base_patch32_image_mlx_int8.pte-mlxint8
vulkan/clip_vit_base_patch32_image_vulkan_fp16.pteimagevulkanfp16
vulkan/clip_vit_base_patch32_text_vulkan_fp16.ptetextvulkanfp16
xnnpack/clip_vit_base_patch32_image_xnnpack_fp32.pteimagexnnpackfp32
xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.ptetextxnnpackfp32

Repository structure

config.json                                           43 B
coreml/clip_vit_base_patch32_image_coreml_fp16.pte    168 MB
coreml/clip_vit_base_patch32_text_coreml_fp16.pte     122 MB
coreml/config.json                                    1.7 kB
mlx/clip_vit_base_patch32_image_mlx_int8.pte          93.7 MB
mlx/config.json                                       840 B
tokenizer.json                                        2.1 MB
vulkan/clip_vit_base_patch32_image_vulkan_fp16.pte    168 MB
vulkan/clip_vit_base_patch32_text_vulkan_fp16.pte     121 MB
vulkan/config.json                                    1.7 kB
xnnpack/clip_vit_base_patch32_image_xnnpack_fp32.pte  335 MB
xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.pte   242 MB
xnnpack/config.json                                   1.6 kB

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.