Skip to content

Confine jaxlib's private PyArray layout to a compat layer - #863

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_976649651
Sep 5, 2026
Merged

Confine jaxlib's private PyArray layout to a compat layer#863
copybara-service[bot] merged 1 commit into
mainfrom
test_976649651

Conversation

@copybara-service

Copy link
Copy Markdown

Confine jaxlib's private PyArray layout to a compat layer

  • Add jax_compat.{h,cc} to encapsulate PyArrayObject layout and APIs.
  • Forward GetPjrtBufferFromPyObject and GetIfrtArrayFromPyObject to the compat layer.
  • Isolate jaxlib/py_array.h to jax_compat.cc.

- Add jax_compat.{h,cc} to encapsulate PyArrayObject layout and APIs.
- Forward GetPjrtBufferFromPyObject and GetIfrtArrayFromPyObject to the compat layer.
- Isolate jaxlib/py_array.h to jax_compat.cc.

PiperOrigin-RevId: 976885880
@copybara-service
copybara-service Bot merged commit 3247def into main Sep 5, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_976649651 branch September 5, 2026 23:25
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