@@ -11,6 +11,11 @@ ANDROID_LIBS_DIR="$PACKAGE_ROOT/third-party/android/libs"
1111DEVICE_TEST_DIR=" /data/local/tmp/rnexecutorch_tests"
1212MODELS_DIR=" $SCRIPT_DIR /integration/assets/models"
1313
14+ # Keep in sync with `LIB_VERSION` in src/constants/versions.ts so the runner
15+ # pulls the same artifacts that the JS API ships at runtime.
16+ LIB_VERSION=" 0.9.0"
17+ HF_VERSION_TAG=" resolve/v${LIB_VERSION} "
18+
1419# ============================================================================
1520# Test executables
1621# ============================================================================
@@ -53,37 +58,37 @@ TEST_ASSETS=(
5358# Models to download (format: "filename|url")
5459# ============================================================================
5560MODELS=(
56- " style_transfer_candy_xnnpack_fp32.pte|https://huggingface.co/software-mansion/react-native-executorch-style-transfer-candy/resolve/main /xnnpack/style_transfer_candy_xnnpack_fp32.pte"
57- " efficientnet_v2_s_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-efficientnet-v2-s/resolve/v0.6.0/ xnnpack/efficientnet_v2_s_xnnpack .pte"
58- " ssdlite320-mobilenetv3-large.pte|https://huggingface.co/software-mansion/react-native-executorch-ssdlite320-mobilenet-v3-large/resolve/v0.6.0/ssdlite320-mobilenetv3-large .pte"
61+ " style_transfer_candy_xnnpack_fp32.pte|https://huggingface.co/software-mansion/react-native-executorch-style-transfer-candy/${HF_VERSION_TAG} /xnnpack/style_transfer_candy_xnnpack_fp32.pte"
62+ " efficientnet_v2_s_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-efficientnet-v2-s/${HF_VERSION_TAG} / xnnpack/efficientnet_v2_s_xnnpack_fp32 .pte"
63+ " ssdlite320-mobilenetv3-large.pte|https://huggingface.co/software-mansion/react-native-executorch-ssdlite320-mobilenet-v3-large/${HF_VERSION_TAG} /xnnpack/ssdlite320_mobilenet_v3_large_xnnpack_fp32 .pte"
5964 " test_image.jpg|https://upload.wikimedia.org/wikipedia/commons/f/f8/Cat_in_tree03.jpg"
60- " clip-vit-base-patch32-vision_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-clip-vit-base-patch32/resolve/v0.6.0/clip-vit-base-patch32-vision_xnnpack .pte"
61- " all-MiniLM-L6-v2_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-all-MiniLM-L6-v2/resolve/v0.6.0/all-MiniLM-L6-v2_xnnpack .pte"
62- " tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-all-MiniLM-L6-v2/resolve/v0.6.0 /tokenizer.json"
63- " fsmn-vad_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-fsmn-vad/resolve/main /xnnpack/fsmn_vad_xnnpack_fp32.pte"
64- " whisper_tiny_en_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/resolve/v0.8.0/ xnnpack/whisper_tiny_en_xnnpack .pte"
65- " whisper_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/resolve/v0.8.0 /tokenizer.json"
66- " kokoro_duration_predictor.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /xnnpack/standard/duration_predictor_std.pte"
67- " kokoro_synthesizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /xnnpack/standard/synthesizer_std.pte"
68- " kokoro_af_heart.bin|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /voices/af_heart.bin"
69- " kokoro_us_lexicon.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /phonemizer/en-us/lexicon.json"
70- " kokoro_en_tagger.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /phonemizer/en-us/tags.json"
71- " kokoro_us_phonemizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/resolve/v0.9.0 /phonemizer/en-us/phonemizer_en_us.pte"
72- " smolLm2_135M_8da4w.pte|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.6.0/smolLm-2-135M/quantized/smolLm2_135M_8da4w .pte"
73- " smollm_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/resolve/v0.6.0 /tokenizer.json"
74- " deeplabV3_xnnpack_fp32.pte|https://huggingface.co/software-mansion/react-native-executorch-deeplab-v3/resolve/v0.6.0/ xnnpack/deeplabV3_xnnpack_fp32 .pte"
75- " xnnpack_crnn_english.pte|https://huggingface.co/software-mansion/react-native-executorch-recognizer-crnn.en/resolve/v0.7.0 /xnnpack/english/xnnpack_crnn_english .pte"
76- " xnnpack_craft_quantized.pte|https://huggingface.co/software-mansion/react-native-executorch-detector-craft/resolve/v0.7.0/ xnnpack/xnnpack_craft .pte"
77- " t2i_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/resolve/v0.6.0 /tokenizer/tokenizer.json"
78- " t2i_encoder.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/resolve/v0.6.0/text_encoder/model .pte"
79- " t2i_unet.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/resolve/v0.6.0/unet/model.256 .pte"
80- " t2i_decoder.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/resolve/v0.6.0/vae/model.256 .pte"
81- " lfm2_5_vl_quantized_xnnpack_v2.pte|https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main/quantized/lfm2_5_vl_1_6b_8da4w_xnnpack .pte"
82- " lfm2_vl_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main /tokenizer.json"
83- " lfm2_vl_tokenizer_config.json|https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-VL-1.6B/resolve/main /tokenizer_config.json"
84- " yolo26n-seg.pte|https://huggingface.co/software-mansion/react-native-executorch-yolo26-seg/resolve/v0.8.0/yolo26n-seg/ xnnpack/yolo26n-seg .pte"
65+ " clip-vit-base-patch32-vision_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-clip-vit-base-patch32/${HF_VERSION_TAG} /xnnpack/clip_vit_base_patch32_image_xnnpack_fp32 .pte"
66+ " all-MiniLM-L6-v2_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-all-MiniLM-L6-v2/${HF_VERSION_TAG} /xnnpack/all_minilm_l6_v2_xnnpack_fp32 .pte"
67+ " tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-all-MiniLM-L6-v2/${HF_VERSION_TAG} /tokenizer.json"
68+ " fsmn-vad_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-fsmn-vad/${HF_VERSION_TAG} /xnnpack/fsmn_vad_xnnpack_fp32.pte"
69+ " whisper_tiny_en_xnnpack.pte|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/${HF_VERSION_TAG} / xnnpack/whisper_tiny_en_xnnpack_fp32 .pte"
70+ " whisper_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-whisper-tiny.en/${HF_VERSION_TAG} /tokenizer.json"
71+ " kokoro_duration_predictor.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /xnnpack/standard/duration_predictor_std.pte"
72+ " kokoro_synthesizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /xnnpack/standard/synthesizer_std.pte"
73+ " kokoro_af_heart.bin|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /voices/af_heart.bin"
74+ " kokoro_us_lexicon.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /phonemizer/en-us/lexicon.json"
75+ " kokoro_en_tagger.json|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /phonemizer/en-us/tags.json"
76+ " kokoro_us_phonemizer.pte|https://huggingface.co/software-mansion/react-native-executorch-kokoro/${HF_VERSION_TAG} /phonemizer/en-us/phonemizer_en_us.pte"
77+ " smolLm2_135M_8da4w.pte|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/${HF_VERSION_TAG} /135m/xnnpack/smollm2_135m_xnnpack_8da4w .pte"
78+ " smollm_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-smolLm-2/${HF_VERSION_TAG} /tokenizer.json"
79+ " deeplabV3_xnnpack_fp32.pte|https://huggingface.co/software-mansion/react-native-executorch-deeplab-v3/${HF_VERSION_TAG} / xnnpack/deeplab_v3_resnet50_xnnpack_fp32 .pte"
80+ " xnnpack_crnn_english.pte|https://huggingface.co/software-mansion/react-native-executorch-recognizer-crnn.en/${HF_VERSION_TAG} /english /xnnpack/crnn_english_xnnpack_fp32 .pte"
81+ " xnnpack_craft_quantized.pte|https://huggingface.co/software-mansion/react-native-executorch-detector-craft/${HF_VERSION_TAG} / xnnpack/craft_xnnpack_int8 .pte"
82+ " t2i_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/${HF_VERSION_TAG} /tokenizer/tokenizer.json"
83+ " t2i_encoder.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/${HF_VERSION_TAG} /xnnpack/bk_sdm_tiny_text_encoder_xnnpack_fp32 .pte"
84+ " t2i_unet.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/${HF_VERSION_TAG} /xnnpack/bk_sdm_tiny_unet_256_xnnpack_fp32 .pte"
85+ " t2i_decoder.pte|https://huggingface.co/software-mansion/react-native-executorch-bk-sdm-tiny/${HF_VERSION_TAG} /xnnpack/bk_sdm_tiny_vae_256_xnnpack_fp32 .pte"
86+ " lfm2_5_vl_quantized_xnnpack_v2.pte|https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5/ ${HF_VERSION_TAG} /vl_1_6b/xnnpack/lfm_2_5_vl_1_6b_xnnpack_8da4w .pte"
87+ " lfm2_vl_tokenizer.json|https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5/ ${HF_VERSION_TAG} /vl_1_6b /tokenizer.json"
88+ " lfm2_vl_tokenizer_config.json|https://huggingface.co/software-mansion/react-native-executorch-lfm-2.5/ ${HF_VERSION_TAG} /vl_1_6b /tokenizer_config.json"
89+ " yolo26n-seg.pte|https://huggingface.co/software-mansion/react-native-executorch-yolo26-seg/${HF_VERSION_TAG} /n/ xnnpack/yolo26_seg_n_xnnpack_fp32 .pte"
8590 " segmentation_image.jpg|https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Collage_audi.jpg/1280px-Collage_audi.jpg"
86- " yolo26n-pose.pte|https://huggingface.co/software-mansion/react-native-executorch-yolo26-pose/resolve/v0.9.0 /xnnpack/yolo26_pose_n_xnnpack_fp32.pte"
91+ " yolo26n-pose.pte|https://huggingface.co/software-mansion/react-native-executorch-yolo26-pose/${HF_VERSION_TAG} /xnnpack/yolo26_pose_n_xnnpack_fp32.pte"
8792)
8893
8994# ============================================================================
0 commit comments