nn.DataParallel assigns the passed model into the .module attribute and uses it internally to push to the different devices etc.
Accessing this attribute via model.module gives you the initial model back and is used to e.g. store the state_dict without the nn.DataParallel wrapper.
However, if you access this attribute and assign it back to model, you are basically just removing the nn.DataParallel usage.