For training forecasting models on multiple time series (and potentially large datasets), you can take a look at Darts [1] and the blog post [2].
[1]: https://github.com/unit8co/darts/
[2]: https://medium.com/unit8-machine-learning-publication/traini...