Skip to content

Cache device on PJRT_Buffer. #29000

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

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

Cache device on PJRT_Buffer. #29000

wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Cache device on PJRT_Buffer.

This improves the performance of the PJRT C sandwich since repeated calling of this error check is slow.

This improves the performance of the PJRT C sandwich since repeated calling of [this error check](https://github.com/openxla/xla/blob/f34fa3cdd91a680d8e1b04ea938c074f13b48283/xla/python/pjrt_ifrt/pjrt_array.cc#L98) is slow.

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