eTuDpy:

pytorch_forecasting


Since the pytorch_forecasting library is not maintained by the PyTorch team, you may get a better response if you ask this question in their repository/forum.
DataLoader does allow you to pass in a custom batch_sampler, which will allow you to specify how your sampling process work and get 10 minutes of input data at a time. You can find more details on this page torch.utils.data — PyTorch 1.10 documentation 1.