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

Basic support jax.debug.callback in JAX IPU experimental #18

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

balancap
Copy link
Collaborator

@balancap balancap commented Sep 10, 2023

Using an IPU XLA host custom op to provide a custom MLIR lowering
for debug_callback_p JAX primitive.

The implementation is mostly re-using the XLA CPU callback logic, once
data have been streamed back to the HOST.

@balancap balancap marked this pull request as draft September 10, 2023 10:38
@balancap balancap force-pushed the basic-support-jax-debug-callback branch 2 times, most recently from 065b19f to efb8e27 Compare September 11, 2023 17:02
@balancap balancap changed the title Basic support jax debug callback Basic support jax.debug.callback in JAX IPU experimental Sep 11, 2023
@balancap balancap marked this pull request as ready for review September 11, 2023 17:05
Using an IPU XLA host custom op to provide a custom MLIR lowering
for `debug_callback_p` JAX primitive.

The implementation is mostly re-using the XLA CPU callback logic, once
data have been streamed back to the HOST.
@balancap balancap force-pushed the basic-support-jax-debug-callback branch from efb8e27 to a3c71a3 Compare September 11, 2023 17:23
@balancap balancap merged commit e23130d into jax-v0.3.16-ipu Sep 11, 2023
5 checks passed
@balancap balancap deleted the basic-support-jax-debug-callback branch September 11, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant