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

Added support for GGML_OP_CLAMP in Metal #6662

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

dave-fl
Copy link
Contributor

@dave-fl dave-fl commented Apr 13, 2024

First go at addressing issue. There is a built in clamp so if that should be used instead let me know.

Closes #6660.

@dave-fl dave-fl closed this Apr 13, 2024
@dave-fl dave-fl deleted the add-metal-op-clamp branch April 13, 2024 16:32
@dave-fl dave-fl restored the add-metal-op-clamp branch April 13, 2024 17:41
@dave-fl dave-fl reopened this Apr 13, 2024
@phymbert phymbert mentioned this pull request Apr 13, 2024
13 tasks
@phymbert phymbert merged commit 422c2af into ggerganov:master Apr 14, 2024
56 checks passed
tybalex pushed a commit to rubra-ai/tools.cpp that referenced this pull request Apr 17, 2024
* Added support for GGML_OP_CLAMP in Metal

* Corrected size

---------

Co-authored-by: dave-fl <dave@Davids-MacBook-Pro.local>
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.

support op clamp in backend metal
3 participants