Skip to content

Commit 448c591

Browse files
committed
create_diagonal and sinc under jax.jit
1 parent 1eead3a commit 448c591

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_funcs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@
2929

3030
lazy_xp_function(atleast_nd, static_argnames=("ndim", "xp"))
3131
lazy_xp_function(cov, static_argnames="xp")
32-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
33-
lazy_xp_function(create_diagonal, jax_jit=False, static_argnames=("offset", "xp"))
32+
lazy_xp_function(create_diagonal, static_argnames=("offset", "xp"))
3433
lazy_xp_function(expand_dims, static_argnames=("axis", "xp"))
3534
lazy_xp_function(kron, static_argnames="xp")
3635
lazy_xp_function(nunique, static_argnames="xp")
3736
lazy_xp_function(pad, static_argnames=("pad_width", "mode", "constant_values", "xp"))
3837
# FIXME calls in1d which calls xp.unique_values without size
3938
lazy_xp_function(setdiff1d, jax_jit=False, static_argnames=("assume_unique", "xp"))
40-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
41-
lazy_xp_function(sinc, jax_jit=False, static_argnames="xp")
39+
lazy_xp_function(sinc, static_argnames="xp")
4240

4341

4442
@pytest.mark.skip_xp_backend(Backend.SPARSE, reason="no expand_dims")

0 commit comments

Comments
 (0)