-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add vulkan backend support (#291)
* Fix includes and init vulkan the same as llama.cpp * Add Windows Vulkan CI * Updated ggml submodule * support epsilon as a parameter for ggml_group_norm --------- Co-authored-by: Cloudwalk <[email protected]> Co-authored-by: Oleg Skutte <[email protected]> Co-authored-by: leejet <[email protected]>
- Loading branch information
1 parent
8847114
commit 2027b16
Showing
7 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ggml
updated
15 files
+18 −0 | include/ggml.h | |
+1 −1 | scripts/sync-llama.last | |
+1 −1 | scripts/sync-whisper.last | |
+8 −0 | src/ggml-cuda.cu | |
+56 −0 | src/ggml-cuda/unary.cu | |
+6 −0 | src/ggml-cuda/unary.cuh | |
+37 −2 | src/ggml-metal.m | |
+14 −0 | src/ggml-metal.metal | |
+35 −1 | src/ggml-rpc.cpp | |
+61 −1 | src/ggml-vulkan.cpp | |
+247 −34 | src/ggml.c | |
+15 −0 | src/vulkan-shaders/cos.comp | |
+15 −0 | src/vulkan-shaders/sin.comp | |
+8 −0 | src/vulkan-shaders/vulkan-shaders-gen.cpp | |
+54 −0 | tests/test-backend-ops.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters