File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ rm -rf "$COREML_DIR_PATH/third-party"
2424mkdir " $COREML_DIR_PATH /third-party"
2525
2626echo " ${green} ExecuTorch: Cloning coremltools."
27- git clone --depth 1 --branch 8.0 " https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH
27+ git clone --depth 1 --branch 8.1 " https://github.com/apple/coremltools.git" $COREMLTOOLS_DIR_PATH
2828cd $COREMLTOOLS_DIR_PATH
2929
3030STATUS=$?
Original file line number Diff line number Diff line change @@ -71,23 +71,15 @@ def test_vit_skip_conv(self):
7171 )
7272 )
7373
74- conv_block = ["aten.convolution.default" , "executorch_call_delegate" ]
75- safe_softmax_block = [
76- "getitem" ,
77- "getitem" ,
78- "getitem" ,
79- "getitem" ,
80- "aten.any.dim" ,
81- "executorch_call_delegate" ,
82- ]
83- final_block = ["getitem" ]
84- total = conv_block + 12 * safe_softmax_block + final_block
85-
8674 assert [
8775 node .target .__name__
8876 for node in delegated_program_manager .exported_program ().graph .nodes
8977 if node .op == "call_function"
90- ] == total
78+ ] == [
79+ "aten.convolution.default" ,
80+ "executorch_call_delegate" ,
81+ "getitem" ,
82+ ]
9183
9284 def test_buffer (self ):
9385 embedding_dim = 3
You can’t perform that action at this time.
0 commit comments