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 flash-attn >2.6.1, use context parallel will cause error #1467

Open
south-ocean opened this issue Feb 9, 2025 · 1 comment
Open

When flash-attn >2.6.1, use context parallel will cause error #1467

south-ocean opened this issue Feb 9, 2025 · 1 comment
Assignees

Comments

@south-ocean
Copy link

In llama3, when i open the --context-parallel-size, TE will report error:

Image

IN te, softmax_lse_per_step and softmax_lse come from _flash_attn_forward, But when fa>2.6, the softmax_lse_per_step_resize from 3 dimension to 2 dimension, So te can not through this api,Do te support context parallel with fa>2.6 ?

Image

Image

@ptrendx
Copy link
Member

ptrendx commented Feb 14, 2025

@cyanguwa could you take a look?

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

3 participants