-
Notifications
You must be signed in to change notification settings - Fork 46
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
[Issue]: Expected dout_seq_stride == out_seq_stride to be true, but got false #40
Comments
The similar error: #41 |
@ehartford, can I have the scripts you are running? |
I will try to define the configuration so you can reproduce it |
+1 https://github.com/ROCm/flash-attention/blob/flash_attention_for_rocm/csrc/flash_attn_rocm/src/params.hpp#L450
and I modified this code to print some logs
and result
|
Running into this as well |
I just discovered it again
|
Hello, I am blocked from using flash attention on ROCm by this bug |
This still happening with ROCm 6.0.2 |
gfx942 mi300x |
I just ran into the same issue (MI250x) when using GPTNeoXForCausalLM from HuggingFace. I could fix it by just making all the inputs contiguous right before the flash-attention call, which I guess is suboptimal but still much better than the torch implementation. |
I will try |
I just submit an PR to support AMD / ROCm on FlashAttention 2 |
I will try this |
cc @danyao12 |
Problem Description
The text was updated successfully, but these errors were encountered: