Sparse tensor sampling using the DataLoader

I am trying to collate a batch of sparse tensors using the DataLoader object but i get several errors including:

 'torch.sparse.FloatTensor' object has no attribute 'numel'

Do you know if there is a workaround to make sampling sparse batches possible ?

Thanks!