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

feat: add GGML_SET Metal kernel + i32 CPU kernel #1037

Merged
merged 6 commits into from
Dec 4, 2024

Conversation

PABannier
Copy link
Contributor

@PABannier PABannier commented Dec 1, 2024

This PR adds three kernels for the GGML_OP_SET:

  • A CPU kernel for i32 inputs
  • A Metal kernel for f32 inputs
  • A Metal kernel for i32 inputs

This is the final kernel that needs to be upstreamed in order to port Encodec.cpp on the Metal backend.

@ggerganov
Copy link
Owner

We can merge after resolving the conflicts.

@PABannier
Copy link
Contributor Author

This is fixed @ggerganov !

@ggerganov ggerganov merged commit 74d66b6 into ggerganov:master Dec 4, 2024
3 checks passed
@PABannier PABannier deleted the metal_set_i32_kernel branch December 4, 2024 09:11
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