Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Parameters changed for "ggml_flash_attn_ext" #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
paulocoutinhox opened this issue Aug 30, 2024 · 3 comments
Open

Parameters changed for "ggml_flash_attn_ext" #384

paulocoutinhox opened this issue Aug 30, 2024 · 3 comments

Comments

@paulocoutinhox
Copy link

Hi,

Im getting this error with latest GGML:

/Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/ggml_extend.hpp:744:15: error: no matching function for call to 'ggml_flash_attn_ext'
        kqv = ggml_flash_attn_ext(ctx, q, k, v, mask, scale, 0);
              ^~~~~~~~~~~~~~~~~~~
In file included from /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/util.cpp:13:
In file included from /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/preprocessing.hpp:4:
In file included from /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/ggml_extend.hpp:23:
In file included from /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/ggml/include/ggml-alloc.h:3:
/Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/ggml/include/ggml.h:1803:35: note: candidate function not viable: requires 8 arguments, but 7 were provided
    GGML_API struct ggml_tensor * ggml_flash_attn_ext(

Thanks.

@SkutteOleg
Copy link
Contributor

Try #378

@paulocoutinhox
Copy link
Author

Thanks, it works.

@SkutteOleg
Copy link
Contributor

Should be fixed by #380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants