ggml : ggml_flash_attn_ext() support ALiBi (CPU)
This commit is contained in:
parent
d0592d495d
commit
166e60bf9b
3 changed files with 25 additions and 11 deletions
3
ggml.h
3
ggml.h
|
@ -1731,7 +1731,8 @@ extern "C" {
|
|||
struct ggml_tensor * k,
|
||||
struct ggml_tensor * v,
|
||||
struct ggml_tensor * mask,
|
||||
float scale);
|
||||
float scale,
|
||||
float max_bias);
|
||||
|
||||
GGML_API void ggml_flash_attn_ext_set_prec(
|
||||
struct ggml_tensor * a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue