You need to also pass in future_time_features.
I just got an Informer model to start training and had to solve this problem as well. I figured it out by looking at the library code around where the torch.cat() is being called.
I’m now encountering the rather odd behavior of having negative loss show up during training. I’m quite curious if you encounter the same behavior after your training starts. https://discuss.huggingface.co/t/positive-loss-value-changes-to-negative-loss-while-training-informer-or-timeseriestransformer-model/37304