Check out the Autoformer blog-post in HuggingFace blog: Yes, Transformers are Effective for Time Series Forecasting (+ Autoformer)

AutoformerConfig
[[autodoc]] AutoformerConfig
AutoformerModel
[[autodoc]] AutoformerModel
    - forward
AutoformerForPrediction
[[autodoc]] AutoformerForPrediction
    - forward