It depends what you define as a “model” now.
If you want to create nn.Modules, then yes you would have to use the nn namespace, as they are defined there. The same applies for nn.Parameters, but you could also create a tensor and set requires_grad=True. In this case, you wouldn’t use the nn namespace for these operations.