Skip to content
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

[better_errors] Continue adding debug info to Jaxprs (step 4) #26384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gnecula
Copy link
Collaborator

@gnecula gnecula commented Feb 7, 2025

This follows after #26078, #26313, #26348, adding debug_info to more calls to lu.wrap_init.

As part of this I have changed the primitive custom_transpose to take the transpose parameter as a lu.WrappedFun, which carries debug info. Previously, this was a Callable.

These changes ensure that all the lu.wrap_init and Jaxpr are called with debug_info in the api_test.py:CustomTransposeTest.

@gnecula gnecula self-assigned this Feb 7, 2025
@gnecula gnecula added the pull ready Ready for copybara import and testing label Feb 7, 2025
@gnecula gnecula force-pushed the debug_info_jaxpr_4 branch from d789758 to d709f32 Compare February 7, 2025 05:17
This follows after jax-ml#26078, jax-ml#26313, jax-ml#26348, adding `debug_info` to more calls to `lu.wrap_init`.

As part of this I have changed the primitive `custom_transpose` to take the `transpose` parameter as a `lu.WrappedFun`, which carries debug info. Previously, this was a `Callable`.

These changes ensure that all the `lu.wrap_init` and `Jaxpr` are called with debug_info in the `api_test.py:CustomTransposeTest`.
@gnecula gnecula force-pushed the debug_info_jaxpr_4 branch from d709f32 to 3150109 Compare February 7, 2025 05:33
@gnecula gnecula requested a review from dfm February 7, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant