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
@@ -29,21 +7,6 @@ array_api_tests/test_creation_functions.py::test_eye
29
7
# finfo(float32).eps returns float32 but should return float
30
8
array_api_tests/test_data_type_functions.py::test_finfo[float32]
31
9
32
- # out[-1]=dask.array<getitem ...> but should be some floating number
33
- # (I think the test is not forcing the op to be computed?)
34
- array_api_tests/test_creation_functions.py::test_linspace
35
-
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
10
# Array methods and attributes not already on da.Array cannot be wrapped
48
11
array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
49
12
array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
@@ -63,25 +26,11 @@ array_api_tests/test_set_functions.py::test_unique_values
63
26
64
27
# fails for ndim > 2
65
28
array_api_tests/test_linalg.py::test_svdvals
66
- array_api_tests/test_linalg.py::test_cholesky
67
-
68
- # dtype mismatch got uint64, but should be uint8, NPY_PROMOTION_STATE=weak doesn't help :(
69
- array_api_tests/test_linalg.py::test_tensordot
70
-
71
- # AssertionError: out.dtype=uint64, but should be uint8 [tensordot(uint8, uint8)]
72
- array_api_tests/test_linalg.py::test_linalg_tensordot
73
-
74
- # AssertionError: out.shape=(1,), but should be () [linalg.vector_norm(keepdims=True)]
75
- array_api_tests/test_linalg.py::test_vector_norm
76
29
77
30
# ZeroDivisionError in dask's normalize_chunks/auto_chunks internals
78
31
array_api_tests/test_linalg.py::test_inv
79
32
array_api_tests/test_linalg.py::test_matrix_power
80
33
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
34
# Linalg - these don't exist in dask
86
35
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cross]
87
36
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.det]
@@ -90,11 +39,9 @@ array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigvals
90
39
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_power]
91
40
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.pinv]
92
41
array_api_tests/test_signatures.py::test_extension_func_signature[linalg.slogdet]
93
- array_api_tests/test_linalg.py::test_cross
94
42
array_api_tests/test_linalg.py::test_det
95
43
array_api_tests/test_linalg.py::test_eigh
96
44
array_api_tests/test_linalg.py::test_eigvalsh
97
- array_api_tests/test_linalg.py::test_matrix_norm
98
45
array_api_tests/test_linalg.py::test_matrix_rank
99
46
array_api_tests/test_linalg.py::test_pinv
100
47
array_api_tests/test_linalg.py::test_slogdet
@@ -106,14 +53,10 @@ array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power]
106
53
array_api_tests/test_has_names.py::test_has_names[linalg-pinv]
107
54
array_api_tests/test_has_names.py::test_has_names[linalg-slogdet]
108
55
109
- # missing mode kw
110
- # https://github.com/dask/dask/issues/10388
111
- array_api_tests/test_linalg.py::test_qr
112
-
113
56
# Constructing the input arrays fails to a weird shape error...
114
57
array_api_tests/test_linalg.py::test_solve
115
58
116
- # missing full_matrics kw
59
+ # missing full_matrices kw
117
60
# https://github.com/dask/dask/issues/10389
118
61
# also only supports 2-d inputs
119
62
array_api_tests/test_linalg.py::test_svd
@@ -128,17 +71,12 @@ array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack]
128
71
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__]
129
72
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__]
130
73
131
- # Some cases unsupported by dask
132
- array_api_tests/test_manipulation_functions.py::test_roll
133
-
134
74
# No mT on dask array
135
75
array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
136
76
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
77
+ # Edge case of args near 2**63
78
+ # https://github.com/dask/dask/issues/11706
79
+ array_api_tests/test_creation_functions.py::test_arange
141
80
142
81
# 2023.12 support
143
82
array_api_tests/test_manipulation_functions.py::test_repeat
144
- array_api_tests/test_searching_functions.py::test_searchsorted
0 commit comments