FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TST: test var(complex_array) and std(complex_array) by ev-br · Pull Request #437 · data-apis/array-api-tests · GitHub

TST: test var(complex_array) and std(complex_array) - #437

Open
ev-br wants to merge 1 commit into
data-apis:masterfrom
ev-br:var_complex
Open

TST: test var(complex_array) and std(complex_array)#437
ev-br wants to merge 1 commit into
data-apis:masterfrom
ev-br:var_complex

Conversation

ev-br commented Jun 30, 2026
edited
Loading

Copy link
Copy Markdown
Member

Cross-ref data-apis/array-api#1007, tentatively okay'd in the community meeting, https://hackmd.io/zn5bvdZTQIeJmb3RW1B-8g#Meeting-minutes-25-June-2026

Local tests:

  • numpy: $ ARRAY_API_TESTS_MODULE=array_api_compat.numpy pytest array_api_tests/test_statistical_functions.py::test_var --max-examples=10_000 and $ ARRAY_API_TESTS_MODULE=array_api_compat.numpy pytest array_api_tests/test_statistical_functions.py::test_std --max-examples=10_000 both pass.

  • torch: needs ENH: torch: allow complex arguments to var and std array-api-compat#445, then $ ARRAY_API_TESTS_SKIP_DTYPES=uint16,uint32,uint64 ARRAY_API_TESTS_MODULE=array_api_compat.torch pytest array_api_tests/test_statistical_functions.py::test_std --max-examples=10_000 passes

  • cupy : $ ARRAY_API_TESTS_MODULE=array_api_compat.cupy pytest array_api_tests/test_statistical_functions.py::test_std --max-examples=10_000 --disable-deadline passes

  • jax.numpy : $ JAX_ENABLE_X64=true ARRAY_API_TESTS_MODULE=jax.numpy pytest array_api_tests/test_statistical_functions.py::test_std --max-examples=10_000 --disable-deadline passes

  • -strict: needs ENH: allow complex inputs in std and var array-api-strict#214, then $ ARRAY_API_TESTS_MODULE=array_api_strict pytest array_api_tests/test_statistical_functions.py::test_var --max-examples=10_000 passes

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL