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

[Feature] Supporting arbitrary map operations in GGML #875

Closed
KerfuffleV2 opened this issue Apr 10, 2023 · 1 comment
Closed

[Feature] Supporting arbitrary map operations in GGML #875

KerfuffleV2 opened this issue Apr 10, 2023 · 1 comment

Comments

@KerfuffleV2
Copy link
Collaborator

Proof of concept patch in #874 which adds MAP_UNARY and MAP_BINARY operations that can take a function pointer which is applied similarly to ggml_vec_add_f32 and friends.

Is this something that could potentially get included? It would enable projects or llama.cpp to support a larger range of models pretty easily because at least the simple version of an operation that GGML doesn't support could be used without having to make modifications to GGML itself.

One example is RWKV which requires several operations that GGML doesn't support.

@KerfuffleV2
Copy link
Collaborator Author

Completed by #874.

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

No branches or pull requests

1 participant