Skip to content
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

when try to use flash_attention_v2, not find _prepare_4d_causal_attention_mask_for_sdpa #40

Open
dongdk opened this issue Nov 6, 2024 · 0 comments

Comments

@dongdk
Copy link

dongdk commented Nov 6, 2024

after installing the flash_attn and run the scorer.py script, meet the problem:

NameError: name '_prepare_4d_causal_attention_mask_for_sdpa' is not defined. Did you mean: '_prepare_4d_causal_attention_mask'?

any idea to solve it?

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

No branches or pull requests

1 participant