[XLA:Python] Add CudaArrayInterfaceToBuffer - #8237
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hi @pearu, can you sign up on this CLA provided below. |
|
@hawkinsp please review. |
penpornk
left a comment
There was a problem hiding this comment.
Thank you for the PR! I have quick formatting comments.
|
Hi @pearu , can you have a look at the comments? Thanks. |
783217e to
a73e3ba
Compare
def4e60 to
f303c2b
Compare
|
@penpornk, this PR is ready for review. |
penpornk
left a comment
There was a problem hiding this comment.
Sorry for the delay and thank you again for the PR!
|
Thank you for the PR, @pearu ! Could you also please update the python xla extension stub file to include cuda_array_interface_to_buffer, i.e. add it around here https://github.com/openxla/xla/blob/main/xla/python/xla_extension/__init__.pyi#L688 |
f303c2b to
d5da61d
Compare
@jvstokes yes, done. |
|
@penpornk could you check why Google internal checks failed? |
|
@pearu It seems the submit was blocked because of some flaky internal tests. I've triggered the submission again now. |
|
@penpornk thanks for checking! Notice that there is a conflict, let me fix that first. |
d5da61d to
b2f5fdc
Compare
penpornk
left a comment
There was a problem hiding this comment.
Thank you for resolving the conflict!
Imported from GitHub PR openxla/xla#8237 As in the title. Required by jax-ml/jax#19233 Copybara import of the project: -- b2f5fdc973f50426ff3dbc9c73e860582c69c0d3 by Pearu Peterson <pearu.peterson@gmail.com>: Add CudaArrayInterfaceToBuffer Merging this change closes #8237 PiperOrigin-RevId: 603666956
As in the title.
Required by jax-ml/jax#19233