I notice a related post by Element Research 46 using pure Torch.
Perhaps that would be helpful for those more in-the-know, as far as making the PyTorch implementation match the Torch implementation.  I’m not at the stage where I can do that yet.
I don’t see a Sequencer() layer defined in PyTorch though;  perhaps it’s not necessary.