Skip to content

Commit fc87dfd

Browse files
committed
doc nit
1 parent c24f7d9 commit fc87dfd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/array_api_extra/_lib/_lazy.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,8 @@ def lazy_raise( # numpydoc ignore=SA04
426426
Notes
427427
-----
428428
This function will raise if the :doc:`jax:transfer_guard` is active and `cond` is
429-
a JAX array on a non-CPU device.
429+
a JAX array on a non-CPU device
430+
(`jax-ml/jax#25995 <https://github.com/jax-ml/jax/issues/25998>`_).
430431
"""
431432

432433
def _lazy_raise(x: Array, cond: Array) -> Array: # numpydoc ignore=PR01,RT01
@@ -523,6 +524,10 @@ def lazy_warn( # type: ignore[no-any-explicit] # numpydoc ignore=SA04,PR04
523524
524525
Notes
525526
-----
527+
This function will raise if the :doc:`jax:transfer_guard` is active and `cond` is
528+
a JAX array on a non-CPU device
529+
(`jax-ml/jax#25995 <https://github.com/jax-ml/jax/issues/25998>`_).
530+
526531
On Dask, the warning is typically going to appear on the log of the
527532
worker executing the function instead of on the client.
528533
"""

0 commit comments

Comments
 (0)