Train two models in Pytorch

I am new to PyTorch,

I have created single model training with help of

it is working well.

Next, I would like to train() two model parallel, how to create two models and train(), do you have any code reference or resources

Can we use thread or is there any separated method?