ggml : add ggml_flash_attn_ext_get_prec

This commit is contained in:
Georgi Gerganov 2024-11-06 15:09:47 +02:00
parent 5c333e0140
commit 22a9311a1a
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
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,