Skip to content

Conversation

jslhcl
Copy link
Contributor

@jslhcl jslhcl commented May 6, 2024

No description provided.

InitializeHeadMapping(head_mapping_.get(), head_mapping_host.data(), head_mapping_host.size());
}

OrtStatusPtr Compute(Ort::Custom::CUDAKernelContext* ctx, const ortc::Tensor<T>& query, const ortc::Tensor<T>& key,
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want the kernel can support eager execution, you may use OrtxStatus instead of OrtStatusPtr

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