|
| 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 | +# Various indexing errors |
| 24 | +array_api_tests/test_array_object.py::test_getitem_masking |
| 25 | + |
| 26 | +# asarray(copy=False) is not yet implemented |
| 27 | +# copied from numpy xfails, TODO: should this pass with dask? |
| 28 | +array_api_tests/test_creation_functions.py::test_asarray_arrays |
| 29 | + |
| 30 | +# zero division error, and typeerror: tuple indices must be integers or slices not tuple |
| 31 | +array_api_tests/test_creation_functions.py::test_eye |
| 32 | + |
| 33 | +# finfo(float32).eps returns float32 but should return float |
| 34 | +array_api_tests/test_data_type_functions.py::test_finfo[float32] |
| 35 | + |
| 36 | +# out[-1]=dask.aray<getitem ...> but should be some floating number |
| 37 | +# (I think the test is not forcing the op to be computed?) |
| 38 | +array_api_tests/test_creation_functions.py::test_linspace |
| 39 | + |
| 40 | +# out=-0, but should be +0 |
| 41 | +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] |
| 42 | +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] |
| 43 | + |
| 44 | +# output is nan but should be infinity |
| 45 | +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] |
| 46 | +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] |
| 47 | + |
| 48 | +# No sorting in dask |
| 49 | +array_api_tests/test_has_names.py::test_has_names[sorting-argsort] |
| 50 | +array_api_tests/test_has_names.py::test_has_names[sorting-sort] |
| 51 | +array_api_tests/test_sorting_functions.py::test_argsort |
| 52 | +array_api_tests/test_sorting_functions.py::test_sort |
| 53 | +array_api_tests/test_signatures.py::test_func_signature[argsort] |
| 54 | +array_api_tests/test_signatures.py::test_func_signature[sort] |
| 55 | + |
| 56 | +# Array methods and attributes not already on np.ndarray cannot be wrapped |
| 57 | +array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__] |
| 58 | +array_api_tests/test_has_names.py::test_has_names[array_method-to_device] |
| 59 | +array_api_tests/test_has_names.py::test_has_names[array_attribute-device] |
| 60 | +array_api_tests/test_has_names.py::test_has_names[array_attribute-mT] |
| 61 | + |
| 62 | +# Fails because shape is NaN since we don't materialize it yet |
| 63 | +array_api_tests/test_searching_functions.py::test_nonzero |
| 64 | +array_api_tests/test_set_functions.py::test_unique_all |
| 65 | +array_api_tests/test_set_functions.py::test_unique_counts |
| 66 | + |
| 67 | +# Different error but same cause as above, we're just trying to do ndindex on nan shape |
| 68 | +array_api_tests/test_set_functions.py::test_unique_inverse |
| 69 | +array_api_tests/test_set_functions.py::test_unique_values |
| 70 | + |
| 71 | +# Linalg failures (signature failures/missing methods) |
| 72 | + |
| 73 | +# fails for ndim > 2 |
| 74 | +array_api_tests/test_linalg.py::test_svdvals |
| 75 | +array_api_tests/test_linalg.py::test_cholesky |
| 76 | +# dtype mismatch got uint64, but should be uint8, NPY_PROMOTION_STATE=weak doesn't help :( |
| 77 | +array_api_tests/test_linalg.py::test_tensordot |
| 78 | +# probably same reason for failing as numpy |
| 79 | +array_api_tests/test_linalg.py::test_trace |
| 80 | + |
| 81 | +# Linalg - these don't exist in dask |
| 82 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cross] |
| 83 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.det] |
| 84 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigh] |
| 85 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigvalsh] |
| 86 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_power] |
| 87 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.pinv] |
| 88 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.slogdet] |
| 89 | +array_api_tests/test_linalg.py::test_cross |
| 90 | +array_api_tests/test_linalg.py::test_det |
| 91 | +array_api_tests/test_linalg.py::test_eigvalsh |
| 92 | +array_api_tests/test_linalg.py::test_pinv |
| 93 | +array_api_tests/test_linalg.py::test_slogdet |
| 94 | +array_api_tests/test_has_names.py::test_has_names[linalg-cross] |
| 95 | +array_api_tests/test_has_names.py::test_has_names[linalg-det] |
| 96 | +array_api_tests/test_has_names.py::test_has_names[linalg-eigh] |
| 97 | +array_api_tests/test_has_names.py::test_has_names[linalg-eigvalsh] |
| 98 | +array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power] |
| 99 | +array_api_tests/test_has_names.py::test_has_names[linalg-pinv] |
| 100 | +array_api_tests/test_has_names.py::test_has_names[linalg-slogdet] |
| 101 | + |
| 102 | +array_api_tests/test_linalg.py::test_matrix_norm |
| 103 | +array_api_tests/test_linalg.py::test_matrix_rank |
| 104 | + |
| 105 | +# missing mode kw |
| 106 | +# https://github.com/dask/dask/issues/10388 |
| 107 | +array_api_tests/test_linalg.py::test_qr |
| 108 | + |
| 109 | +# Constructing the input arrays fails to a weird shape error... |
| 110 | +array_api_tests/test_linalg.py::test_solve |
| 111 | + |
| 112 | +# missing full_matrics kw |
| 113 | +# https://github.com/dask/dask/issues/10389 |
| 114 | +# also only supports 2-d inputs |
| 115 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.svd] |
| 116 | +array_api_tests/test_linalg.py::test_svd |
| 117 | + |
| 118 | +# Missing dlpack stuff |
| 119 | +array_api_tests/test_signatures.py::test_func_signature[from_dlpack] |
| 120 | +array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__] |
| 121 | +array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__] |
| 122 | +array_api_tests/test_signatures.py::test_array_method_signature[__dlpack_device__] |
| 123 | +array_api_tests/test_signatures.py::test_array_method_signature[to_device] |
| 124 | +array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack] |
| 125 | +array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__] |
| 126 | +array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__] |
| 127 | + |
| 128 | +# Some cases unsupported by dask |
| 129 | +array_api_tests/test_manipulation_functions.py::test_roll |
| 130 | + |
| 131 | +# No mT on dask array |
| 132 | +array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices |
0 commit comments