offgrid-sys 0.2.0

Low-level FFI bindings to llama.cpp (Vulkan/CPU), built from source.
1
2
3
4
5
6
7
8
9
10
11
#version 450

#include "glu_head.glsl"

const float GELU_QUICK_COEF = -1.702f;

float op(float a, float b) {
    return a * (1.0f / (1.0f + exp(GELU_QUICK_COEF * a))) * b;
}

#include "glu_main.glsl"