software-mansion/react-native-executorch-lfm-2.5
012k
1---2license: other3license_name: lfm1.04license_link: https://huggingface.co/LiquidAI/LFM2.5-VL-1.6B/blob/main/LICENSE5pipeline_tag: image-text-to-text6tags:7- liquid8- lfm29- lfm2-vl10- edge11- lfm2.5-vl12- lfm2.513library_name: executorch14---15 16# lfm-2.517 18This repository hosts the **lfm-2.5** models exported for the19[React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)20library as ExecuTorch `.pte` programs, ready to run on device.21 22## Variants23 24| Path | Backend | Precision |25| --- | --- | --- |26| `1_2b/mlx/lfm_2_5_1_2b_mlx_int4.pte` | mlx | 4w |27| `1_2b/xnnpack/lfm_2_5_1_2b_xnnpack_8da4w.pte` | xnnpack | 8da4w |28| `1_2b/xnnpack/lfm_2_5_1_2b_xnnpack_fp16.pte` | xnnpack | fp16 |29| `350m/mlx/lfm_2_5_350m_mlx_int4.pte` | mlx | 4w |30| `350m/xnnpack/lfm_2_5_350m_xnnpack_8da4w.pte` | xnnpack | 8da4w |31| `350m/xnnpack/lfm_2_5_350m_xnnpack_fp16.pte` | xnnpack | fp16 |32| `vl_1_6b/mlx/lfm_2_5_vl_1_6b_mlx_int4.pte` | mlx | int4 |33| `vl_1_6b/mlx/lfm_2_5_vl_1_6b_mlx_int8.pte` | mlx | int8 |34| `vl_1_6b/vulkan/lfm_2_5_vl_1_6b_vulkan_8da4w.pte` | vulkan | 8da4w |35| `vl_1_6b/xnnpack/lfm_2_5_vl_1_6b_xnnpack_8da4w.pte` | xnnpack | 8da4w |36| `vl_450m/mlx/lfm_2_5_vl_450m_mlx_int4.pte` | mlx | int4 |37| `vl_450m/vulkan/lfm_2_5_vl_450m_vulkan_8da4w.pte` | vulkan | 8da4w |38| `vl_450m/xnnpack/lfm_2_5_vl_450m_xnnpack_8da4w.pte` | xnnpack | 8da4w |39 40## Repository structure41 42```431_2b/mlx/config.json 1.2 kB441_2b/mlx/lfm_2_5_1_2b_mlx_int4.pte 849 MB451_2b/tokenizer.json 4.5 MB461_2b/tokenizer_config.json 92.4 kB471_2b/xnnpack/config.json 2.1 kB481_2b/xnnpack/lfm_2_5_1_2b_xnnpack_8da4w.pte 759 MB491_2b/xnnpack/lfm_2_5_1_2b_xnnpack_fp16.pte 2.4 GB50350m/mlx/config.json 1.2 kB51350m/mlx/lfm_2_5_350m_mlx_int4.pte 308 MB52350m/tokenizer.json 4.5 MB53350m/tokenizer_config.json 2.9 kB54350m/xnnpack/config.json 2.1 kB55350m/xnnpack/lfm_2_5_350m_xnnpack_8da4w.pte 265 MB56350m/xnnpack/lfm_2_5_350m_xnnpack_fp16.pte 806 MB57config.json 29 B58vl_1_6b/mlx/config.json 1.7 kB59vl_1_6b/mlx/lfm_2_5_vl_1_6b_mlx_int4.pte 1.4 GB60vl_1_6b/mlx/lfm_2_5_vl_1_6b_mlx_int8.pte 2.0 GB61vl_1_6b/tokenizer.json 4.5 MB62vl_1_6b/tokenizer_config.json 3.2 kB63vl_1_6b/vulkan/config.json 2.1 kB64vl_1_6b/vulkan/lfm_2_5_vl_1_6b_vulkan_8da4w.pte 2.4 GB65vl_1_6b/xnnpack/config.json 2.1 kB66vl_1_6b/xnnpack/lfm_2_5_vl_1_6b_xnnpack_8da4w.pte 2.3 GB67vl_450m/mlx/config.json 1.0 kB68vl_450m/mlx/lfm_2_5_vl_450m_mlx_int4.pte 376 MB69vl_450m/tokenizer.json 4.5 MB70vl_450m/tokenizer_config.json 3.2 kB71vl_450m/vulkan/config.json 2.1 kB72vl_450m/vulkan/lfm_2_5_vl_450m_vulkan_8da4w.pte 626 MB73vl_450m/xnnpack/config.json 2.1 kB74vl_450m/xnnpack/lfm_2_5_vl_450m_xnnpack_8da4w.pte 619 MB75```76 77## Compatibility78 79These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch80gives no forward compatibility guarantee, so an older runtime may fail to load81them.82 83To use them in React Native ExecuTorch, pass the model constant shipped in the84library's model registry to the corresponding task pipeline. See the85[documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/downloading-models).86 87To load these files in your own ExecuTorch runtime, read the88[compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)89first.90 