11import { Platform } from 'react-native' ;
2- import { NEXT_VERSION_TAG , URL_PREFIX , VERSION_TAG } from './versions' ;
2+ import { URL_PREFIX , VERSION_TAG } from './versions' ;
33
44// LLMs
55
@@ -380,10 +380,10 @@ export const PHI_4_MINI_4B_QUANTIZED = {
380380} as const ;
381381
382382// LFM2.5-1.2B-Instruct
383- const LFM2_5_1_2B_INSTRUCT_MODEL = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ NEXT_VERSION_TAG } /original/lfm2_5_1_2b_fp16.pte` ;
384- const LFM2_5_1_2B_INSTRUCT_QUANTIZED_MODEL = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ NEXT_VERSION_TAG } /quantized/lfm2_5_1_2b_8da4w.pte` ;
385- const LFM2_5_1_2B_TOKENIZER = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ NEXT_VERSION_TAG } /tokenizer.json` ;
386- const LFM2_5_1_2B_TOKENIZER_CONFIG = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ NEXT_VERSION_TAG } /tokenizer_config.json` ;
383+ const LFM2_5_1_2B_INSTRUCT_MODEL = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ VERSION_TAG } /original/lfm2_5_1_2b_fp16.pte` ;
384+ const LFM2_5_1_2B_INSTRUCT_QUANTIZED_MODEL = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ VERSION_TAG } /quantized/lfm2_5_1_2b_8da4w.pte` ;
385+ const LFM2_5_1_2B_TOKENIZER = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ VERSION_TAG } /tokenizer.json` ;
386+ const LFM2_5_1_2B_TOKENIZER_CONFIG = `${ URL_PREFIX } -lfm2.5-1.2B-instruct/${ VERSION_TAG } /tokenizer_config.json` ;
387387
388388/**
389389 * @category Models - LLM
@@ -406,9 +406,9 @@ export const LFM2_5_1_2B_INSTRUCT_QUANTIZED = {
406406} as const ;
407407
408408// LFM2.5-VL-1.6B
409- const LFM2_VL_1_6B_QUANTIZED_MODEL = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ NEXT_VERSION_TAG } /quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte` ;
410- const LFM2_VL_TOKENIZER = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ NEXT_VERSION_TAG } /tokenizer.json` ;
411- const LFM2_VL_TOKENIZER_CONFIG = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ NEXT_VERSION_TAG } /tokenizer_config.json` ;
409+ const LFM2_VL_1_6B_QUANTIZED_MODEL = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ VERSION_TAG } /quantized/lfm2_5_vl_1_6b_8da4w_xnnpack.pte` ;
410+ const LFM2_VL_TOKENIZER = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ VERSION_TAG } /tokenizer.json` ;
411+ const LFM2_VL_TOKENIZER_CONFIG = `${ URL_PREFIX } -lfm2.5-VL-1.6B/${ VERSION_TAG } /tokenizer_config.json` ;
412412
413413/**
414414 * @category Models - VLM
@@ -424,12 +424,12 @@ export const LFM2_VL_1_6B_QUANTIZED = {
424424// Classification
425425const EFFICIENTNET_V2_S_MODEL =
426426 Platform . OS === `ios`
427- ? `${ URL_PREFIX } -efficientnet-v2-s/${ NEXT_VERSION_TAG } /coreml/efficientnet_v2_s_coreml_fp32.pte`
428- : `${ URL_PREFIX } -efficientnet-v2-s/${ NEXT_VERSION_TAG } /xnnpack/efficientnet_v2_s_xnnpack_fp32.pte` ;
427+ ? `${ URL_PREFIX } -efficientnet-v2-s/${ VERSION_TAG } /coreml/efficientnet_v2_s_coreml_fp32.pte`
428+ : `${ URL_PREFIX } -efficientnet-v2-s/${ VERSION_TAG } /xnnpack/efficientnet_v2_s_xnnpack_fp32.pte` ;
429429const EFFICIENTNET_V2_S_QUANTIZED_MODEL =
430430 Platform . OS === `ios`
431- ? `${ URL_PREFIX } -efficientnet-v2-s/${ NEXT_VERSION_TAG } /coreml/efficientnet_v2_s_coreml_fp16.pte`
432- : `${ URL_PREFIX } -efficientnet-v2-s/${ NEXT_VERSION_TAG } /xnnpack/efficientnet_v2_s_xnnpack_int8.pte` ;
431+ ? `${ URL_PREFIX } -efficientnet-v2-s/${ VERSION_TAG } /coreml/efficientnet_v2_s_coreml_fp16.pte`
432+ : `${ URL_PREFIX } -efficientnet-v2-s/${ VERSION_TAG } /xnnpack/efficientnet_v2_s_xnnpack_int8.pte` ;
433433
434434/**
435435 * @category Models - Classification
@@ -450,9 +450,9 @@ export const EFFICIENTNET_V2_S_QUANTIZED = {
450450// Object detection
451451const SSDLITE_320_MOBILENET_V3_LARGE_MODEL =
452452 Platform . OS === 'ios'
453- ? `${ URL_PREFIX } -ssdlite320-mobilenet-v3-large/${ NEXT_VERSION_TAG } /coreml/ssdlite320_mobilenet_v3_large_coreml_fp16.pte`
454- : `${ URL_PREFIX } -ssdlite320-mobilenet-v3-large/${ NEXT_VERSION_TAG } /xnnpack/ssdlite320_mobilenet_v3_large_xnnpack_fp32.pte` ;
455- const RF_DETR_NANO_MODEL = `${ URL_PREFIX } -rfdetr-nano-detector/${ NEXT_VERSION_TAG } /rfdetr_detector.pte` ;
453+ ? `${ URL_PREFIX } -ssdlite320-mobilenet-v3-large/${ VERSION_TAG } /coreml/ssdlite320_mobilenet_v3_large_coreml_fp16.pte`
454+ : `${ URL_PREFIX } -ssdlite320-mobilenet-v3-large/${ VERSION_TAG } /xnnpack/ssdlite320_mobilenet_v3_large_xnnpack_fp32.pte` ;
455+ const RF_DETR_NANO_MODEL = `${ URL_PREFIX } -rfdetr-nano-detector/${ VERSION_TAG } /rfdetr_detector.pte` ;
456456
457457/**
458458 * @category Models - Object Detection
@@ -471,11 +471,11 @@ export const RF_DETR_NANO = {
471471} as const ;
472472
473473// YOLO26 Object Detection
474- const YOLO26N_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ NEXT_VERSION_TAG } /yolo26n/xnnpack/yolo26n.pte` ;
475- const YOLO26S_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ NEXT_VERSION_TAG } /yolo26s/xnnpack/yolo26s.pte` ;
476- const YOLO26M_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ NEXT_VERSION_TAG } /yolo26m/xnnpack/yolo26m.pte` ;
477- const YOLO26L_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ NEXT_VERSION_TAG } /yolo26l/xnnpack/yolo26l.pte` ;
478- const YOLO26X_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ NEXT_VERSION_TAG } /yolo26x/xnnpack/yolo26x.pte` ;
474+ const YOLO26N_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ VERSION_TAG } /yolo26n/xnnpack/yolo26n.pte` ;
475+ const YOLO26S_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ VERSION_TAG } /yolo26s/xnnpack/yolo26s.pte` ;
476+ const YOLO26M_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ VERSION_TAG } /yolo26m/xnnpack/yolo26m.pte` ;
477+ const YOLO26L_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ VERSION_TAG } /yolo26l/xnnpack/yolo26l.pte` ;
478+ const YOLO26X_DETECTION_MODEL = `${ URL_PREFIX } -yolo26/${ VERSION_TAG } /yolo26x/xnnpack/yolo26x.pte` ;
479479
480480/**
481481 * @category Models - Object Detection
@@ -520,36 +520,36 @@ export const YOLO26X = {
520520// Style transfer
521521const STYLE_TRANSFER_CANDY_MODEL =
522522 Platform . OS === `ios`
523- ? `${ URL_PREFIX } -style-transfer-candy/${ NEXT_VERSION_TAG } /coreml/style_transfer_candy_coreml_fp32.pte`
524- : `${ URL_PREFIX } -style-transfer-candy/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_candy_xnnpack_fp32.pte` ;
523+ ? `${ URL_PREFIX } -style-transfer-candy/${ VERSION_TAG } /coreml/style_transfer_candy_coreml_fp32.pte`
524+ : `${ URL_PREFIX } -style-transfer-candy/${ VERSION_TAG } /xnnpack/style_transfer_candy_xnnpack_fp32.pte` ;
525525const STYLE_TRANSFER_CANDY_QUANTIZED_MODEL =
526526 Platform . OS === `ios`
527- ? `${ URL_PREFIX } -style-transfer-candy/${ NEXT_VERSION_TAG } /coreml/style_transfer_candy_coreml_fp16.pte`
528- : `${ URL_PREFIX } -style-transfer-candy/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_candy_xnnpack_int8.pte` ;
527+ ? `${ URL_PREFIX } -style-transfer-candy/${ VERSION_TAG } /coreml/style_transfer_candy_coreml_fp16.pte`
528+ : `${ URL_PREFIX } -style-transfer-candy/${ VERSION_TAG } /xnnpack/style_transfer_candy_xnnpack_int8.pte` ;
529529const STYLE_TRANSFER_MOSAIC_MODEL =
530530 Platform . OS === `ios`
531- ? `${ URL_PREFIX } -style-transfer-mosaic/${ NEXT_VERSION_TAG } /coreml/style_transfer_mosaic_coreml_fp32.pte`
532- : `${ URL_PREFIX } -style-transfer-mosaic/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_mosaic_xnnpack_fp32.pte` ;
531+ ? `${ URL_PREFIX } -style-transfer-mosaic/${ VERSION_TAG } /coreml/style_transfer_mosaic_coreml_fp32.pte`
532+ : `${ URL_PREFIX } -style-transfer-mosaic/${ VERSION_TAG } /xnnpack/style_transfer_mosaic_xnnpack_fp32.pte` ;
533533const STYLE_TRANSFER_MOSAIC_QUANTIZED_MODEL =
534534 Platform . OS === `ios`
535- ? `${ URL_PREFIX } -style-transfer-mosaic/${ NEXT_VERSION_TAG } /coreml/style_transfer_mosaic_coreml_fp16.pte`
536- : `${ URL_PREFIX } -style-transfer-mosaic/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_mosaic_xnnpack_int8.pte` ;
535+ ? `${ URL_PREFIX } -style-transfer-mosaic/${ VERSION_TAG } /coreml/style_transfer_mosaic_coreml_fp16.pte`
536+ : `${ URL_PREFIX } -style-transfer-mosaic/${ VERSION_TAG } /xnnpack/style_transfer_mosaic_xnnpack_int8.pte` ;
537537const STYLE_TRANSFER_RAIN_PRINCESS_MODEL =
538538 Platform . OS === `ios`
539- ? `${ URL_PREFIX } -style-transfer-rain-princess/${ NEXT_VERSION_TAG } /coreml/style_transfer_rain_princess_coreml_fp32.pte`
540- : `${ URL_PREFIX } -style-transfer-rain-princess/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_rain_princess_xnnpack_fp32.pte` ;
539+ ? `${ URL_PREFIX } -style-transfer-rain-princess/${ VERSION_TAG } /coreml/style_transfer_rain_princess_coreml_fp32.pte`
540+ : `${ URL_PREFIX } -style-transfer-rain-princess/${ VERSION_TAG } /xnnpack/style_transfer_rain_princess_xnnpack_fp32.pte` ;
541541const STYLE_TRANSFER_RAIN_PRINCESS_QUANTIZED_MODEL =
542542 Platform . OS === `ios`
543- ? `${ URL_PREFIX } -style-transfer-rain-princess/${ NEXT_VERSION_TAG } /coreml/style_transfer_rain_princess_coreml_fp16.pte`
544- : `${ URL_PREFIX } -style-transfer-rain-princess/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_rain_princess_xnnpack_int8.pte` ;
543+ ? `${ URL_PREFIX } -style-transfer-rain-princess/${ VERSION_TAG } /coreml/style_transfer_rain_princess_coreml_fp16.pte`
544+ : `${ URL_PREFIX } -style-transfer-rain-princess/${ VERSION_TAG } /xnnpack/style_transfer_rain_princess_xnnpack_int8.pte` ;
545545const STYLE_TRANSFER_UDNIE_MODEL =
546546 Platform . OS === `ios`
547- ? `${ URL_PREFIX } -style-transfer-udnie/${ NEXT_VERSION_TAG } /coreml/style_transfer_udnie_coreml_fp32.pte`
548- : `${ URL_PREFIX } -style-transfer-udnie/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_udnie_xnnpack_fp32.pte` ;
547+ ? `${ URL_PREFIX } -style-transfer-udnie/${ VERSION_TAG } /coreml/style_transfer_udnie_coreml_fp32.pte`
548+ : `${ URL_PREFIX } -style-transfer-udnie/${ VERSION_TAG } /xnnpack/style_transfer_udnie_xnnpack_fp32.pte` ;
549549const STYLE_TRANSFER_UDNIE_QUANTIZED_MODEL =
550550 Platform . OS === `ios`
551- ? `${ URL_PREFIX } -style-transfer-udnie/${ NEXT_VERSION_TAG } /coreml/style_transfer_udnie_coreml_fp16.pte`
552- : `${ URL_PREFIX } -style-transfer-udnie/${ NEXT_VERSION_TAG } /xnnpack/style_transfer_udnie_xnnpack_int8.pte` ;
551+ ? `${ URL_PREFIX } -style-transfer-udnie/${ VERSION_TAG } /coreml/style_transfer_udnie_coreml_fp16.pte`
552+ : `${ URL_PREFIX } -style-transfer-udnie/${ VERSION_TAG } /xnnpack/style_transfer_udnie_xnnpack_int8.pte` ;
553553
554554/**
555555 * @category Models - Style Transfer
@@ -617,31 +617,31 @@ export const STYLE_TRANSFER_UDNIE_QUANTIZED = {
617617
618618// S2T
619619const WHISPER_TINY_EN_TOKENIZER = `${ URL_PREFIX } -whisper-tiny.en/${ VERSION_TAG } /tokenizer.json` ;
620- const WHISPER_TINY_EN_MODEL = `${ URL_PREFIX } -whisper-tiny.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_tiny_en_xnnpack.pte` ;
620+ const WHISPER_TINY_EN_MODEL = `${ URL_PREFIX } -whisper-tiny.en/${ VERSION_TAG } /xnnpack/whisper_tiny_en_xnnpack.pte` ;
621621
622- const WHISPER_TINY_EN_QUANTIZED_TOKENIZER = `${ URL_PREFIX } -whisper-tiny-quantized.en/${ NEXT_VERSION_TAG } /tokenizer.json` ;
623- const WHISPER_TINY_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-tiny-quantized.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_tiny_en_quantized_xnnpack.pte` ;
622+ const WHISPER_TINY_EN_QUANTIZED_TOKENIZER = `${ URL_PREFIX } -whisper-tiny-quantized.en/${ VERSION_TAG } /tokenizer.json` ;
623+ const WHISPER_TINY_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-tiny-quantized.en/${ VERSION_TAG } /xnnpack/whisper_tiny_en_quantized_xnnpack.pte` ;
624624
625- const WHISPER_BASE_EN_TOKENIZER = `${ URL_PREFIX } -whisper-base.en/${ NEXT_VERSION_TAG } /tokenizer.json` ;
626- const WHISPER_BASE_EN_MODEL = `${ URL_PREFIX } -whisper-base.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_base_en_xnnpack.pte` ;
625+ const WHISPER_BASE_EN_TOKENIZER = `${ URL_PREFIX } -whisper-base.en/${ VERSION_TAG } /tokenizer.json` ;
626+ const WHISPER_BASE_EN_MODEL = `${ URL_PREFIX } -whisper-base.en/${ VERSION_TAG } /xnnpack/whisper_base_en_xnnpack.pte` ;
627627
628628const WHISPER_BASE_EN_QUANTIZED_TOKENIZER = `${ URL_PREFIX } -whisper-base-quantized.en/${ VERSION_TAG } /tokenizer.json` ;
629- const WHISPER_BASE_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-base-quantized.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_base_en_quantized_xnnpack.pte` ;
629+ const WHISPER_BASE_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-base-quantized.en/${ VERSION_TAG } /xnnpack/whisper_base_en_quantized_xnnpack.pte` ;
630630
631- const WHISPER_SMALL_EN_TOKENIZER = `${ URL_PREFIX } -whisper-small.en/${ NEXT_VERSION_TAG } /tokenizer.json` ;
632- const WHISPER_SMALL_EN_MODEL = `${ URL_PREFIX } -whisper-small.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_small_en_xnnpack.pte` ;
631+ const WHISPER_SMALL_EN_TOKENIZER = `${ URL_PREFIX } -whisper-small.en/${ VERSION_TAG } /tokenizer.json` ;
632+ const WHISPER_SMALL_EN_MODEL = `${ URL_PREFIX } -whisper-small.en/${ VERSION_TAG } /xnnpack/whisper_small_en_xnnpack.pte` ;
633633
634634const WHISPER_SMALL_EN_QUANTIZED_TOKENIZER = `${ URL_PREFIX } -whisper-small-quantized.en/${ VERSION_TAG } /tokenizer.json` ;
635- const WHISPER_SMALL_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-small-quantized.en/${ NEXT_VERSION_TAG } /xnnpack/whisper_small_en_quantized_xnnpack.pte` ;
635+ const WHISPER_SMALL_EN_QUANTIZED_MODEL = `${ URL_PREFIX } -whisper-small-quantized.en/${ VERSION_TAG } /xnnpack/whisper_small_en_quantized_xnnpack.pte` ;
636636
637637const WHISPER_TINY_TOKENIZER = `${ URL_PREFIX } -whisper-tiny/${ VERSION_TAG } /tokenizer.json` ;
638- const WHISPER_TINY_MODEL = `${ URL_PREFIX } -whisper-tiny/${ NEXT_VERSION_TAG } /xnnpack/whisper_tiny_xnnpack.pte` ;
638+ const WHISPER_TINY_MODEL = `${ URL_PREFIX } -whisper-tiny/${ VERSION_TAG } /xnnpack/whisper_tiny_xnnpack.pte` ;
639639
640640const WHISPER_BASE_TOKENIZER = `${ URL_PREFIX } -whisper-base/${ VERSION_TAG } /tokenizer.json` ;
641- const WHISPER_BASE_MODEL = `${ URL_PREFIX } -whisper-base/${ NEXT_VERSION_TAG } /xnnpack/whisper_base_xnnpack.pte` ;
641+ const WHISPER_BASE_MODEL = `${ URL_PREFIX } -whisper-base/${ VERSION_TAG } /xnnpack/whisper_base_xnnpack.pte` ;
642642
643643const WHISPER_SMALL_TOKENIZER = `${ URL_PREFIX } -whisper-small/${ VERSION_TAG } /tokenizer.json` ;
644- const WHISPER_SMALL_MODEL = `${ URL_PREFIX } -whisper-small/${ NEXT_VERSION_TAG } /xnnpack/whisper_small_xnnpack.pte` ;
644+ const WHISPER_SMALL_MODEL = `${ URL_PREFIX } -whisper-small/${ VERSION_TAG } /xnnpack/whisper_small_xnnpack.pte` ;
645645
646646/**
647647 * @category Models - Speech To Text
@@ -734,18 +734,18 @@ export const WHISPER_SMALL = {
734734} as const ;
735735
736736// Semantic Segmentation
737- const DEEPLAB_V3_RESNET50_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-resnet50/xnnpack/deeplabv3_resnet50_xnnpack_fp32.pte` ;
738- const DEEPLAB_V3_RESNET101_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-resnet101/xnnpack/deeplabv3_resnet101_xnnpack_fp32.pte` ;
739- const DEEPLAB_V3_MOBILENET_V3_LARGE_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-mobilenet-v3-large/xnnpack/deeplabv3_mobilenet_v3_large_xnnpack_fp32.pte` ;
740- const LRASPP_MOBILENET_V3_LARGE_MODEL = `${ URL_PREFIX } -lraspp/${ NEXT_VERSION_TAG } /xnnpack/lraspp_mobilenet_v3_large_xnnpack_fp32.pte` ;
741- const FCN_RESNET50_MODEL = `${ URL_PREFIX } -fcn/${ NEXT_VERSION_TAG } /fcn-resnet50/xnnpack/fcn_resnet50_xnnpack_fp32.pte` ;
742- const FCN_RESNET101_MODEL = `${ URL_PREFIX } -fcn/${ NEXT_VERSION_TAG } /fcn-resnet101/xnnpack/fcn_resnet101_xnnpack_fp32.pte` ;
743- const DEEPLAB_V3_RESNET50_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-resnet50/xnnpack/deeplabv3_resnet50_xnnpack_int8.pte` ;
744- const DEEPLAB_V3_RESNET101_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-resnet101/xnnpack/deeplabv3_resnet101_xnnpack_int8.pte` ;
745- const DEEPLAB_V3_MOBILENET_V3_LARGE_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ NEXT_VERSION_TAG } /deeplab-v3-mobilenet-v3-large/xnnpack/deeplabv3_mobilenet_v3_large_xnnpack_int8.pte` ;
746- const LRASPP_MOBILENET_V3_LARGE_QUANTIZED_MODEL = `${ URL_PREFIX } -lraspp/${ NEXT_VERSION_TAG } /xnnpack/lraspp_mobilenet_v3_large_xnnpack_int8.pte` ;
747- const FCN_RESNET50_QUANTIZED_MODEL = `${ URL_PREFIX } -fcn/${ NEXT_VERSION_TAG } /fcn-resnet50/xnnpack/fcn_resnet50_xnnpack_int8.pte` ;
748- const FCN_RESNET101_QUANTIZED_MODEL = `${ URL_PREFIX } -fcn/${ NEXT_VERSION_TAG } /fcn-resnet101/xnnpack/fcn_resnet101_xnnpack_int8.pte` ;
737+ const DEEPLAB_V3_RESNET50_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-resnet50/xnnpack/deeplabv3_resnet50_xnnpack_fp32.pte` ;
738+ const DEEPLAB_V3_RESNET101_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-resnet101/xnnpack/deeplabv3_resnet101_xnnpack_fp32.pte` ;
739+ const DEEPLAB_V3_MOBILENET_V3_LARGE_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-mobilenet-v3-large/xnnpack/deeplabv3_mobilenet_v3_large_xnnpack_fp32.pte` ;
740+ const LRASPP_MOBILENET_V3_LARGE_MODEL = `${ URL_PREFIX } -lraspp/${ VERSION_TAG } /xnnpack/lraspp_mobilenet_v3_large_xnnpack_fp32.pte` ;
741+ const FCN_RESNET50_MODEL = `${ URL_PREFIX } -fcn/${ VERSION_TAG } /fcn-resnet50/xnnpack/fcn_resnet50_xnnpack_fp32.pte` ;
742+ const FCN_RESNET101_MODEL = `${ URL_PREFIX } -fcn/${ VERSION_TAG } /fcn-resnet101/xnnpack/fcn_resnet101_xnnpack_fp32.pte` ;
743+ const DEEPLAB_V3_RESNET50_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-resnet50/xnnpack/deeplabv3_resnet50_xnnpack_int8.pte` ;
744+ const DEEPLAB_V3_RESNET101_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-resnet101/xnnpack/deeplabv3_resnet101_xnnpack_int8.pte` ;
745+ const DEEPLAB_V3_MOBILENET_V3_LARGE_QUANTIZED_MODEL = `${ URL_PREFIX } -deeplab-v3/${ VERSION_TAG } /deeplab-v3-mobilenet-v3-large/xnnpack/deeplabv3_mobilenet_v3_large_xnnpack_int8.pte` ;
746+ const LRASPP_MOBILENET_V3_LARGE_QUANTIZED_MODEL = `${ URL_PREFIX } -lraspp/${ VERSION_TAG } /xnnpack/lraspp_mobilenet_v3_large_xnnpack_int8.pte` ;
747+ const FCN_RESNET50_QUANTIZED_MODEL = `${ URL_PREFIX } -fcn/${ VERSION_TAG } /fcn-resnet50/xnnpack/fcn_resnet50_xnnpack_int8.pte` ;
748+ const FCN_RESNET101_QUANTIZED_MODEL = `${ URL_PREFIX } -fcn/${ VERSION_TAG } /fcn-resnet101/xnnpack/fcn_resnet101_xnnpack_int8.pte` ;
749749
750750/**
751751 * @category Models - Semantic Segmentation
@@ -843,7 +843,7 @@ export const FCN_RESNET101_QUANTIZED = {
843843 modelSource : FCN_RESNET101_QUANTIZED_MODEL ,
844844} as const ;
845845
846- const SELFIE_SEGMENTATION_MODEL = `${ URL_PREFIX } -selfie-segmentation/${ NEXT_VERSION_TAG } /xnnpack/selfie-segmentation.pte` ;
846+ const SELFIE_SEGMENTATION_MODEL = `${ URL_PREFIX } -selfie-segmentation/${ VERSION_TAG } /xnnpack/selfie-segmentation.pte` ;
847847
848848/**
849849 * @category Models - Semantic Segmentation
@@ -856,12 +856,12 @@ export const SELFIE_SEGMENTATION = {
856856/**
857857 * @category Models - Instance Segmentation
858858 */
859- const YOLO26N_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ NEXT_VERSION_TAG } /yolo26n-seg/xnnpack/yolo26n-seg.pte` ;
860- const YOLO26S_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ NEXT_VERSION_TAG } /yolo26s-seg/xnnpack/yolo26s-seg.pte` ;
861- const YOLO26M_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ NEXT_VERSION_TAG } /yolo26m-seg/xnnpack/yolo26m-seg.pte` ;
862- const YOLO26L_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ NEXT_VERSION_TAG } /yolo26l-seg/xnnpack/yolo26l-seg.pte` ;
863- const YOLO26X_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ NEXT_VERSION_TAG } /yolo26x-seg/xnnpack/yolo26x-seg.pte` ;
864- const RF_DETR_NANO_SEG_MODEL = `${ URL_PREFIX } -rfdetr-nano-segmentation/${ NEXT_VERSION_TAG } /rfdetr_segmentation.pte` ;
859+ const YOLO26N_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ VERSION_TAG } /yolo26n-seg/xnnpack/yolo26n-seg.pte` ;
860+ const YOLO26S_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ VERSION_TAG } /yolo26s-seg/xnnpack/yolo26s-seg.pte` ;
861+ const YOLO26M_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ VERSION_TAG } /yolo26m-seg/xnnpack/yolo26m-seg.pte` ;
862+ const YOLO26L_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ VERSION_TAG } /yolo26l-seg/xnnpack/yolo26l-seg.pte` ;
863+ const YOLO26X_SEG_MODEL = `${ URL_PREFIX } -yolo26-seg/${ VERSION_TAG } /yolo26x-seg/xnnpack/yolo26x-seg.pte` ;
864+ const RF_DETR_NANO_SEG_MODEL = `${ URL_PREFIX } -rfdetr-nano-segmentation/${ VERSION_TAG } /rfdetr_segmentation.pte` ;
865865/**
866866 * @category Models - Instance Segmentation
867867 */
@@ -911,8 +911,8 @@ export const RF_DETR_NANO_SEG = {
911911} as const ;
912912
913913// Image Embeddings
914- const CLIP_VIT_BASE_PATCH32_IMAGE_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ NEXT_VERSION_TAG } /xnnpack/clip_vit_base_patch32_vision_xnnpack_fp32.pte` ;
915- const CLIP_VIT_BASE_PATCH32_IMAGE_QUANTIZED_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ NEXT_VERSION_TAG } /xnnpack/clip_vit_base_patch32_vision_xnnpack_int8.pte` ;
914+ const CLIP_VIT_BASE_PATCH32_IMAGE_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ VERSION_TAG } /xnnpack/clip_vit_base_patch32_vision_xnnpack_fp32.pte` ;
915+ const CLIP_VIT_BASE_PATCH32_IMAGE_QUANTIZED_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ VERSION_TAG } /xnnpack/clip_vit_base_patch32_vision_xnnpack_int8.pte` ;
916916
917917/**
918918 * @category Models - Image Embeddings
@@ -939,8 +939,8 @@ const MULTI_QA_MINILM_L6_COS_V1_MODEL = `${URL_PREFIX}-multi-qa-MiniLM-L6-cos-v1
939939const MULTI_QA_MINILM_L6_COS_V1_TOKENIZER = `${ URL_PREFIX } -multi-qa-MiniLM-L6-cos-v1/${ VERSION_TAG } /tokenizer.json` ;
940940const MULTI_QA_MPNET_BASE_DOT_V1_MODEL = `${ URL_PREFIX } -multi-qa-mpnet-base-dot-v1/${ VERSION_TAG } /multi-qa-mpnet-base-dot-v1_xnnpack.pte` ;
941941const MULTI_QA_MPNET_BASE_DOT_V1_TOKENIZER = `${ URL_PREFIX } -multi-qa-mpnet-base-dot-v1/${ VERSION_TAG } /tokenizer.json` ;
942- const CLIP_VIT_BASE_PATCH32_TEXT_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ NEXT_VERSION_TAG } /xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.pte` ;
943- const CLIP_VIT_BASE_PATCH32_TEXT_TOKENIZER = `${ URL_PREFIX } -clip-vit-base-patch32/${ NEXT_VERSION_TAG } /tokenizer.json` ;
942+ const CLIP_VIT_BASE_PATCH32_TEXT_MODEL = `${ URL_PREFIX } -clip-vit-base-patch32/${ VERSION_TAG } /xnnpack/clip_vit_base_patch32_text_xnnpack_fp32.pte` ;
943+ const CLIP_VIT_BASE_PATCH32_TEXT_TOKENIZER = `${ URL_PREFIX } -clip-vit-base-patch32/${ VERSION_TAG } /tokenizer.json` ;
944944
945945/**
946946 * @category Models - Text Embeddings
0 commit comments