-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JAX internal functions must take a non-empty core.DebugInfo
.
#26480
Labels
better_errors
Improve the error reporting
Comments
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See jax-ml/jax#26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See jax-ml/jax#26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See jax-ml/jax#26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See jax-ml/jax#26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See jax-ml/jax#26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 12, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 12, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 725953448
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
See #26480. PiperOrigin-RevId: 726437113
copybara-service bot
pushed a commit
to jax-ml/oryx
that referenced
this issue
Feb 13, 2025
See jax-ml/jax#26480. PiperOrigin-RevId: 726437113
copybara-service bot
pushed a commit
that referenced
this issue
Feb 13, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 14, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 725512692
copybara-service bot
pushed a commit
that referenced
this issue
Feb 14, 2025
Now all internal uses of lu.wrap_init and core.Jaxpr are with actual debug info. This enables us to clean up the type declarations and to remove the checks whether debug_info is present. For usage outside of the JAX internals, we change `jax.extend.linear_util.wrap_init` to be usable without debug_info, for temporary backwards compatibility. We emit a deprecation warning and fill-in some fake debugging info. See #26480 for more details. PiperOrigin-RevId: 726770483
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
As part of improving JAX error messages we ensure that a
core.DebugInfo
object is passed to all calls tolinear_util.wrap_init
and to thecore.Jaxpr
constructor. We have made the necessary changes into the JAX core code base (e.g., #26078, #26313, #26348, and several other PRs).There are still a number of other projects that invoke directly these functions (and other helper functions that now must take
core.DebugInfo
). Note that only JAX-internal functions take acore.DebugInfo
; this change does not affect projects that use only public APIs.For a limited time, a
DeprecationWarning
is printed ifjax.extend.linear_util.wrap_init
is used without debugging info.To obtain a
core.DebugInfo
, one can callapi_util.debug_info
, or retrieve thedebug_info
fields oflu.WrappedFun
orcore.Jaxpr
.System info (python version, jaxlib version, accelerator, etc.)
N/A
The text was updated successfully, but these errors were encountered: