Skip to content

Move _xla_register_custom_call_target implementation into PjRtComputationClient#7801

Merged
JackCaoG merged 3 commits intomasterfrom
wcromar/refactor-register-custom-call
Aug 2, 2024
Merged

Move _xla_register_custom_call_target implementation into PjRtComputationClient#7801
JackCaoG merged 3 commits intomasterfrom
wcromar/refactor-register-custom-call

Conversation

@will-cromar
Copy link
Copy Markdown
Collaborator

This depends closely on implementation details of PjRtComputationClient, so move it behind ComputationClient API. IFRT remains unimplemented.

@will-cromar will-cromar requested a review from JackCaoG August 2, 2024 17:00
@will-cromar will-cromar marked this pull request as ready for review August 2, 2024 17:00
next = next->next;
}
if (next == nullptr) {
return;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

shouldn't we throw a warning message or something for registration failure?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, you're right. I meant to go back to this and forgot.

@JackCaoG JackCaoG merged commit 7135a7e into master Aug 2, 2024
@JackCaoG JackCaoG deleted the wcromar/refactor-register-custom-call branch August 2, 2024 21:54
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.

2 participants