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

ggml : add support for multiple ids rows in ggml_mat_mul_id #643

Closed
wants to merge 3 commits into from

Conversation

slaren
Copy link
Member

@slaren slaren commented Dec 8, 2023

No description provided.

@slaren slaren changed the title ggml : add support multiple ids rows in ggml_mat_mul_id ggml : add support for multiple ids rows in ggml_mat_mul_id Dec 8, 2023
[encoder setBuffer:id_src0 offset:offs_src0 atIndex:0];
[encoder setBuffer:id_src1 offset:offs_src1 atIndex:1];
[encoder setBuffer:id_dst offset:offs_dst atIndex:2];
const int64_t _ne1 = 1; // kernel_mul_mm_impl needs a reference in constant memory
Copy link
Member

Choose a reason for hiding this comment

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

I will figure out this later - likely there will be additional changes to this OP to make it support mat-vec as well

@slaren
Copy link
Member Author

slaren commented Dec 11, 2023

The changes in this PR have been integrated in ggml-org/llama.cpp#4406

@slaren slaren closed this Dec 11, 2023
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