Based on the error message it looks like the samples are stacked in dim0 and have apparently a different length (90 vs 89).
Are you loading the samples as [seq_len, batch_size, features]?
Note that the default collate_fn will try to stack the tensors in dim0, which will increase your seq_len, if you are using the aforementioned format.