openxla / xla

A machine learning compiler for GPUs, CPUs, and ML accelerators
Apache License 2.0
2.64k stars 418 forks source link

[XLA:CPU] Copy DLPack-managed tensor if memory is not aligned to XLA's requirements #17920

Closed copybara-service[bot] closed 1 week ago

copybara-service[bot] commented 1 week ago

[XLA:CPU] Copy DLPack-managed tensor if memory is not aligned to XLA's requirements

This behavior is consistent with the behavior in other contexts, for example the buffer_from_pyval function.

google-cla[bot] commented 1 week ago

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.