software-mansion/react-native-executorch-gemma-4
33.8k
gemma-4
This repository hosts the gemma-4 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.
Variants
Repository structure
config.json 28 B
e2b/mlx/config.json 1.2 kB
e2b/mlx/gemma4_e2b_mlx_int4.pte 2.7 GB
e2b/tokenizer.json 30.7 MB
e2b/tokenizer_config.json 21.8 kB
e2b/vulkan/config.json 1.3 kB
e2b/vulkan/gemma_4_e2b_vulkan_8da4w.pte 2.4 GB
e2b/xnnpack/config.json 1.3 kB
e2b/xnnpack/gemma_4_e2b_xnnpack_8da4w.pte 2.5 GBCompatibility
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.
