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"
24
24
mkdir " $COREML_DIR_PATH /third-party"
25
25
26
26
echo " ${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
28
28
cd $COREMLTOOLS_DIR_PATH
29
29
30
30
STATUS=$?
Original file line number Diff line number Diff line change @@ -71,23 +71,15 @@ def test_vit_skip_conv(self):
71
71
)
72
72
)
73
73
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
-
86
74
assert [
87
75
node .target .__name__
88
76
for node in delegated_program_manager .exported_program ().graph .nodes
89
77
if node .op == "call_function"
90
- ] == total
78
+ ] == [
79
+ "aten.convolution.default" ,
80
+ "executorch_call_delegate" ,
81
+ "getitem" ,
82
+ ]
91
83
92
84
def test_buffer (self ):
93
85
embedding_dim = 3
You can’t perform that action at this time.
0 commit comments