You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Megatron do not pass attention mask to flash attention, but when setting "--reset-position-ids", different inputs have different attention masks.
Does Megatron support this case?
Also, can we open sequence parallel when setting "--reset-position-ids"?
The text was updated successfully, but these errors were encountered:
It seems --reset-position-ids doesn't work with flash attention. I checked flash attention's API, it supports causal attention mask only, not custom attention masks.
It seems that Megatron do not pass attention mask to flash attention, but when setting "--reset-position-ids", different inputs have different attention masks.
Does Megatron support this case?
Also, can we open sequence parallel when setting "--reset-position-ids"?
The text was updated successfully, but these errors were encountered: