ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-vulkan / vulkan-shaders / geglu_quick.comp
| 1 | #version 450 |
| 2 | |
| 3 | #include "glu_head.glsl" |
| 4 | |
| 5 | const float GELU_QUICK_COEF = -1.702f; |
| 6 | |
| 7 | float op(float a, float b) { |
| 8 | return a * (1.0f / (1.0f + exp(GELU_QUICK_COEF * a))) * b; |
| 9 | } |
| 10 | |
| 11 | #include "glu_main.glsl" |