File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 17
17
logger = logging .getLogger (__name__ )
18
18
logger .setLevel (logging .INFO )
19
19
20
+ torch .manual_seed (0 )
21
+
20
22
21
23
class TestMM (unittest .TestCase ):
22
24
"""Tests MatMul"""
@@ -124,10 +126,12 @@ def test_mm_single_input_tosa_BI(self, operand1: torch.Tensor):
124
126
test_data = (operand1 ,)
125
127
self ._test_mm_tosa_BI_pipeline (self .MMSingleInput (), test_data )
126
128
129
+ # Expected to fail with error: CPU performance estimation for "MatMul" not implemented
127
130
@parameterized .expand (MM .test_parameters )
131
+ @unittest .expectedFailure
128
132
def test_mm_u55_BI (self , operand1 : torch .Tensor , operand2 : torch .Tensor ):
129
133
test_data = (operand1 , operand2 )
130
- self ._test_mm_tosa_BI_pipeline (self .MM (), test_data )
134
+ self ._test_mm_u55_BI_pipeline (self .MM (), test_data )
131
135
132
136
# Expected to fail with error: Warning, unsupported fusing of TOSA Rescale previous operator is of type: Memcpy
133
137
@parameterized .expand (MMSingleInput .test_parameters )
You can’t perform that action at this time.
0 commit comments