Skip to content

Commit 48c8b1c

Browse files
committed
create_diagonal and sinc under jax.jit
1 parent 06b28b6 commit 48c8b1c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: tests/test_funcs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@
3131

3232
lazy_xp_function(atleast_nd, static_argnames=("ndim", "xp"))
3333
lazy_xp_function(cov, static_argnames="xp")
34-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
35-
lazy_xp_function(create_diagonal, jax_jit=False, static_argnames=("offset", "xp"))
34+
lazy_xp_function(create_diagonal, static_argnames=("offset", "xp"))
3635
lazy_xp_function(expand_dims, static_argnames=("axis", "xp"))
3736
lazy_xp_function(kron, static_argnames="xp")
3837
lazy_xp_function(nunique, static_argnames="xp")
3938
lazy_xp_function(pad, static_argnames=("pad_width", "mode", "constant_values", "xp"))
4039
# FIXME calls in1d which calls xp.unique_values without size
4140
lazy_xp_function(setdiff1d, jax_jit=False, static_argnames=("assume_unique", "xp"))
42-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
43-
lazy_xp_function(sinc, jax_jit=False, static_argnames="xp")
41+
lazy_xp_function(sinc, static_argnames="xp")
4442

4543

4644
@pytest.mark.xfail_xp_backend(Backend.SPARSE, reason="no expand_dims")

0 commit comments

Comments
 (0)