Is there a version of the rotary embedding with unpadded inputs

I can see that this one working with flash attention is only for padded inputs.