How to load sequences with different lengths into PyTorch?

How to load sequences with different lengths into PyTorch?