# How to change the default device of GPU? device\_ids\[0\]

**URL:** <https://discuss.pytorch.org/t/how-to-change-the-default-device-of-gpu-device-ids-0/1041>\
**Category:** Uncategorized\
**Created:** [March 14, 2017, 7:16am UTC](https://discuss.pytorch.org/t/how-to-change-the-default-device-of-gpu-device-ids-0/1041 "2017-03-14T07:16:33Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![SimonW](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/simonw/32/1702_2.png) [@SimonW](https://discuss.pytorch.org/u/SimonW)\
**Post date:** [November 23, 2017, 3:36am UTC](https://discuss.pytorch.org/t/how-to-change-the-default-device-of-gpu-device-ids-0/1041/13 "2017-11-23T03:36:30Z")

</div>

That controls what devices CUDA exposes and PyTorch can’t do nothing in this regards.

---

_[View the full topic](https://discuss.pytorch.org/t/how-to-change-the-default-device-of-gpu-device-ids-0/1041)._
