Good to hear you’ve figured it out!
However, there seems to be another small issue in your code.
nn.CrossEntropyLoss expects raw logits as the model output, since internally F.log_softmax will be applied on them. Currently both models use nn.Softmax at their output, which might slow down the training significantly or just completely stop it.
Could you just remove the nn.Softmax and run your models again?