How to train neural network on audio with varying lengths

I cant load more than 1 sample with dataloader and even with that i get RuntimeError: mat1 and mat2 shapes cannot be multiplied

The simplest approach would be to pad the samples to the longest length you intend to use with the model