Skip to content

Commit ae0c57d

Browse files
committed
chore: use proper version tag instead of main
1 parent 47ff565 commit ae0c57d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎packages/react-native-executorch/src/constants/modelUrls.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -703,12 +703,12 @@ export const YOLO26N_POSE = {
703703
} as const;
704704

705705
// RF-DETR Keypoint (pose estimation) — BETA preview.
706-
// NOTE: served from the `preview/` path on `resolve/main` (not a tagged
707-
// release). This export is a preview and may be re-exported under a different
708-
// constant once a stable version ships.
709-
export const RF_DETR_KEYPOINT_PREVIEW_XNNPACK_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/resolve/main/preview/xnnpack/rfdetr_keypoint_preview_xnnpack_fp32.pte`;
710-
export const RF_DETR_KEYPOINT_PREVIEW_COREML_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/resolve/main/preview/coreml/rfdetr-keypoint-preview-coreml-iOS16-all-fp32.pte`;
711-
export const RF_DETR_KEYPOINT_PREVIEW_MLX_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/resolve/main/preview/mlx/rfdetr_keypoint_preview_mlx_fp32.pte`;
706+
// NOTE: served from the `preview/` path under PREVIOUS_VERSION_TAG (shipping as
707+
// part of a patch release). This export is a preview and may be re-exported
708+
// under a different constant once a stable version ships.
709+
export const RF_DETR_KEYPOINT_PREVIEW_XNNPACK_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/${PREVIOUS_VERSION_TAG}/preview/xnnpack/rfdetr_keypoint_preview_xnnpack_fp32.pte`;
710+
export const RF_DETR_KEYPOINT_PREVIEW_COREML_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/${PREVIOUS_VERSION_TAG}/preview/coreml/rfdetr-keypoint-preview-coreml-iOS16-all-fp32.pte`;
711+
export const RF_DETR_KEYPOINT_PREVIEW_MLX_FP32_MODEL = `${URL_PREFIX}-rfdetr-keypoint/${PREVIOUS_VERSION_TAG}/preview/mlx/rfdetr_keypoint_preview_mlx_fp32.pte`;
712712
const RF_DETR_KEYPOINT_PREVIEW_MODEL =
713713
Platform.OS === 'ios'
714714
? RF_DETR_KEYPOINT_PREVIEW_COREML_FP32_MODEL

0 commit comments

Comments
 (0)