You might want to consider creating batches where all sequences within one batch have the same length. No need for padding or packing; see this older post 52. It’s simply convenient, and I use it all the time.