You should pass the input as [seq_len, batch_size, features] in the default setup or [batch_size, seq_len, features] if you specify batch_first=True.
In your case using the default shape this would be [1280000, batch_size, 2].