@@ -19,7 +19,6 @@ array_api_tests/test_array_object.py::test_scalar_casting[__index__(uint64)]
19
19
# Overflow error from large inputs
20
20
array_api_tests/test_creation_functions.py::test_arange
21
21
# pytorch linspace bug (should be fixed in torch 2.0)
22
- array_api_tests/test_creation_functions.py::test_linspace
23
22
24
23
# torch doesn't have higher uint dtypes
25
24
array_api_tests/test_data_type_functions.py::test_iinfo[uint16]
@@ -30,43 +29,25 @@ array_api_tests/test_data_type_functions.py::test_iinfo[uint64]
30
29
array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
31
30
array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
32
31
33
- # tensordot doesn't allow integer dtypes in some corner cases
34
- array_api_tests/test_linalg.py::test_tensordot
35
-
36
32
# We cannot wrap the tensor object
37
33
array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x1, x2)]
38
34
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[__and__(x1, x2)]
39
35
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_left_shift[__lshift__(x1, x2)]
40
36
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_or[__or__(x1, x2)]
41
37
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__rshift__(x1, x2)]
42
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__irshift__(x1, x2)]
43
38
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[__xor__(x1, x2)]
44
39
array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x1, x2)]
45
- array_api_tests/test_operators_and_elementwise_functions.py::test_equal[__eq__(x1, x2)]
46
- array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[__ne__(x1, x2)]
47
40
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)]
48
- array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)]
49
- array_api_tests/test_operators_and_elementwise_functions.py::test_greater_equal[__ge__(x1, x2)]
50
- array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)]
51
- array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[__le__(x1, x2)]
52
41
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x1, x2)]
53
- array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x1, x2)]
54
42
# This test is skipped instead of xfailed because it causes core dumps on CI
55
43
# array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)]
56
44
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x1, x2)]
57
45
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x1, x2)]
58
46
59
47
# inverse trig functions are too inaccurate on CPU
60
48
array_api_tests/test_operators_and_elementwise_functions.py::test_acos
61
- array_api_tests/test_operators_and_elementwise_functions.py::test_atan
62
49
array_api_tests/test_operators_and_elementwise_functions.py::test_asin
63
50
64
- # overflow near float max
65
- array_api_tests/test_operators_and_elementwise_functions.py::test_log1p
66
-
67
- # torch doesn't handle shifting by more than the bit size correctly
68
- # https://github.com/pytorch/pytorch/issues/70904
69
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[bitwise_right_shift(x1, x2)]
70
51
# Torch bug for remainder in some cases with large values
71
52
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
72
53
@@ -77,11 +58,6 @@ array_api_tests/test_set_functions.py::test_unique_all
77
58
# (https://github.com/pytorch/pytorch/issues/94106)
78
59
array_api_tests/test_set_functions.py::test_unique_inverse
79
60
80
- # The test suite incorrectly divides by 0 here
81
- # (https://github.com/data-apis/array-api-tests/issues/170)
82
- array_api_tests/test_signatures.py::test_func_signature[floor_divide]
83
- array_api_tests/test_signatures.py::test_func_signature[remainder]
84
- array_api_tests/test_signatures.py::test_array_method_signature[__mod__]
85
61
86
62
# We cannot add attributes to the tensor object
87
63
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__]
@@ -90,13 +66,6 @@ array_api_tests/test_signatures.py::test_array_method_signature[to_device]
90
66
91
67
# We do not attempt to work around special-case differences (most are on
92
68
# tensor methods which we couldn't fix anyway).
93
- array_api_tests/test_special_cases.py::test_binary[__add__((x1_i is +0 or x1_i == -0) and isfinite(x2_i) and x2_i != 0) -> x2_i]
94
- array_api_tests/test_special_cases.py::test_binary[__add__(isfinite(x1_i) and x1_i != 0 and (x2_i is +0 or x2_i == -0)) -> x1_i]
95
- array_api_tests/test_special_cases.py::test_binary[__add__(isfinite(x1_i) and x1_i != 0 and x2_i == -x1_i) -> +0]
96
- array_api_tests/test_special_cases.py::test_binary[__add__(isfinite(x1_i) and x2_i is +infinity) -> +infinity]
97
- array_api_tests/test_special_cases.py::test_binary[__add__(isfinite(x1_i) and x2_i is -infinity) -> -infinity]
98
- array_api_tests/test_special_cases.py::test_binary[__add__(x1_i is +infinity and isfinite(x2_i)) -> +infinity]
99
- array_api_tests/test_special_cases.py::test_binary[__add__(x1_i is -infinity and isfinite(x2_i)) -> -infinity]
100
69
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
101
70
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is -infinity) -> +0]
102
71
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is +infinity) -> +0]
@@ -121,41 +90,6 @@ array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i <
121
90
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i > 0) -> +0]
122
91
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i < 0) -> -0]
123
92
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i > 0) -> +0]
124
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is +infinity) -> +0]
125
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
126
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is +infinity) -> +infinity]
127
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is -infinity) -> +0]
128
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i < 0 and isfinite(x1_i) and isfinite(x2_i) and not x2_i.is_integer()) -> NaN]
129
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i < 0) -> +infinity]
130
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i > 0) -> +0]
131
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +infinity and x2_i < 0) -> +0]
132
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +infinity and x2_i > 0) -> +infinity]
133
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i < 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
134
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
135
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
136
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
137
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i < 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
138
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
139
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
140
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
141
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is NaN and not x2_i == 0) -> NaN]
142
- array_api_tests/test_special_cases.py::test_binary[__truediv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
143
- array_api_tests/test_special_cases.py::test_binary[__truediv__(isfinite(x1_i) and x1_i < 0 and x2_i is -infinity) -> +0]
144
- array_api_tests/test_special_cases.py::test_binary[__truediv__(isfinite(x1_i) and x1_i > 0 and x2_i is +infinity) -> +0]
145
- array_api_tests/test_special_cases.py::test_binary[__truediv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
146
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i < 0 and x2_i is +0) -> -infinity]
147
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i < 0 and x2_i is -0) -> +infinity]
148
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i > 0 and x2_i is +0) -> +infinity]
149
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i > 0 and x2_i is -0) -> -infinity]
150
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +0 and x2_i < 0) -> -0]
151
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +0 and x2_i > 0) -> +0]
152
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
153
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
154
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -0 and x2_i < 0) -> +0]
155
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -0 and x2_i > 0) -> -0]
156
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
157
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
158
- array_api_tests/test_special_cases.py::test_binary[add(isfinite(x1_i) and x1_i != 0 and x2_i == -x1_i) -> +0]
159
93
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
160
94
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
161
95
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
@@ -164,7 +98,6 @@ array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinit
164
98
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
165
99
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is +0 and x2_i < 0) -> -0]
166
100
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is -0 and x2_i > 0) -> +0]
167
- array_api_tests/test_special_cases.py::test_iop[__iadd__(isfinite(x1_i) and x1_i != 0 and x2_i == -x1_i) -> +0]
168
101
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
169
102
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
170
103
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
@@ -176,20 +109,11 @@ array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is -0 and x2_i > 0
176
109
177
110
# Float correction is not supported by pytorch
178
111
# (https://github.com/data-apis/array-api-tests/issues/168)
179
- array_api_tests/test_special_cases.py::test_empty_arrays[std]
180
- array_api_tests/test_special_cases.py::test_empty_arrays[var]
181
- array_api_tests/test_special_cases.py::test_nan_propagation[std]
182
- array_api_tests/test_special_cases.py::test_nan_propagation[var]
183
112
array_api_tests/test_statistical_functions.py::test_std
184
113
array_api_tests/test_statistical_functions.py::test_var
185
114
186
- # The test suite is incorrectly checking sums that have loss of significance
187
- # (https://github.com/data-apis/array-api-tests/issues/168)
188
- array_api_tests/test_statistical_functions.py::test_sum
189
- array_api_tests/test_statistical_functions.py::test_prod
190
115
191
116
# These functions do not yet support complex numbers
192
- array_api_tests/test_operators_and_elementwise_functions.py::test_expm1
193
117
array_api_tests/test_operators_and_elementwise_functions.py::test_round
194
118
array_api_tests/test_set_functions.py::test_unique_counts
195
119
array_api_tests/test_set_functions.py::test_unique_values
0 commit comments