1
- # This fails in dask
2
- # import dask.array as da
3
- # a = da.array([1]).reshape((1,1))
4
- # key = (0, slice(None, None, -1))
5
- # a[key] = da.array([1])
6
-
7
- # Failing hypothesis test case
8
- #x=dask.array<zeros_like, shape=(0, 2), dtype=bool, chunksize=(0, 2), chunktype=numpy.ndarray>
9
- #| Draw 1 (key): (slice(None, None, None), slice(None, None, None))
10
- #| Draw 2 (value): dask.array<zeros_like, shape=(0, 2), dtype=bool, chunksize=(0, 2), chunktype=numpy.ndarray>
11
-
12
- # Various shape mismatches e.g.
13
- ValueError: shape mismatch: value array of shape (0, 2) could not be broadcast to indexing result of shape (0, 2)
14
- array_api_tests/test_array_object.py::test_setitem
15
-
16
- # Fails since bad upcast from uint8 -> int64
17
- # MRE:
18
- # a = da.array(0, dtype="uint8")
19
- # b = da.array(False)
20
- # a[b] = 0
21
- array_api_tests/test_array_object.py::test_setitem_masking
22
-
23
1
# Various indexing errors
24
2
array_api_tests/test_array_object.py::test_getitem_masking
25
3
@@ -33,17 +11,6 @@ array_api_tests/test_data_type_functions.py::test_finfo[float32]
33
11
# (I think the test is not forcing the op to be computed?)
34
12
array_api_tests/test_creation_functions.py::test_linspace
35
13
36
- # out.shape=(2,) but should be (1,)
37
- array_api_tests/test_indexing_functions.py::test_take
38
-
39
- # out=-0, but should be +0
40
- 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]
41
- array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
42
-
43
- # output is nan but should be infinity
44
- array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
45
- 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]
46
-
47
14
# Array methods and attributes not already on da.Array cannot be wrapped
48
15
array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
49
16
array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
@@ -63,25 +30,17 @@ array_api_tests/test_set_functions.py::test_unique_values
63
30
64
31
# fails for ndim > 2
65
32
array_api_tests/test_linalg.py::test_svdvals
66
- array_api_tests/test_linalg.py::test_cholesky
67
33
68
34
# dtype mismatch got uint64, but should be uint8, NPY_PROMOTION_STATE=weak doesn't help :(
69
35
array_api_tests/test_linalg.py::test_tensordot
70
36
71
37
# AssertionError: out.dtype=uint64, but should be uint8 [tensordot(uint8, uint8)]
72
38
array_api_tests/test_linalg.py::test_linalg_tensordot
73
39
74
- # AssertionError: out.shape=(1,), but should be () [linalg.vector_norm(keepdims=True)]
75
- array_api_tests/test_linalg.py::test_vector_norm
76
-
77
40
# ZeroDivisionError in dask's normalize_chunks/auto_chunks internals
78
41
array_api_tests/test_linalg.py::test_inv
79
42
array_api_tests/test_linalg.py::test_matrix_power
80
43
81
- # did not raise error for invalid shapes
82
- array_api_tests/test_linalg.py::test_matmul
83
- array_api_tests/test_linalg.py::test_linalg_matmul
84
-
85
44
# Linalg - these don't exist in dask
86
45
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cross]
87
46
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.det]
@@ -94,7 +53,6 @@ array_api_tests/test_linalg.py::test_cross
94
53
array_api_tests/test_linalg.py::test_det
95
54
array_api_tests/test_linalg.py::test_eigh
96
55
array_api_tests/test_linalg.py::test_eigvalsh
97
- array_api_tests/test_linalg.py::test_matrix_norm
98
56
array_api_tests/test_linalg.py::test_matrix_rank
99
57
array_api_tests/test_linalg.py::test_pinv
100
58
array_api_tests/test_linalg.py::test_slogdet
@@ -106,14 +64,10 @@ array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power]
106
64
array_api_tests/test_has_names.py::test_has_names[linalg-pinv]
107
65
array_api_tests/test_has_names.py::test_has_names[linalg-slogdet]
108
66
109
- # missing mode kw
110
- # https://github.com/dask/dask/issues/10388
111
- array_api_tests/test_linalg.py::test_qr
112
-
113
67
# Constructing the input arrays fails to a weird shape error...
114
68
array_api_tests/test_linalg.py::test_solve
115
69
116
- # missing full_matrics kw
70
+ # missing full_matrices kw
117
71
# https://github.com/dask/dask/issues/10389
118
72
# also only supports 2-d inputs
119
73
array_api_tests/test_linalg.py::test_svd
@@ -128,17 +82,12 @@ array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack]
128
82
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__]
129
83
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__]
130
84
131
- # Some cases unsupported by dask
132
- array_api_tests/test_manipulation_functions.py::test_roll
133
-
134
85
# No mT on dask array
135
86
array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
136
87
137
- # The test suite is incorrectly checking sums that have loss of significance
138
- # (https://github.com/data-apis/array-api-tests/issues/168)
139
- array_api_tests/test_statistical_functions.py::test_sum
140
- array_api_tests/test_statistical_functions.py::test_prod
88
+ # Edge case of args near 2**63
89
+ # https://github.com/dask/dask/issues/11706
90
+ array_api_tests/test_creation_functions.py::test_arange
141
91
142
92
# 2023.12 support
143
93
array_api_tests/test_manipulation_functions.py::test_repeat
144
- array_api_tests/test_searching_functions.py::test_searchsorted
0 commit comments