Error: The model weights are not tied. Please use the `tie_weights` method before using the `infer_auto_device` function, even after adding model.tie_weights()

I had this same issue, if anything could please answer the OP question that would be super helpful!