File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 20
20
"_fft_c2c.default" , # cuFFT only supports dimensions whose sizes are powers of two when computing in half precision
21
21
]
22
22
23
+ UNTESTABLE_OPERATORS = [
24
+ "empty_like" , # We can check using metadata
25
+ "new_empty" , # We can check using metadata
26
+ "new_empty_strided" , # We can check using metadata
27
+ "bernoulli" , # We can write a custom test to verify this one (albeit not the randomness)
28
+ ]
29
+
23
30
24
31
def apply_skip_ops_filter (ops ):
25
32
for op in ops :
@@ -28,6 +35,12 @@ def apply_skip_ops_filter(ops):
28
35
op ["why_excluded" ].append ("We cannot run this op on backendbench yet" )
29
36
op ["runnable" ] = False
30
37
38
+ if any (skip_op in op ["op_name" ] for skip_op in UNTESTABLE_OPERATORS ):
39
+ op ["included_in_benchmark" ] = False
40
+ op ["why_excluded" ].append (
41
+ "BackendBench does not support correctness testing for this op yet"
42
+ )
43
+
31
44
if op ["is_synthetic" ]:
32
45
op ["included_in_benchmark" ] = False
33
46
op ["why_excluded" ].append (
You can’t perform that action at this time.
0 commit comments