Skip to content

Conversation

ysiraichi
Copy link
Collaborator

@ysiraichi ysiraichi commented Aug 28, 2025

This PR removes the implementation of gpu_custom_call. This is in line with the CUDA deprecation that started on release 2.8.

Key Changes:

  • Delete both ops/gpu_custom_call.cpp and ops/gpu_custom_call.h
  • (tensor_methods.{h,cpp}) Remove tensor_methods::gpu_custom_call
  • (ops/xla_ops.{h,cpp}) Remove OpKindWrapper xla_gpu_custom_call global variable
  • (init_python_bindings.cpp) Remove the Python API function _xla_gpu_custom_call
  • (init_python_bindings.cpp) Make XlaCustomCall function into a TPU specific function TpuCustomCall

@ysiraichi ysiraichi force-pushed the ysiraichi/remove-gpu_custom_call branch from 03f04ea to 5cfc76e Compare August 28, 2025 15:43
Copy link
Collaborator

@zhanyong-wan zhanyong-wan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

Copy link
Collaborator

@ghpvnist ghpvnist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ysiraichi ysiraichi merged commit 763e5b7 into master Aug 29, 2025
30 of 31 checks passed
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.

3 participants