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

misc: Remove duplicate param set in MLA kernel #850

Merged
merged 1 commit into from
Feb 16, 2025
Merged

Conversation

MasterJH5574
Copy link
Collaborator

This PR removes the duplicate set of params.kv_indices in the MLA kernel.

This PR removes the duplicate set of `params.kv_indices` in the MLA kernel.
@MasterJH5574
Copy link
Collaborator Author

MasterJH5574 commented Feb 16, 2025

Duplicate in a few lines below:

params.kv_indices = static_cast<IdType*>(kv_indices.data_ptr());
params.q_indptr = GetPtrFromBaseOffset<IdType>(int_buffer_ptr, plan_info.q_indptr_offset);
params.kv_indptr = GetPtrFromBaseOffset<IdType>(int_buffer_ptr, plan_info.kv_indptr_offset);
params.kv_indices = static_cast<IdType*>(kv_indices.data_ptr());

@zhyncs zhyncs merged commit 55b75d8 into main Feb 16, 2025
@zhyncs zhyncs deleted the mla-duplicate-param-set branch February 16, 2025 07:22
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