diff --git a/backends/apple/coreml/scripts/install_requirements.sh b/backends/apple/coreml/scripts/install_requirements.sh index b3ea0d77ca0..b6a0a18b771 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 --depth 1 --branch 8.0 "https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH +git clone --depth 1 --branch 8.1 "https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH cd $COREMLTOOLS_DIR_PATH STATUS=$? diff --git a/backends/apple/coreml/test/test_coreml_partitioner.py b/backends/apple/coreml/test/test_coreml_partitioner.py index 72a7fbf0932..64e1570f0bc 100644 --- a/backends/apple/coreml/test/test_coreml_partitioner.py +++ b/backends/apple/coreml/test/test_coreml_partitioner.py @@ -71,23 +71,15 @@ def test_vit_skip_conv(self): ) ) - conv_block = ["aten.convolution.default", "executorch_call_delegate"] - safe_softmax_block = [ - "getitem", - "getitem", - "getitem", - "getitem", - "aten.any.dim", - "executorch_call_delegate", - ] - final_block = ["getitem"] - total = conv_block + 12 * safe_softmax_block + final_block - assert [ node.target.__name__ for node in delegated_program_manager.exported_program().graph.nodes if node.op == "call_function" - ] == total + ] == [ + "aten.convolution.default", + "executorch_call_delegate", + "getitem", + ] def test_buffer(self): embedding_dim = 3