license: mit
Introduction
This repository hosts the image encoder of
clip-vit-base-patch32
model for the React Native
ExecuTorch library. It
includes the model exported for xnnpack in .pte format, ready for use in the
ExecuTorch runtime.
If you'd like to run these models in your own ExecuTorch runtime, refer to the official documentation for setup instructions.
Compatibility
If you intend to use this model outside of React Native ExecuTorch, make sure
your runtime is compatible with the ExecuTorch version used to export the
.pte files. For more details, see the compatibility note in the ExecuTorch
GitHub
repository.
If you work with React Native ExecuTorch, the constants from the library will
guarantee compatibility with runtime used behind the scenes.
These models were exported using ExecuTorch version 1.1.0 and no forward compatibility is guaranteed. Older versions of the runtime may not work with these files.
Repository Structure
The repository is organized into directories:
xnnpack
Each directory contains models exported for the respective backend.
- The
.ptefile should be passed to themodelSourceparameter.