File tree 8 files changed +54
-1
lines changed
8 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 17
17
this implementation for the default when working with NumPy arrays.
18
18
19
19
"""
20
- __version__ = '1.8 '
20
+ __version__ = '1.9 '
21
21
22
22
from .common import * # noqa: F401, F403
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ array_api_tests/test_special_cases.py::test_unary[floor(x_i is -0) -> -0]
161
161
array_api_tests/test_special_cases.py::test_unary[log1p(x_i is -0) -> -0]
162
162
array_api_tests/test_special_cases.py::test_unary[round(x_i is -0) -> -0]
163
163
array_api_tests/test_special_cases.py::test_unary[sin(x_i is -0) -> -0]
164
+ array_api_tests/test_special_cases.py::test_unary[signbit(x_i is -0) -> True]
164
165
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is -0) -> -0]
165
166
array_api_tests/test_special_cases.py::test_unary[sqrt(x_i is -0) -> -0]
166
167
array_api_tests/test_special_cases.py::test_unary[tan(x_i is -0) -> -0]
@@ -172,3 +173,10 @@ array_api_tests/test_special_cases.py::test_unary[trunc(x_i is -0) -> -0]
172
173
array_api_tests/test_fft.py::test_fftn
173
174
array_api_tests/test_fft.py::test_ifftn
174
175
array_api_tests/test_fft.py::test_rfftn
176
+
177
+ # 2023.12 support
178
+ # cupy.ndaray cannot be specified as `repeats` argument.
179
+ array_api_tests/test_manipulation_functions.py::test_repeat
180
+ array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
181
+ array_api_tests/test_signatures.py::test_func_signature[astype]
182
+ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.9 (2024-10-??)
4
+
5
+ ### Major Changes
6
+
7
+ - New helper functions to determine if a namespace is from a given library
8
+ ({func}` ~.is_numpy_namespace ` , {func}` ~.is_torch_namespace ` , etc.).
9
+
10
+ - More support for the [ 2023.12 version of the
11
+ standard] ( https://data-apis.org/array-api/latest/changelog.html#v2023-12 ) .
12
+ This includes
13
+ - Wrappers for ` cumulative_sum() ` .
14
+ - Wrappers for ` unstack() ` .
15
+ - Update floating-point type promotion in ` sum() ` , ` prod() ` , and ` trace() `
16
+ to be inline with the 2023.12 specification (32-bit types no longer
17
+ promote to 64-bit when ` dtype=None ` ).
18
+ - Add the [ inspection
19
+ APIs] ( https://data-apis.org/array-api/latest/API_specification/inspection.html )
20
+ to the wrapped namespaces. These can be accessed with
21
+ ` xp.__array_namespace_info__() ` .
22
+ - Various fixes to the ` clip() ` wrappers.
23
+
24
+ - ` torch.conj ` now wrapps ` torch.conj_physical ` , which makes a copy rather
25
+ than setting the conjugation bit, as arrays with the conjugation bit set do
26
+ not support some APIs.
27
+
28
+ - ` torch.sign ` is now wrapped to support complex numbers and propogate nans
29
+ properly.
30
+
31
+ ### Minor Changes
32
+
33
+ - Support for JAX 0.4.32 and newer which implements the array API directly in
34
+ ` jax.numpy ` .
35
+
36
+ - ` hypot ` , ` minimum ` , and ` maximum ` (new in 2023.12) are wrapped in PyTorch to
37
+ support proper scalar type promotion.
38
+
3
39
## 1.8 (2024-07-24)
4
40
5
41
### Major Changes
Original file line number Diff line number Diff line change @@ -256,3 +256,5 @@ array_api_tests/test_searching_functions.py::test_searchsorted
256
256
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
257
257
array_api_tests/test_signatures.py::test_func_signature[astype]
258
258
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
259
+ # uint64 repeats not supported
260
+ array_api_tests/test_manipulation_functions.py::test_repeat
Original file line number Diff line number Diff line change @@ -51,3 +51,5 @@ array_api_tests/test_searching_functions.py::test_searchsorted
51
51
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
52
52
array_api_tests/test_signatures.py::test_func_signature[astype]
53
53
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
54
+ # uint64 repeats not supported
55
+ array_api_tests/test_manipulation_functions.py::test_repeat
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ array_api_tests/test_signatures.py::test_extension_func_signature[linalg.vecdot]
23
23
array_api_tests/test_signatures.py::test_func_signature[astype]
24
24
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
25
25
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
26
+ # uint64 repeats not supported
27
+ array_api_tests/test_manipulation_functions.py::test_repeat
Original file line number Diff line number Diff line change @@ -43,3 +43,5 @@ array_api_tests/test_searching_functions.py::test_searchsorted
43
43
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
44
44
array_api_tests/test_signatures.py::test_func_signature[astype]
45
45
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
46
+ # uint64 repeats not supported
47
+ array_api_tests/test_manipulation_functions.py::test_repeat
Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ mkdir -p $SCRIPT_DIR/.hypothesis
26
26
ln -s $SCRIPT_DIR /.hypothesis .hypothesis
27
27
28
28
export ARRAY_API_TESTS_MODULE=array_api_compat.cupy
29
+ export ARRAY_API_TESTS_VERSION=2023.12
29
30
pytest array_api_tests/ ${PYTEST_ARGS} --xfails-file $SCRIPT_DIR /cupy-xfails.txt " $@ "
You can’t perform that action at this time.
0 commit comments