# How to reach model attributes wrapped by nn.DataParallel?

**URL:** <https://discuss.pytorch.org/t/how-to-reach-model-attributes-wrapped-by-nn-dataparallel/1373>\
**Category:** Uncategorized\
**Created:** [March 26, 2017, 5:45pm UTC](https://discuss.pytorch.org/t/how-to-reach-model-attributes-wrapped-by-nn-dataparallel/1373 "2017-03-26T17:45:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![MrTuo](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/mrtuo/32/4088_2.png) [@MrTuo](https://discuss.pytorch.org/u/MrTuo)\
**Post date:** [December 10, 2018, 1:12pm UTC](https://discuss.pytorch.org/t/how-to-reach-model-attributes-wrapped-by-nn-dataparallel/1373/5 "2018-12-10T13:12:16Z")

</div>

What if I chage the attribute by this way? Will the models on other GPUs change synchronously?

---

_[View the full topic](https://discuss.pytorch.org/t/how-to-reach-model-attributes-wrapped-by-nn-dataparallel/1373)._
