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

Fixes type annotation overload of dlpack_managed_tensor_to_buffer in python/xla_extension #10433

Closed
wants to merge 1 commit into from

Conversation

Micky774
Copy link
Contributor

Encountered bug in google/jax#20175 (see this comment).

This adjusts the stub file to properly overload dlpack_managed_tensor_to_buffer so that both signatures can be checked against.

@github-actions github-actions bot added the kokoro:force-run Forces CI to rerun label Mar 11, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Forces CI to rerun label Mar 11, 2024
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Mar 12, 2024
…o_buffer` in `python/xla_extension`

Imported from GitHub PR openxla/xla#10433

Encountered bug in google/jax#20175 (see this [comment](google/jax#20175 (comment))).

This adjusts the stub file to properly overload `dlpack_managed_tensor_to_buffer` so that both signatures can be checked against.
Copybara import of the project:

--
75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6 by Meekail Zain <[email protected]>:

Update

Merging this change closes #10433

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10433 from Micky774:type_update 75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6
PiperOrigin-RevId: 615173747
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Mar 14, 2024
…o_buffer` in `python/xla_extension`

Imported from GitHub PR openxla/xla#10433

Encountered bug in google/jax#20175 (see this [comment](google/jax#20175 (comment))).

This adjusts the stub file to properly overload `dlpack_managed_tensor_to_buffer` so that both signatures can be checked against.
Copybara import of the project:

--
75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6 by Meekail Zain <[email protected]>:

Update

Merging this change closes #10433

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10433 from Micky774:type_update 75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6
PiperOrigin-RevId: 615173747
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Mar 14, 2024
…o_buffer` in `python/xla_extension`

Imported from GitHub PR openxla/xla#10433

Encountered bug in google/jax#20175 (see this [comment](google/jax#20175 (comment))).

This adjusts the stub file to properly overload `dlpack_managed_tensor_to_buffer` so that both signatures can be checked against.
Copybara import of the project:

--
75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6 by Meekail Zain <[email protected]>:

Update

Merging this change closes #10433

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10433 from Micky774:type_update 75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6
PiperOrigin-RevId: 615173747
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Mar 15, 2024
…o_buffer` in `python/xla_extension`

Imported from GitHub PR openxla/xla#10433

Encountered bug in google/jax#20175 (see this [comment](google/jax#20175 (comment))).

This adjusts the stub file to properly overload `dlpack_managed_tensor_to_buffer` so that both signatures can be checked against.
Copybara import of the project:

--
75cabb5149b4a0bdd9e819fac0ea6a0ba756bff6 by Meekail Zain <[email protected]>:

Update

Merging this change closes #10433

PiperOrigin-RevId: 615973838
@Micky774 Micky774 deleted the type_update branch March 15, 2024 14:38
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.

5 participants