Skip to main content

FAQs

In the following section, we address common questions and potential issues you might encounter. If your question is not answered here, please feel free to reach out to us by opening an issue on Github.

What is TiRex?

TiRex is a 35M parameter pre-trained time series forecasting model. It is built upon the xLSTM architecture and was developed by NXAI. For a comprehensive overview, please see our dedicated Introduction section.

How many parameters does TiRex have?

TiRex has 35 million (35M) parameters.

Why are my TiRex forecasts running slowly?

If you are experiencing slow forecasts, please check the following:

  • Enable model compilation when loading the model.
  • Use hardware acceleration devices like CUDA (for NVIDIA GPUs) or MPS (for Apple Silicon) whenever possible.
  • For maximum speed, consider using our custom backends.

For detailed instructions on optimization, please refer to the API. If you are interested in optimizing TiRex for dedicated hardware platforms (especially for edge or embedded use cases), please get in touch: contact@nx-ai.com

What is the maximum prediction length (context length) of TiRex?

Currently, TiRex supports a maximum context length of up to 2,048.

We are actively working on a version that supports longer contexts. In the meantime, if you need to forecast longer horizons, you may try downsampling your time series data.

To stay updated on the progress of this feature, please follow this Github issue.

Which data input formats does the framework support?

Out of the box, we support NumPy arrays and PyTorch tensors. To use other popular formats, you can install the respective extras:

  • GluonTS datasets: Install with tirex-ts[gluonts]
  • Hugging Face datasets: Install with tirex-ts[hfdataset]
How can I finetune TiRex on my own data?

Fine-tuning is offered as a commercial service by NXAI. Please get in touch with us directly at contact@nx-ai.com to discuss your needs.