From 37b7573d67dce1d457a75d93e008681d5e4e7588 Mon Sep 17 00:00:00 2001 From: yifan_shen3 Date: Mon, 22 Apr 2024 22:44:46 -0700 Subject: [PATCH] Pin CoreMLTools 7.2 (#3170) Summary: It is more stable to pin a release branch of CoreMLTools. We will periodically update it when necessary Pull Request resolved: https://github.com/pytorch/executorch/pull/3170 Reviewed By: cccclai Differential Revision: D56373108 Pulled By: shoumikhin fbshipit-source-id: d6a96813f07df97abbf8f4ca75e2aae2666372b1 (cherry picked from commit cb777638fb88c3f472474e9eec02cd1c8d168893) --- backends/apple/coreml/scripts/install_requirements.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/apple/coreml/scripts/install_requirements.sh b/backends/apple/coreml/scripts/install_requirements.sh index 0f703c9e430..b48ac7bfb69 100755 --- a/backends/apple/coreml/scripts/install_requirements.sh +++ b/backends/apple/coreml/scripts/install_requirements.sh @@ -24,7 +24,7 @@ rm -rf "$COREML_DIR_PATH/third-party" mkdir "$COREML_DIR_PATH/third-party" echo "${green}ExecuTorch: Cloning coremltools." -git clone "https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH +git clone --depth 1 --branch 7.2 "https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH cd $COREMLTOOLS_DIR_PATH STATUS=$?