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

Refactor Jax FFI lowering to prepare for implementing CPU/GPU callbacks using XLA's FFI. #26168

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

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 28, 2025

Refactor Jax FFI lowering to prepare for implementing CPU/GPU callbacks using XLA's FFI.

  • This refactor just moves code around and should have no impact on tests or public-facing APIs.
  • mlir.emit_python_callback would eventually depend on ffi.ffi_lowering, which in turn depends on definitions in mlir.py. We break this circular dependency.

@copybara-service copybara-service bot force-pushed the test_720649341 branch 7 times, most recently from aa1c040 to ece52b5 Compare February 18, 2025 18:03
…ks using XLA's FFI.

- This refactor just moves code around and should have no impact on tests or public-facing APIs.
- `mlir.emit_python_callback` would eventually depend on `ffi.ffi_lowering`, which in turn depends on definitions in `mlir.py`. We break this circular dependency.

PiperOrigin-RevId: 720649341
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