ggml : add ggml_flash_attn_ext_get_prec

This commit is contained in:
Georgi Gerganov 2024-11-06 15:09:47 +02:00
parent 76c6e7f105
commit 25e877309a
No known key found for this signature in database
GPG key ID: BF970631944C16B7
3 changed files with 17 additions and 5 deletions

View file

@ -1746,6 +1746,9 @@ extern "C" {
struct ggml_tensor * a,
enum ggml_prec prec);
GGML_API enum ggml_prec ggml_flash_attn_ext_get_prec(
const struct ggml_tensor * a);
// TODO: needs to be adapted to ggml_flash_attn_ext
GGML_API struct ggml_tensor * ggml_flash_attn_back(
struct ggml_context * ctx,